doc2json
Pay-per-call MCP tool that turns PDF and DOCX text into JSON, Markdown, and tables
Answered our latest tool-list check 2 days ago with 2 tools. It will be marked verified after 3 successful checks in 7 days.
doc2json is a paid MCP server for files and documents. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Paid
- Platforms
- API
- Runs
- Remotely
- Version
- 0.1.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http doc2json https://mcp.paidtoolindex.com/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"doc2json": {
"type": "http",
"url": "https://mcp.paidtoolindex.com/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://mcp.paidtoolindex.com/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"doc2json": {
"url": "https://mcp.paidtoolindex.com/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"doc2json": {
"type": "http",
"url": "https://mcp.paidtoolindex.com/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://mcp.paidtoolindex.com/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add doc2json --url https://mcp.paidtoolindex.com/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.doc2json]
url = "https://mcp.paidtoolindex.com/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://mcp.paidtoolindex.com/mcpEnter a Name (for example "doc2json"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"doc2json": {
"type": "http",
"url": "https://mcp.paidtoolindex.com/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "doc2json": { "httpUrl": "https://mcp.paidtoolindex.com/mcp" } } }Or run: gemini mcp add -s user --transport http doc2json https://mcp.paidtoolindex.com/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "doc2json": { "serverUrl": "https://mcp.paidtoolindex.com/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "doc2json": { "url": "https://mcp.paidtoolindex.com/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "doc2json": { "type": "streamableHttp", "url": "https://mcp.paidtoolindex.com/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "doc2json": { "url": "https://mcp.paidtoolindex.com/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "doc2json": { "url": "https://mcp.paidtoolindex.com/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "doc2json": { "url": "https://mcp.paidtoolindex.com/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "doc2json": { "url": "https://mcp.paidtoolindex.com/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About doc2json
doc2json reads the embedded text layer of a PDF or Word file and returns it as structured JSON, Markdown, and tables. Its output is aimed at pipelines and AI agents that need document content in a predictable shape rather than raw bytes.
The service is exposed both as an MCP tool and as a plain HTTP endpoint. Each successful convert_document call costs 0.02 USDC on Base, settled through the x402 payment protocol, so a client pays per conversion without creating an account or handling an API key. A free price_info tool reports the current price and limits before any payment is made.
The v1 scope is deliberately narrow: it handles digital text in PDF text objects and DOCX paragraphs and tables. Scanned PDFs and images are rejected, and documents are capped at 2 MiB.
Tools this server provides (2)
Read directly from the server.
Going by the server's labels and the tool names, 1 of 2 tools reads data; 1 name doesn't say.
From the server's own tool labels and tool names; not verified by us.
- convert_documentSays read-only
- Convert a user-supplied PDF or DOCX into structured JSON, Markdown, and tables. v1 reads a digital text layer only; scanned PDFs and images are rejected until OCR is added. Price is 0.02 USDC per successful call on Base.
- price_info
- Free tool: current price, network, payTo, and v1 limits. Does not convert a document.
What it does
- Structured JSON output
- Returns document text organized as JSON for downstream parsing.
- Markdown conversion
- Produces Markdown versions of the extracted content.
- Table extraction
- Pulls DOCX tables and PDF table text into tabular form.
- Pay-per-call billing
- Charges 0.02 USDC per successful conversion via x402 on Base with no account.
- Free price check
- A price_info tool reports current pricing and limits without charging.
Good for
- Feeding contract or report text from PDFs into an LLM pipeline as clean Markdown
- Extracting tables from Word documents into JSON for data processing
- Letting an AI agent read a supplied document without managing API keys
- Batch-converting digital PDFs in an automated workflow with per-call payment
Pricing
Paid
0.02 USDC per successful convert_document call, pay-per-use via x402 on Base
Prices change. Check paidtoolindex.com before you buy.
doc2json FAQ
Does doc2json work on scanned PDFs?
No. Scanned PDFs, photos and other images are rejected because OCR is not included in v1.
What is the maximum file size?
Documents up to 2 MiB are accepted.
How is doc2json paid for?
Each successful convert_document call costs 0.02 USDC on Base mainnet, using the x402 protocol. No account or API key is required.
Can I check the price before paying?
Yes. The price_info MCP tool returns the current price and limits and does not charge.
How do I add doc2json to Claude Code?
Run this command in your terminal: claude mcp add --transport http doc2json https://mcp.paidtoolindex.com/mcp
What are the best alternatives to doc2json?
The closest alternatives to doc2json are Doc_Conv — Document to Markdown, doc-convert-mcp, Docforge, FMF Tools Doc Tools and JSON Canon.
Where this comes from
- Description: written from the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 28 November 2026.
- Install steps: from the official MCP Registry entry.