Server data from the Official MCP Registry
Extract structured data from PDFs and documents with Suparse AI OCR.
About
Extract structured data from PDFs and documents with Suparse AI OCR.
Security Report
This is a well-structured MCP server with proper authentication, secure credential handling, and appropriate permissions. The code is clean with good error handling and input validation. Minor quality improvements could be made around error handling specificity and logging, but these are low-severity and do not materially impact security. Supply chain analysis found 3 known vulnerabilities in dependencies (0 critical, 3 high severity). Package verification found 1 issue.
7 files analyzed · 7 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: SUPARSE_API_KEY
Environment variable: SUPARSE_API_URL
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-suparse-suparse-mcp": {
"env": {
"SUPARSE_API_KEY": "your-suparse-api-key-here",
"SUPARSE_API_URL": "your-suparse-api-url-here"
},
"args": [
"-y",
"@suparse/mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Suparse MCP Server
MCP stdio server for the Suparse Document Processing API. Use it from local MCP clients such as Claude Code and Codex to extract structured data from documents into JSON, CSV, XLSX, or Google Sheets; process single files or folders; let Suparse auto-detect extraction schemas or apply your team templates; split mixed multi-page documents; and download or clean up results by document ID.
Security Boundary
This is a local stdio MCP server. Connected MCP clients can ask it to read local document paths and write export files wherever the server process has permission. Only connect it to MCP clients and workspaces you trust.
Requirements
- A Suparse API key
- Node.js 20+
Authentication
The MCP server reads credentials from:
SUPARSE_API_KEY~/.config/suparse/config.json
You can optionally override the API base URL with SUPARSE_API_URL, or pass api_url to individual MCP tools.
Claude Code
claude mcp add suparse -e SUPARSE_API_KEY=your_api_key -- npx -y @suparse/mcp
Claude Desktop
Open your config file at ~/Library/Application Support/Claude/claude_desktop_config.json
on Mac or %APPDATA%\Claude\claude_desktop_config.json on Windows. Add Suparse to
the mcpServers section:
{
"mcpServers": {
"suparse": {
"command": "npx",
"args": ["-y", "@suparse/mcp"],
"env": {
"SUPARSE_API_KEY": "your_api_key"
}
}
}
}
Codex
Add this to ~/.codex/config.toml or a project-scoped .codex/config.toml:
[mcp_servers.suparse]
command = "npx"
args = ["-y", "@suparse/mcp"]
[mcp_servers.suparse.env]
SUPARSE_API_KEY = "your_api_key"
Tools
extract_file: Process one local document. Defaults toresult_mode: "defer", returning compacttask_id/document_idsmetadata for laterdownload_results. Useresult_mode: "return_json"only when the full JSON extraction is needed in the MCP response.extract_folder: Process supported files in one local folder. Defaults toresult_mode: "defer", returning compacttask_id/document_idsmetadata for laterdownload_results. Useresult_mode: "return_json"only when full JSON extractions are needed in the MCP response.list_templates: List summary metadata for templates, grouped into directly usableteam_templatesand discovery-onlysystem_templates.fetch_json_results: Fetch JSON extraction results by document ID directly in the MCP response. Use only when full JSON is needed in context.download_results: Fetch an export by document ID and write it directly to local disk. Use this forjson,csv,xlsx, andgoogle_sheets.delete_documents: Delete documents by ID.
Export Formats
fetch_json_results accepts:
| Input | Values | Default |
|---|---|---|
export_type | original, unified | unified |
JSON exports are returned as structured results.
download_results accepts json, csv, xlsx, and google_sheets, plus an optional output_path local file path or existing directory. It writes the export directly to disk and returns the saved output_path. MCP clients should use download_results for CSV, XLSX, Google Sheets, and saved JSON files; they should not fetch base64 data and decode it with shell or Python.
result_mode controls whether extraction results in JSON format are returned directly. Use return_json only when you need the full JSON extraction in the MCP response. In all other cases you can retrieve the results in the format of your choice using download_results.
Important: cleanup on extract_file and extract_folder is only valid with result_mode: "return_json". It fetches JSON and then deletes the processed Suparse documents, so later exports cannot be fetched from those document IDs. For CSV/XLSX/Google Sheets or saved JSON files, run extract_file or extract_folder with result_mode: "defer", call download_results, then call delete_documents.
Template Selection for MCP Agents
MCP agents should use only team_templates when passing template_id to extract_file or extract_folder.
When a user asks to process a document type such as a receipt:
- Check
team_templatesfirst and use the matching team template if present. - If no matching team template exists, call
list_templateswithinclude_system: trueand checksystem_templates. - If a matching system template exists, ask the user to add that system template to their templates in the Suparse UI before processing. Do not pass the system template ID directly to extraction.
- 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.
Development
Build the package:
pnpm build
Test with MCP Inspector:
npx @modelcontextprotocol/inspector node dist/index.mjs
The MCP server uses stdout for JSON-RPC protocol messages. Do not add console.log output to the server path; use stderr or MCP tool responses.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
MarkItDown
Freeby Microsoft · Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
