doc2json
Convert a PDF or DOCX text layer into JSON, Markdown, and tables. $0.02 USDC/call via x402 on Base.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"doc2json": {
"url": "https://mcp.paidtoolindex.com/mcp"
}
}
}Remote endpoints
https://mcp.paidtoolindex.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (2)
🟢convert_document(source_url, content_base64, filename, media_type, output)
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.
Input Schema
{
"type": "object",
"properties": {
"source_url": {
"description": "Public http(s) URL of a PDF or DOCX. Do not send both this and content_base64.",
"type": "string"
},
"content_base64": {
"description": "Base64-encoded PDF or DOCX bytes. Prefer this for private documents.",
"type": "string"
},
"filename": {
"description": "Original filename, used to help detect type.",
"type": "string"
},
"media_type": {
"description": "Optional MIME type, for example application/pdf.",
"type": "string"
},
"output": {
"description": "Result shape. Default is both JSON fields and Markdown.",
"type": "string",
"enum": [
"json",
"markdown",
"both"
]
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}⚪price_info
Free tool: current price, network, payTo, and v1 limits. Does not convert a document.
Input Schema
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}Community
Evidence