DocuPipe
v0.1.0Upload documents and extract structured JSON from Claude Code, Codex, Cursor and other MCP clients.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
extract Extract data from a document
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…
| Parameter | Type | Description |
|---|---|---|
citations | boolean | Cite every value to its place on the page (bounding box and confidence). Runs at standard effort, 3 credits/page. |
document_id | string | An already uploaded document, instead of uploading again. |
effort_level | string | Extraction effort. 'standard' (default) is right for most documents; use 'high' only after standard missed or misread values. |
file_path | string | Local file to upload, relative to the working directory. |
guidelines | string | Plain-language extraction instructions. Without a schema they also steer the drafted schema. |
include_field_metadata | boolean | Also return per-field page numbers and, with citations, boxes and confidence. |
json_schema | object | Inline JSON Schema (type object, properties with a description each). Saved as a new schema first, free. |
save_to | string | Optional path to write the extracted JSON to, relative to the working directory. |
schema_id | string | Saved schema to extract with (list_schemas). |
schema_name | string | Name for the schema created from json_schema. |
standardization_id | string | Resume: an extraction already started. Requires standardization_job_id. |
standardization_job_id | string | Resume: the job of standardization_id. |
upload_job_id | string | The upload job of document_id, when resuming. |
url | string | Public URL of the file to upload, instead of file_path. |
upload_document Upload a document
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.
| Parameter | Type | Description |
|---|---|---|
dataset | string | Optional dataset name to group documents. |
file_path | string | Local file, relative to the working directory. |
metadata | object | Optional metadata stored with the document. |
url | string | Public URL of the file, instead of file_path. |
wait | boolean | Wait for parsing to finish (default true). |
get_document Get a document and its parsed text
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.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
include_layout | boolean | Return the full per-page layout (sections, tables, boxes) instead of plain text. |
standardize Extract data from an uploaded document
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.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
citations | boolean | Cite every value to its place on the page (bounding box and confidence). Runs at standard effort, 3 credits/page. |
effort_level | string | Extraction effort. 'standard' (default) is right for most documents; use 'high' only after standard missed or misread values. |
guidelines | string | |
save_to | string | Optional path to write the extracted JSON to, relative to the working directory. |
schema_id | string | Saved schema; omit to have DocuPipe draft one from the document. |
wait | boolean | Wait for the result (default true). |
get_standardization Get an extraction result
Fetch the extracted JSON of a finished standardization. While the extraction is still running this answers not found; wait on its job first. Free.
| Parameter | Type | Description |
|---|---|---|
standardization_id * | string | |
include_field_metadata | boolean | Also return per-field page numbers and, with citations, boxes and confidence. |
save_to | string | Optional path to write the extracted JSON to, relative to the working directory. |
create_schema Create a schema
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.
| Parameter | Type | Description |
|---|---|---|
json_schema * | object | |
schema_name * | string | |
guidelines | string | Plain-language instructions applied whenever this schema is used. |
list_schemas List schemas
List the account's saved schemas (id and name), newest first, to reuse one instead of creating a new one. Free.
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
offset | integer |
list_classes List classes
List the account's classification classes (id, name, description). classify needs class ids from here. Free.
classify Classify a document
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).
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
class_ids | array | Candidate classes (list_classes). Omit to use all classes. |
include_unknown | boolean | Allow 'unknown' when nothing fits (single-class mode). |
instructions | string | |
multi_class | boolean | Allow more than one class per document. |
split_document Split a document
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.
| Parameter | Type | Description |
|---|---|---|
document_id * | string | |
dataset | string | Dataset for the new documents. |
instructions | string | How to split, e.g. 'one document per invoice'. Can also skip parts you don't need. |
list_workflows List workflows
List workflows that run_workflow can start on one document: classic workflows and Architect workflows that are runnable and take a single document. Free.
run_workflow Run a workflow on a document
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.
| Parameter | Type | Description |
|---|---|---|
dataset | string | |
file_path | string | |
metadata | object | |
url | string | |
workflow_id | string | Workflow to run (list_workflows). |
workflow_run_job_id | string | Resume: the run job returned earlier. |
convert_to_excel Convert a document to Excel
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'.
| Parameter | Type | Description |
|---|---|---|
document_id | string | |
file_path | string | |
instructions | string | What the spreadsheet should contain, e.g. which tables or columns to keep. |
save_to | string | Optional local path for the .xlsx file. |
schema_id | string | A schemaId from an earlier conversion, to lay out similar files the same way. |
upload_job_id | string | The upload job of document_id, when resuming. |
url | string |
get_excel_conversion Get an Excel conversion
Check an Excel conversion, wait for it to finish, and optionally save the .xlsx locally. The download link is fresh on every call. Free.
| Parameter | Type | Description |
|---|---|---|
conversion_id * | string | |
save_to | string | Optional local path for the .xlsx file. |
get_job Get a job
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.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
wait_for_jobs Wait for jobs
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.
| Parameter | Type | Description |
|---|---|---|
job_ids * | array | |
max_wait_seconds | integer |