# PDF Table & Document to JSON + Markdown MCP

> PDF Table & Document to JSON + Markdown MCP is a freemium MCP server for files and documents. Extracts PDF tables and documents to JSON and Markdown via API or MCP, no LLM involved. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** API, CLI, Web
- **Website:** https://apify.com/hgreene624/pdf-table-json
- **MCP Registry name:** io.github.hgreene624/pdf-table-json
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-11-29

## About

This service reads digital PDFs with document geometry rather than a vision model, so the numbers in a table come straight from the file. It rebuilds merged horizontal and vertical cells, and it joins tables that run across several pages while dropping repeated header rows.

Output includes structured records, reading-order Markdown, heading-based sections with page numbers for retrieval pipelines, and optional formula-safe CSV. Scanned image-only pages are detected and flagged, and they are not billed for page extraction.

It can be used in batch mode from Apify runs or as a live MCP server for coding assistants and AI agents. Private files can be sent as Base64, with an optional password used only in memory. Free accounts have per-run page and file limits, and paid Apify plans raise them.

## Features

- **Merged cell reconstruction:** Rebuilds horizontal and vertical spanned cells and expands covered cells for spreadsheet use.
- **Multi-page table stitching:** Joins tables that continue across pages and removes repeated headers.
- **Structured JSON records:** Returns column headers, row arrays, key-value records and a confidence score per table.
- **Markdown and RAG sections:** Produces reading-order Markdown and heading-based chunks with page numbers.
- **Private and encrypted files:** Accepts Base64 uploads and optional passwords that are unlocked in memory only.
- **Metadata preflight:** Reports page count, scanned-page ratio and estimated cost before a full extraction.

## Good for

- Pulling line items from invoices and financial schedules into a database
- Feeding PDF report content into an LLM retrieval pipeline with page references
- Letting a coding assistant read tables from a PDF through MCP
- Converting multi-page academic or operational tables into CSV for spreadsheets

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http pdf-table-json https://hgreene624--pdf-table-json.apify.actor/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "type": "http",
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://hgreene624--pdf-table-json.apify.actor/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "type": "http",
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://hgreene624--pdf-table-json.apify.actor/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add pdf-table-json --url https://hgreene624--pdf-table-json.apify.actor/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.pdf-table-json]
url = "https://hgreene624--pdf-table-json.apify.actor/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "httpUrl": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http pdf-table-json https://hgreene624--pdf-table-json.apify.actor/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "serverUrl": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "type": "streamableHttp",
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "pdf-table-json": {
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://hgreene624--pdf-table-json.apify.actor/mcp
```

Enter a Name (for example "PDF Table & Document to JSON + Markdown MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "pdf-table-json": {
      "type": "http",
      "url": "https://hgreene624--pdf-table-json.apify.actor/mcp"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 3 tools reads data; 2 names don't say. From the server's own tool labels and tool names; not verified by us.

- `extract_pdf_tables`: Extracts tables from a PDF.
- `extract_pdf_document`: Extracts a full PDF document to Markdown and structured output.
- `inspect_pdf_metadata` (name suggests: reads): Reports page count, encryption status, scanned-page ratio and estimated cost.

## FAQ

### What happens if I upload a scanned image-only PDF?

Scanned pages are detected automatically and flagged with a notice, and they are billed at $0 for page extraction.

### Can I process password-protected PDFs without a public URL?

Yes. Base64-encoded files can be sent in batch or MCP calls with an optional password that is unlocked in memory.

### Can I check cost before extracting through MCP?

The inspect_pdf_metadata tool reports pages, encryption status, scanned-page ratio and estimated cost for $0.005.

### How do I add PDF Table & Document to JSON + Markdown MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http pdf-table-json https://hgreene624--pdf-table-json.apify.actor/mcp

### What are the best alternatives to PDF Table & Document to JSON + Markdown MCP?

The closest alternatives to PDF Table & Document to JSON + Markdown MCP are PDF Table Extractor, Pdf Tables MCP, PDF Text Extractor, PDF & Document to Markdown and PDF Text, Table and OCR Extractor.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [PDF Table Extractor](https://ai-powered.com/mcp/pdf-table-extractor): PDF Table Extractor is a paid MCP server for files and documents.
- [Pdf Tables MCP](https://ai-powered.com/mcp/pdf-tables-mcp): Pdf Tables MCP is a freemium MCP server for files and documents.
- [PDF Text Extractor](https://ai-powered.com/mcp/pdf-text-extractor-2): PDF Text Extractor is a paid MCP server for files and documents.
- [PDF & Document to Markdown](https://ai-powered.com/mcp/pdf-and-document-to-markdown): PDF & Document to Markdown is a paid MCP server for files and documents.
- [PDF Text, Table and OCR Extractor](https://ai-powered.com/mcp/pdf-text-table-and-ocr-extractor): PDF Text, Table and OCR Extractor is a paid MCP server for files and documents.
- [PDF to Markdown & Document Parser](https://ai-powered.com/mcp/pdf-to-markdown-and-document-parser): PDF to Markdown & Document Parser is a paid MCP server for files and documents.
- [PDF to Text MCP: OCR, DOCX & RAG Chunks](https://ai-powered.com/mcp/pdf-to-text-mcp-ocr-docx-and-rag-chunks): PDF to Text MCP: OCR, DOCX & RAG Chunks is a paid MCP server for files and documents.
- [lintlab PDF To Markdown](https://ai-powered.com/mcp/lintlab-pdf-to-markdown): lintlab PDF To Markdown is a paid MCP server for files and documents.

---
Source: https://ai-powered.com/mcp/pdf-table-and-document-to-json-markdown-mcp
