Are you the author? Sign in to claim
MCP server for 0xPdf — schema-first PDF to structured JSON for AI agents
Schema in → PDF in → JSON out for Claude, Cursor, and other MCP clients.
This stdio MCP server wraps the 0xPdf HTTP API (auth, billing, rate limits intact). Agents can parse invoices/forms into a JSON schema, generate schemas, and poll async jobs.

Playground · Docs / MCP setup · Pricing
pip install oxpdf-mcp
# or
uvx oxpdf-mcp
Get an API key at 0xpdf.io/dashboard.
{
"mcpServers": {
"0xpdf": {
"command": "uvx",
"args": ["oxpdf-mcp"],
"env": {
"PDF_PARSING_API_BASE_URL": "https://api.0xpdf.io",
"PDF_PARSING_API_PREFIX": "api/v1",
"PDF_PARSING_API_KEY": "YOUR_API_KEY",
"PDF_PARSING_ALLOWED_API_HOSTS": "api.0xpdf.io",
"PDF_PARSING_REQUIRE_HTTPS": "true",
"PDF_PARSING_ALLOWED_FILE_ROOTS": "/home/YOU/Downloads:/home/YOU/Documents",
"PDF_PARSING_MCP_DISALLOW_FULL_RESPONSE_MODE": "true"
}
}
}
}
Or with pip:
"command": "oxpdf-mcp"
| Tool | Purpose |
|---|---|
parse_pdf_sync | Schema-first sync parse |
parse_pdf_stream | Streaming parse (SSE) |
submit_parse_job / wait_for_job_completion | Async jobs |
list_schemas / create_schema | Saved schemas |
generate_schema_from_description | AI schema generation (wallet debit) |
get_pricing_current | Balance / pricing |
health_check | Liveness |
Full list and env vars: see source oxpdf_mcp/server.py and docs.
| Variable | Default | Notes |
|---|---|---|
PDF_PARSING_API_KEY | — | Required for authenticated tools |
PDF_PARSING_API_BASE_URL | https://api.0xpdf.io | Production API |
PDF_PARSING_ALLOWED_API_HOSTS | — | Required in production (api.0xpdf.io) |
PDF_PARSING_REQUIRE_HTTPS | false | Set true for production |
PDF_PARSING_ALLOWED_FILE_ROOTS | CWD | Colon-separated absolute paths for pdf_path |
oxpdf@0xpdf/clientMIT
Run Claude Code as an MCP server so any agent can delegate coding tasks to it
Browser automation using accessibility snapshots instead of screenshots
Google's universal MCP server supporting PostgreSQL, MySQL, MongoDB, Redis, and 10+ databases
Official GitHub integration for repos, issues, PRs, and CI/CD workflows