
Document to JSON – PDF Invoice/Statement/Contract Parser
io.github.fashionmascherine-svg由 GitHub 账号 fashionmascherine-svg 发布v1.0.0更新于 Oct 24, 2026
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
发布方自己的服务:Parser Club
概览
由 Apify 托管的 MCP 服务器,借助 AI 与 OCR 将 PDF 发票、银行对账单、合同及通用文档转换为结构化 JSON。
- 可以做什么
- 解析发票,输出卖方、买方、明细行、合计、增值税、IBAN 与付款信息等 JSON,并可校验合计与日期。解析银行对账单,提取交易、余额、手续费与账户持有人信息。解析合同,提取当事方、关键条款、日期、财务条款与管辖地。从任意通用文档中提取全文与表格,发布期内免费。文档通过公开 PDF 链接读取,结果以 JSON 返回。
- 适用场景
- 适合需要把 PDF 发票、对账单或合同转成结构化数据,用于记账、表格整理、法务审阅或自动化流程的场景,也支持英文、意大利文和西班牙文的扫描件。
- 运行要求
- 远程 MCP 端点位于 mcp.apify.com,通过 streamable HTTP 访问。需要 Apify 账户,并在 Authorization 请求头中以 Bearer 形式提供 Apify API 令牌。PDF 必须可通过公开链接访问。需要能访问 Apify 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Document to JSON – PDF Invoice/Statement/Contract Parser,将其添加到工作区。
- 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
交给智能体安装
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.fashionmascherine-svg%2Fdocument-to-json-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。
{
"mcpServers": {
"document-to-json-pdf-invoice-statement-c": {
"type": "http",
"url": "https://mcp.apify.com/?actors=opportunity-biz/document-to-json-mcp"
}
}
}README
Document-to-JSON Converter
Turn PDFs into structured JSON in seconds. AI-powered, no coding needed.
[MCP Server] [License: MIT] [Apify]
🚀 What does it do?
Paste a PDF URL → get structured JSON. That's it.
Powered by AI. Instead of rigid templates or fragile regex, an AI model actually reads and understands each document — so it adapts to any layout, language, or vendor, and even handles scanned files. That's why the same tool works on an Italian invoice, a Spanish receipt, or an English contract without any configuration.
Perfect for:
- Accountants — extract invoice data (numbers, dates, totals, VAT, IBAN)
- Developers — automate document processing in your apps
- Business analysts — convert bank statements to spreadsheets
- Legal teams — extract contract clauses and dates automatically
📋 Supported documents
✨ Example output
🧪 Live examples — try them now
Run the Actor on these public sample PDFs (synthetic data) to see the extraction quality for yourself:
Just paste one of these URLs as file_url, pick the matching document_type, and run. Each extraction takes ~15–20 seconds.
🎯 Why this Actor?
🔧 How to use
- Get a public PDF URL (Dropbox, Google Drive, your server)
- Select the document type
- Run the Actor
- Get your JSON in seconds
That's it. No configuration, no API keys needed.
💰 Pricing
Pay-per-event via Apify. Pay only for successful extractions. No subscription, no hidden fees.
🔒 Privacy
- PDFs are processed and not stored after extraction
- Data is available in your private dataset
- All API keys stay encrypted
📚 Supported OCR languages
eng (English), ita (Italian), spa (Spanish)
Combine with + for multi-language scanned documents: eng+ita+spa (default)
🤖 Built for AI agents (MCP)
This Actor is an MCP server: AI agents can call it directly as a tool to turn any
PDF into JSON, with zero configuration — just pass a public file_url. Specialized
tools (parse_invoice, parse_bank_statement, parse_contract) and a free
parse_generic_document make it easy for an LLM to pick the right one for the task.
🔌 Integrations
Replace
YOUR_APIFY_TOKENwith your token from Apify → Settings → Integrations.
Claude Code (CLI)
Claude Desktop / Cursor (MCP)
Add to your MCP config (claude_desktop_config.json or Cursor's mcp.json):
The agent then sees parse_invoice, parse_bank_statement, parse_contract, and
parse_generic_document as tools and calls them on its own.
REST API (any language)
One call in, JSON out — run-sync-get-dataset-items returns the result directly:
Python
JavaScript / TypeScript
n8n
Use an HTTP Request node (POST) to the REST API URL above, or the official
Apify node → select document-to-json-mcp → set file_url and document_type.
Great for "watch inbox → extract invoice → append to Google Sheet" workflows.
LangChain / CrewAI / any MCP framework
Point your agent framework's MCP client at
https://mcp.apify.com/?actors=opportunity-biz/document-to-json-mcp — the parsing
tools are exposed automatically.
来源:README.md,提交 2580cf9
工具
0版本历史
1- v1.0.0最新Sep 16, 2026
评分
已满足适用检查项的 85%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通必需25 分
- 已声明认证方式必需10 分
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Parser 集成
Parser Club
club.parser官方发布者
Parser Club 让助手查询并运行针对 Telegram、VKontakte、电商平台和俄罗斯登记册的付费数据采集任务,另附免费 Telegram 细分数据。

Map Parser
由 GitHub 账号 changzhiai 发布
将Google Maps链接解析为带坐标的站点。支持地理编码、路线规划和导出。AI 翻译
x402 Payment Request Parser
由 GitHub 账号 mk-career-planning 发布
x402 支付请求解析器,带有受限的代币列表。不签名、不批准也不评判支付。AI 翻译

PDF to Markdown & Document Parser
由 GitHub 账号 fernandoguiraud16-coder 发布
托管在 Apify 上的 MCP 服务器,可将 PDF、Word、Excel、PowerPoint 及扫描件转换为 Markdown、表格和 RAG 分块,并支持 OCR。

AIDataParser
由 GitHub 账号 shibley 发布
AIDataParser 是一个托管式 MCP 服务器,可将 PDF、图片和杂乱文本转换为符合 schema 的 JSON,提供免费试用提取和按积分计费的付费解析。