liteparse-mcp
Fast, local PDF parsing as an MCP server with text extraction, bounding boxes, OCR, and visual citations. No cloud or API key required.
README
liteparse-mcp
Fast, local PDF parsing as an MCP server — text extraction, bounding boxes, OCR, and visual citations. No cloud. No API key. Powered by LiteParse.
Tools
| Tool | Description |
|---|---|
parse_pdf |
Extract text + bounding boxes (x, y, width, height in PDF points) from a PDF |
batch_parse_pdfs |
Parse every PDF in a folder; write JSON + screenshots per file |
screenshot_pdf |
Render pages as base64 PNG images |
cited_screenshot |
Render a page with highlight boxes drawn over every text item |
search_pdf |
Find a phrase and return all matching positions with coordinates |
Bounding-box coordinates are in PDF points (1 pt = 1/72 in), origin top-left.
To convert to pixels: px = pt × (dpi / 72).
Install
pip install liteparse-mcp
Usage
Claude Desktop
Add to ~/AppData/Roaming/Claude/claude_desktop_config.json (Windows) or
~/Library/Application Support/Claude/claude_desktop_config.json (macOS):
{
"mcpServers": {
"liteparse": {
"command": "liteparse-mcp"
}
}
}
Or with the explicit Python path (if liteparse-mcp is not on PATH):
{
"mcpServers": {
"liteparse": {
"command": "python",
"args": ["-m", "liteparse_mcp"]
}
}
}
Restart Claude Desktop — the five tools appear automatically.
Claude Code
claude mcp add liteparse -- python -m liteparse_mcp
HTTP / SSE (for remote agents or testing)
liteparse-mcp --http
# Server listens on http://127.0.0.1:8765
Example agent prompts
- "Parse report.pdf and show me where 'efficacy' appears with bounding boxes"
- "Get a cited screenshot of page 3 of study.pdf"
- "Batch parse every PDF in my Downloads folder and save the output"
- "Search safety_data.pdf for 'adverse event' and list the page numbers"
Outputs (batch mode)
For each PDF, batch_parse_pdfs writes:
<output_folder>/
<stem>/
pages.json # structured JSON: page text + TextItem bounding boxes
summary.txt # plain text of the whole document
page_1.png # raw page screenshot
page_1_cited.png # screenshot with bounding-box highlights
...
batch_report.json # overall success / error summary
Requirements
- Python ≥ 3.10
liteparse≥ 2.0.0 (Rust-based; wheels available for Windows, macOS, Linux)fastmcp≥ 2.0.0
No Tesseract installation required for text-based PDFs.
For scanned PDFs with ocr_enabled=true, Tesseract is used automatically
if available on PATH.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.