
Document to JSON – PDF Invoice/Statement/Contract Parser
io.github.fashionmascherine-svgPublished by GitHub account fashionmascherine-svgv1.0.0Updated Oct 24, 2026
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
The publisher's own server: Parser Club
Overview
An Apify-hosted MCP server that turns PDF invoices, bank statements, contracts and generic documents into structured JSON using AI and OCR.
- What you can do
- Parse invoices into seller, buyer, line items, totals, VAT, IBAN and payment info as JSON, with optional total and date validation. Parse bank statements into transactions, balances, fees and account holder details. Parse contracts into parties, key clauses, dates, financial terms and jurisdiction. Extract full text and tables from any generic document, free during launch. Documents are read from a public PDF URL and results are returned as JSON.
- When to use it
- Useful when an assistant needs to convert PDF invoices, statements or contracts into structured data for accounting, spreadsheet, legal review or automation workflows, including scanned documents in English, Italian or Spanish.
- Requirements
- Remote MCP endpoint at mcp.apify.com, reached over streamable HTTP. Requires an Apify account and an Apify API token sent in the Authorization header as a Bearer token. The PDF must be reachable at a public URL. Network access to Apify is needed.
Installation
In SourceWeft
- Open Document to JSON – PDF Invoice/Statement/Contract Parser in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.fashionmascherine-svg%2Fdocument-to-json-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"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.
Source: README.md at commit 2580cf9
Tools
0Version history
1- v1.0.0LatestSep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Other Parser integrations
Parser Club
club.parserOfficial publisher
Parser Club lets an assistant check and run paid data-collection tasks for Telegram, VKontakte, marketplaces and Russian registers, plus a free Telegram niche.

Map Parser
Published by GitHub account changzhiai
Parse Google Maps links into stops with coordinates. Geocode, route, and export.
x402 Payment Request Parser
Published by GitHub account mk-career-planning
x402 payment-request parser with a limited token list. Does not sign, approve or judge payments.

PDF to Markdown & Document Parser
Published by GitHub account fernandoguiraud16-coder
Apify-hosted MCP server that converts PDF, Word, Excel, PowerPoint and scanned documents into Markdown, tables and RAG chunks with OCR.

AIDataParser
Published by GitHub account shibley
AIDataParser is a hosted MCP server that turns PDFs, images and messy text into schema-guaranteed JSON, with a free trial extraction and credit-based paid par.