Skip to main content
Glama
DocuPipe MCP server

DocuPipe MCP server

Official
by DocuPipe

DocuPipe MCP server

Use DocuPipe from Claude Code, Codex, Cursor and other MCP clients. Ask your agent to "pull the line items out of these invoices" and it uploads the files, extracts the fields you named and saves the JSON, in one tool call per file.

Setup

  1. Sign up and copy your API key from the Developers card on the Settings page.

  2. Add the server to your client, replacing your-api-key. Node.js 18 or newer is required.

Claude Code

claude mcp add docupipe --scope user -e DOCUPIPE_API_KEY=your-api-key -- npx -y @docupipe/mcp

Codex

codex mcp add docupipe --env DOCUPIPE_API_KEY=your-api-key -- npx -y @docupipe/mcp

Cursor: open this link to install, then replace your-api-key in Cursor's MCP settings:

cursor://anysphere.cursor-deeplink/mcp/install?name=docupipe&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBkb2N1cGlwZS9tY3AiXSwiZW52Ijp7IkRPQ1VQSVBFX0FQSV9LRVkiOiJ5b3VyLWFwaS1rZXkifX0=

Or add it by hand. Cursor and other clients that use an mcp.json file:

{
  "mcpServers": {
    "docupipe": {
      "command": "npx",
      "args": ["-y", "@docupipe/mcp"],
      "env": { "DOCUPIPE_API_KEY": "your-api-key" }
    }
  }
}

Then ask, for example:

Use DocuPipe to extract the invoice number, date, vendor and line items from every PDF in ./invoices and save one JSON file per invoice.

Related MCP server: AnyDoc

Tools

Tool

What it does

extract

File or URL in, structured JSON out: uploads, extracts with a saved schema, an inline JSON Schema or a schema DocuPipe drafts, waits, and can save the result

upload_document

Upload a local file or URL and wait for it to be read

get_document

Status, page count and parsed text of a document

standardize

Extract from an already uploaded document

get_standardization

Fetch an extraction result

create_schema, list_schemas

Save a JSON Schema, or reuse one the account already has

list_classes, classify

Classify a document into the account's classes

split_document

Split a file into sub-documents, with AI choosing where each one starts

list_workflows, run_workflow

Run a saved workflow on a file

convert_to_excel, get_excel_conversion

Turn a document into an .xlsx workbook without a schema, and save it locally

get_job, wait_for_jobs

Check or wait on any job

Each call returns within about 45 seconds. When DocuPipe needs longer, the tool returns status: "processing" with every id created so far and the exact call to resume with. Resuming never uploads or extracts a second time.

Credits

Tools use credits from your DocuPipe account. Upload is 1 credit per page for PDF, image, Word and HTML files (CSV, Excel, JSON, text and XML are free to upload). Extraction is 2 credits per page at standard effort and 4 at high effort. See credits and billing for every operation.

Configuration

Variable

DOCUPIPE_API_KEY

Required. Your API key.

DOCUPIPE_BASE_URL

Optional. Overrides the API address. Defaults to https://app.docupipe.ai.

Relative file paths resolve against the directory the server was started in, which for most clients is your project folder. Local files up to 100 MB are supported; pass a URL for larger files. Results larger than about 40,000 characters are written to docupipe-results/ in that folder and the tool returns the path with a preview.

License

MIT

Available Tools

16 tools
classifyClassify a documentB

Classify one uploaded document into the account's classes and wait for the answer. Credits: 0.1/page, rounded up per document (at least 1).

Inputs: document_id (required), class_ids, multi_class, instructions, +1 more.

convert_to_excelConvert a document to ExcelA

Turn a document into an .xlsx workbook without a schema (one sheet per table). Takes a local file, URL or document_id, waits for the workbook and can save it locally. Credits: upload, plus 2/page for the conversion. Resume with the call in 'next'.

Inputs: url, save_to, file_path, schema_id, +3 more.

create_schemaCreate a schemaB

Save a JSON Schema as a DocuPipe schema so every extraction returns the same fields. Free. Use type object with a description on each property; arrays of objects for line items.

Inputs: json_schema (required), schema_name (required), guidelines.

extractExtract data from a documentA

One call from a file to structured JSON: uploads a local file or URL (or reuses a document_id), runs a DocuPipe extraction, waits and returns the extracted data. Pass schema_id to reuse a saved schema, json_schema to define the fields inline, or neither to let DocuPipe draft a schema from the document (its schemaId comes back so later calls give the same fields). If it returns status 'processing', call the tool in 'next' to resume; it never uploads or extracts twice. Credits: upload 1/page for PDF, image, Word and HTML (CSV, Excel, JSON, text and XML upload free); extraction 2/page at standard effort, 4/page at high effort, 3/page with citations (always standard effort). Without a schema, drafting one costs 1 credit per page on at most the first 5 pages. Creating a schema from json_schema is free.

Inputs: url, save_to, citations, file_path, +10 more.

get_documentGet a document and its parsed textA
Read-only

Fetch a document's processing status, page count and parsed text (tables as markdown). Set include_layout for per-page sections with bounding boxes. Free.

Inputs: document_id (required), include_layout.

get_excel_conversionGet an Excel conversionA

Check an Excel conversion, wait for it to finish, and optionally save the .xlsx locally. The download link is fresh on every call. Free.

Inputs: conversion_id (required), save_to.

get_jobGet a jobA
Read-only

Fetch one job's status, type, error message and results (for split, classify and workflow jobs). A job in error is returned as a tool error. Free.

Inputs: job_id (required).

get_standardizationGet an extraction resultA
Read-only

Fetch the extracted JSON of a finished standardization. While the extraction is still running this answers not found; wait on its job first. Free.

Inputs: standardization_id (required), save_to, include_field_metadata.

list_classesList classesA
Read-only

List the account's classification classes (id, name, description). classify needs class ids from here. Free.

Inputs: no named parameters.

list_schemasList schemasA
Read-only

List the account's saved schemas (id and name), newest first, to reuse one instead of creating a new one. Free.

Inputs: limit, offset.

list_workflowsList workflowsA
Read-only

List workflows that run_workflow can start on one document: classic workflows and Architect workflows that are runnable and take a single document. Free.

Inputs: no named parameters.

run_workflowRun a workflow on a documentA

Upload a local file or URL with a workflow attached and, for Architect workflows, wait for the run's outputs. Classic workflows return the ids of the jobs they started (use wait_for_jobs, then get_standardization). Credits: the upload plus each step the workflow runs. Resume an Architect run with workflow_run_job_id.

Inputs: url, dataset, metadata, file_path, +2 more.

split_documentSplit a documentA

Split one uploaded document into sub-documents, with AI deciding where each one starts, and wait for the new document ids. Credits: 0.2/page, rounded up.

Inputs: document_id (required), dataset, instructions.

standardizeExtract data from an uploaded documentA

Run an extraction (standardization) on one uploaded, fully processed document and wait for the result. Use extract instead when starting from a file. Credits: upload 1/page for PDF, image, Word and HTML (CSV, Excel, JSON, text and XML upload free); extraction 2/page at standard effort, 4/page at high effort, 3/page with citations (always standard effort). Without a schema, drafting one costs 1 credit per page on at most the first 5 pages. Creating a schema from json_schema is free.

Inputs: document_id (required), wait, save_to, citations, +3 more.

upload_documentUpload a documentA

Upload a local file or URL to DocuPipe and wait for it to be read (OCR and parsing). Returns the document_id used by every other tool. Credits: 1/page for PDF, image, Word and HTML; CSV, Excel, JSON, text and XML upload free.

Inputs: url, wait, dataset, metadata, +1 more.

wait_for_jobsWait for jobsA
Read-only

Wait until the listed jobs finish (any job type) and report each one's status. Returns early when all are done or one fails; call again if some are still processing. An id that stays 'unknown' may be wrong or belong to another account (check it with get_job). Free.

Inputs: job_ids (required), max_wait_seconds.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools target distinct steps of the pipeline, and descriptions explicitly resolve the main overlaps (extract vs upload_document+standardize, get_standardization vs get_job/wait_for_jobs). Some residual ambiguity remains among the result-fetching tools (get_standardization, get_job, wait_for_jobs, get_excel_conversion), which all 'retrieve job output' in slightly different ways. An agent can still pick correctly by following the stated sequencing guidance.

    Naming Consistency4/5

    All names are lower snake_case, which is consistent and readable. The pattern is mostly verb_noun (upload_document, get_document, list_schemas, run_workflow), with a few bare verbs (extract, standardize, classify) that lack the resource noun but remain unambiguous. Minor deviation only.

    Tool Count4/5

    16 tools for a document-extraction platform covering upload, extraction, schemas, classification, splitting, workflows, Excel conversion and job polling is reasonable and each tool maps to a distinct capability. It sits just above the ideal 3-15 range, and a couple of job-polling tools could arguably be folded together. No obvious filler tools.

    Completeness4/5

    The end-to-end extraction lifecycle is well covered: upload, extract, retrieve text/results, schemas, classify, split, workflows, Excel export and job waiting. Gaps are minor: no delete_document or delete/update schema, and classes are read-only (list_classes with no create_class), but these are manageable via the web console rather than blocking agent workflows.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables document conversion and processing through MCP, including Office/PDF/Markdown conversions, OCR, and PDF operations like split, rotate, encrypt, and extract.
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables PDF conversion to DOC, merging multiple PDFs, reading document properties, and bundled storage file operations for complete upload-process-download workflows through MCP.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables MCP clients to connect document sources, prepare searchable documents, and run RAG-ready lexical, vector, or hybrid search with account-scoped document access.
      31 PyPI
      BSD 3-Clause