Skip to main content

0xPdf MCP

PyPI MCP

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.

0xPdf — schema in, PDF in, JSON out

Playground · Docs / MCP setup · Pricing

Install

pip install oxpdf-mcp
# or
uvx oxpdf-mcp

Get an API key at 0xpdf.io/dashboard.

Cursor / Claude Desktop

{
  "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"

Tools (selected)

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.

Env

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

SDKs (non-MCP)

License

MIT

Metadata

Release files for oxpdf-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oxpdf-mcp 0.1.0
File Size Uploaded Provenance
oxpdf_mcp-0.1.0.tar.gz 15.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for oxpdf-mcp 0.1.0
File Interpreter ABI Platform
oxpdf_mcp-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / oxpdf_mcp-0.1.0.tar.gz

Download URL oxpdf_mcp-0.1.0.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
089fc9abea8097406a971dc19ab16816ad9d61e119c6edb78dd9b86101fd75c1
BLAKE2b-256 checksum
How to use checksums
73768a7682ddb689b4783bbaf35d0beaf1a324347a987229f2981e40021e4aac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.

Transparency log

Release files / oxpdf_mcp-0.1.0-py3-none-any.whl

Download URL oxpdf_mcp-0.1.0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7fecdcf3c04a70755f2cfac9eec1e6d714e8884a38ac99f594cb7f896d7ff912
BLAKE2b-256 checksum
How to use checksums
6a41c1776bcc107be5f401281418d826a5974005be24583ab76fa660d78b9475
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.

Transparency log

Security for oxpdf-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for oxpdf_mcp-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page