DocumentPro MCP Server

Working with an agent that needs to read documents? DocumentPro is an API-first extraction engine exposed as an MCP server, so any MCP-compatible client — Claude Desktop, Claude Code, Cursor, Windsurf, or your own agent — can discover the extraction tools, read the exact field schema for invoices, purchase orders, receipts, or tax forms, and generate code against real field names instead of guessing. You ship document understanding without building a parsing pipeline.

TRY IT

Paste this into your MCP client

Example prompt
When a user uploads an invoice, extract the vendor name, invoice total, and line items using DocumentPro, then save them to the database and show them in a review table.

With the MCP server connected, the agent calls list_templates and get_schema to get the exact field names, then wires extract_document into your app.

SETUP

Connected in three steps

  1. 1

    Get an API key

    Create a free account and copy your API key from the dashboard. The free tier is enough to build and test the full integration.

  2. 2

    Connect the MCP server

    Add DocumentPro to your client's MCP config (e.g. claude_desktop_config.json, Cursor's MCP settings, or your agent's own config file):

    MCP connection
    Server URL: https://api.documentpro.ai/mcp
    Header:     x-api-key: <your DocumentPro API key>
  3. 3

    Prompt your agent

    Use the example prompt above, or describe your own document flow. Extraction is asynchronous: the agent submits a document, polls for completion, and gets back JSON keyed exactly to the template schema.

UNDER THE HOOD

What your agent can call

extract_document

Submit a file by URL or inline content against a template. Returns a job id; results come back as structured JSON.

check_extraction_status

Poll a job until it completes. Terminal states and error details are explicit, so generated code handles failures cleanly.

list_templates

Discover available extraction templates — invoices, purchase orders, receipts, W-2s, 1099s, and your custom layouts.

get_schema

Fetch the exact field definitions for a template so the agent can generate a matching data model instead of guessing field names.

list_supported_formats

Check which file types and formats DocumentPro can extract from before submitting a document.

Full reference in the API documentation. Building something bigger? Talk to us.

Ready to give your platform document intelligence?

Talk to us about your use case.