PDF Table to JSON + MCP: Merged Cells & Multi-Page Tables
Pricing
from $0.60 / 1,000 digital pdf page extracteds
PDF Table to JSON + MCP: Merged Cells & Multi-Page Tables
Deterministic zero-LLM PDF table extractor reconstructing colspan/rowspan merged cells, stitching multi-page continuation tables, and outputting structured JSON, Markdown, and CSV via Batch or warm MCP Server.
Pricing
from $0.60 / 1,000 digital pdf page extracteds
Rating
0.0
(0)
Developer
Holden Greene
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
an hour ago
Last modified
Categories
Features
Share
PDF Table & Document to JSON + MCP — Merged Cells & Multi-Page Stitching
Extract accurate, zero-LLM structured tables from digital PDFs in seconds without hallucinated numbers or broken columns. Reconstructs merged header and body cells, stitches tables that continue across pages, and outputs clean JSON records, reading-order Markdown, RAG sections, and spreadsheet-safe CSV.
Works in Batch Mode (CSV, Excel, JSON, n8n, Make, Zapier) and as a live MCP server for Claude, Cursor, ChatGPT, and autonomous AI agents.
Free Plan Preview: Free Apify accounts process up to 5 PDFs, 25 total digital pages, and 10 MB per PDF per batch run, and 5 MCP calls per 24 hours (up to 25 pages and 10 MB per call). Any paid Apify plan unlocks up to 250 PDFs per batch, 500 pages per PDF, and 50 MB files.

Why teams use this Actor
- Zero hallucinations on financial and operational tables: Uses deterministic document geometry instead of vision LLMs so every number, currency figure, and row stays faithful to the source PDF.
- Full merged-cell reconstruction: Rebuilds horizontal and vertical merged cells, flattens multi-row spanning headers cleanly, and expands covered cells for spreadsheets and databases.
- Smart multi-page table stitching: Joins tables that continue across pages, removes repeated headers, repairs split rows, and avoids falsely merging separate financial statements.
- Works on bordered and borderless layouts: Extracts ruled invoices, shaded financial schedules, academic tables, and borderless reports while ignoring two-column prose.
- Private files and encrypted PDFs supported: Accepts public URLs or private Base64 uploads directly with optional password unlocking that never logs secrets.
What data do you get?
| Category | Fields Included |
|---|---|
| Structured tables | Clean column headers, row arrays, key-value JSON records, merged-cell span metadata, and extraction confidence score |
| Multi-page stitching | Combined page range, stitched table indicator, and count of deduplicated repeated headers |
| Document Markdown | Full reading-order Markdown combining headings, body prose, and formatted tables for LLM context |
| RAG sections | Chunked document sections split by heading hierarchy with page numbers for retrieval pipelines |
| Spreadsheet-ready CSV | Optional formula-safe CSV per table ready for Excel, Google Sheets, Airtable, or SQL imports |
| Document metadata | Page count, digital vs. scanned page classification, file name, and optional Key-Value Store spill link for very large outputs |
Pricing
Simple Pay-Per-Event billing with volume discounts up to 60% off on higher Apify plans. You pay $0 per scanned image-only page.
| Mode / Event | Price | Per 1,000 | Best For |
|---|---|---|---|
PDF Document Processed (pdf-document-processed) | $0.005 / PDF | $5 | Per PDF opened in Batch mode, or quick MCP metadata preflight |
Digital Page Extracted (pdf-page-extracted) | $0.001 / page | $1 | Per digital text page extracted across Batch and MCP ($0 on scanned pages) |
Real-Time MCP / REST Call (mcp-extract-call) | $0.010 / call | $10 | Base fee for warm Standby MCP or REST single-PDF extraction |
Batch Run Start (apify-actor-start) | $0.005 / run | — | One-time batch start fee (amortized across all PDFs in a Batch run) |
Example: 100 single-page invoices cost $0.605 in one Batch run (one-time start fee amortized) vs. $1.100 across 100 real-time MCP or REST calls.
Quick Start
Test immediately with the bundled 2-page financial sample, or pass your own public PDF URLs or Base64 files:
{"urls": ["https://example.com/quarterly-report.pdf"],"useBundledSample": false,"tableStrategy": "auto","stitchMultipageTables": true,"parseNumbers": true,"includeCsv": true}
Connect to AI Agents (MCP), n8n, Make, or Python
Cursor, Claude Code, and Windsurf (MCP)
{"mcpServers": {"pdf-table-json": {"type": "streamable-http","url": "https://hgreene624--pdf-table-json.apify.actor/mcp","headers": {"Authorization": "Bearer <YOUR_APIFY_TOKEN>"}}}}
Available MCP tools: extract_pdf_tables, extract_pdf_document, and inspect_pdf_metadata.
FAQ
What happens if I upload a scanned image-only PDF? Scanned pages are detected automatically, flagged with a clear notice, and billed $0 for page extraction so you never pay per-page fees for image-only scans.
How do I process private or password-protected PDFs without hosting them publicly?
Send Base64-encoded PDF payloads directly via base64Pdfs in Batch mode or base64_pdf in MCP and REST calls, with an optional secret pdfPassword unlocked strictly in memory.
Can I check a PDF's page count and estimated cost before extracting it via MCP?
Yes. Call inspect_pdf_metadata ($0.005 flat) first to see total pages, encryption status, scanned-page ratio, and estimated cost while warming the file cache for instant extraction.
How does Batch mode differ from Standby MCP or REST pricing? On the Free tier, a single PDF costs the exact same in Batch or MCP ($0.011 for 1 page). For folders of multiple PDFs, Batch mode charges the $0.005 start fee only once across the whole batch.