# Suparse Document Processing [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/suparse/suparse-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 532  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/suparse-document-processing

## Description
Extract structured data from PDFs and documents with Suparse AI OCR.

## Tools
Capabilities this server exposes over MCP:

- **extract_file** — Process one local document through Suparse. Defaults to result_mode defer, which uploads and polls only, then returns compact task_id/document_ids for later download_results. Use result_mode return_json only when you need the full JSON extraction in the MCP response. cleanup is only valid with return_json.
- **extract_folder** — Process all supported files in an immediate local folder through Suparse. Defaults to result_mode defer, which uploads and polls only, then returns compact task_id/document_ids for later download_results. Use result_mode return_json only when you need full JSON extractions in the MCP response. cleanup is only valid with return_json.
- **list_templates** — List extraction templates for choosing an extraction template. Summary view is the default; use full view only when schema, prompt, or validation details are needed. Agents must use team_templates for processing. System templates are discovery-only in MCP: if a matching system template exists but no matching team template exists, ask the user to add that system template to their templates in the Suparse UI before processing. If no matching team or system template exists, ask the user to create a custom extraction schema for that document type in the Suparse UI.
- **start_quick_schema_creation** — Start automatic schema creation for one local document. Returns a normalized run_id and the SDK result. Use get_quick_schema_creation or wait_for_quick_schema_creation to follow the run. Supply upload_batch_id and source_upload_id only when an external batched-upload workflow provides them.
- **get_quick_schema_creation** — Fetch the current automatic schema creation status for a run ID. Returns the raw typed SDK result together with the requested run_id.
- **wait_for_quick_schema_creation** — Poll an automatic schema creation run until it reaches completed, completed_with_errors, or failed. The terminal result preserves generated template IDs, saved documents, failed-document details, and retryability.
- **fetch_json_results** — Fetch JSON extraction results for one or more Suparse document IDs directly in the MCP response. This can be large; use only when you need the full JSON in context. For CSV, XLSX, Google Sheets, or saved JSON files, use download_results. If you need cleanup after fetching, call delete_documents after this tool succeeds.
- **fetch_document_result** — Fetch the structured JSON result for one processed Suparse document using the direct single-document result endpoint. Use fetch_json_results when fetching multiple document IDs or an export selection.
- **download_results** — Fetch an export for one or more Suparse document IDs and write it directly to local disk. Use this for CSV, XLSX, Google Sheets, and saved JSON files. Do not call fetch_json_results unless you intentionally need full JSON in the MCP response. If output_path is a directory, the API-provided filename is used inside that directory. If cleanup is needed, call delete_documents after this tool succeeds.
- **delete_documents** — Delete one or more documents from Suparse by document ID.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "suparse-document-processing": {
    "command": "npx",
    "args": ["-y","@suparse/mcp"],
    "env": {
      "SUPARSE_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `SUPARSE_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Suparse Document Processing does

Suparse Document Processing MCP server exposes document-processing operations through a local stdio MCP process. It sends local files to the Suparse Document Processing API, which uses AI OCR to produce structured data. The server supports single documents, immediate local folders, encrypted PDFs, mixed multi-page documents, automatic schema detection, and team extraction templates.

The result workflow separates processing from retrieval. By default, extraction tools return a compact task ID and document IDs after uploading and polling. Agents can later fetch JSON in the MCP response or write an export directly to disk. This approach is useful when full extraction output would be too large for the model context.

## How it works

`extract_file` processes one local document, while `extract_folder` processes supported files in a local folder. Both default to deferred results. Set `result_mode` to `return_json` when the complete extraction should be returned immediately; `cleanup` is valid only with that mode.

`list_templates` helps identify available extraction templates. Team templates are the templates intended for processing. System templates are available for discovery only; if a suitable system template has not been added to the team, the user must add it in the Suparse UI before processing. When no suitable template exists, the user must create a custom extraction schema in the Suparse UI.

Automatic schema creation uses `start_quick_schema_creation`, followed by `get_quick_schema_creation` or `wait_for_quick_schema_creation`. The final status can preserve generated template IDs, saved documents, failed-document information, and retryability.

## Setup and configuration

The server requires Node.js 20+ and a Suparse API key. Install it as the `@suparse/mcp` package with `npx`, then register it as a local stdio server in the MCP client. Authentication comes first from the `SUPARSE_API_KEY` environment variable and otherwise from `~/.config/suparse/config.json`, using an `apiKey` property.

The README provides configurations for Claude Code, Claude Desktop, Codex, Cursor, VS Code or GitHub Copilot, Gemini CLI, and Windsurf or Cascade. Codex and Copilot configurations should allow up to five minutes for extraction calls. Keep API keys out of Git, shared workspaces, and shell history where possible.

## Tools and capabilities

- Process one local file or all supported files in an immediate folder.
- List extraction templates and inspect detailed schema, prompt, or validation information when needed.
- Start, inspect, and wait for automatic schema-creation runs.
- Fetch one or more structured JSON results directly in the MCP response.
- Write CSV, XLSX, Google Sheets, or saved JSON exports to local disk.
- Delete processed documents from Suparse by document ID.

The Suparse Document Processing MCP server supports `fetch_document_result` for one document and `fetch_json_results` for multiple IDs or an export selection. Use `download_results` for file-based exports instead of placing large JSON results in context.

## Limitations and notes

This Suparse Document Processing MCP server is local and uses stdio. Connected clients may ask it to read local document paths and write export files wherever the server process has permission, so connect it only to trusted clients and workspaces.

`fetch_json_results` can produce a large response. For CSV, XLSX, Google Sheets, or saved JSON files, use `download_results`; call `delete_documents` afterward when cleanup is required. Cleanup after direct JSON retrieval is also performed with `delete_documents` after a successful fetch. System templates cannot be used for processing until they are added to the user's templates in the Suparse UI.

_Full upstream README: https://allmcps.com/mcp/suparse-document-processing/readme_

