pdf-inspector
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pdf-inspectorClassify this PDF: https://example.com/sample.pdf"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PDF Inspector MCP Server (HTTP)
Classify PDFs (text-based vs scanned vs image vs mixed), extract text, and
convert to clean Markdown — over a Streamable HTTP MCP transport. Powered by
the native @firecrawl/pdf-inspector
library (Rust via napi-rs).
No API key. No external API. Pure local compute. Because the server is
remote, every tool takes a PDF as either a url (downloaded server-side) or a
base64 base64 string — not a local file path.
Tools (6)
Tool | What it does |
| Fast classify: |
| Fast metadata (type, page count, OCR pages) — no markdown |
| Full parse: type, text, and Markdown with layout metadata |
| Per-page clean Markdown + table/column/OCR layout flags |
| Plain text extraction |
| Positioned text items with font / bbox metadata |
Each tool accepts { url } or { base64 }. process_pdf,
pdf_to_markdown, and extract_text_with_positions also accept an optional
pages array (0-indexed) to restrict output.
The classify-before-OCR gate
classify_pdf is the cheap front door for any document pipeline: it decides
whether a PDF is real text or a scan in ~tens of milliseconds, so an agent can
skip OCR entirely on native PDFs and only fall back to OCR / a vision model on
the pages that actually need it (pagesNeedingOcr).
Related MCP server: PDF MCP Flow
Auth
Dual-mode, matching the AgenticLedger fleet convention for credential-less MCPs. The server stores nothing:
Bearer passthrough —
Authorization: Bearer <any-token>. Any non-empty token is accepted (access control only).OAuth 2.0 Client Credentials —
POST /oauth/tokenwithclient_id=pdf-inspector&client_secret=<any>&grant_type=client_credentials, then use the returnedmcp_-prefixed token as the Bearer.
Client config
{
"mcpServers": {
"pdf-inspector": {
"type": "streamable-http",
"url": "https://pdfinspectormcp.agenticledger.ai/mcp",
"headers": { "Authorization": "Bearer pdf" }
}
}
}Hosting note
@firecrawl/pdf-inspector ships prebuilt native binaries as optional
dependencies (linux-x64-gnu, darwin-arm64, win32-x64-msvc). Railway's
linux-x64 build pulls the linux-x64-gnu prebuilt automatically via
npm install — no Rust toolchain / Docker image needed.
Local dev
npm install
npm run build
npm start # serves on :3100Deployed to Railway (project FinanceMCPs) from
agenticledger/pdf-inspector-mcp-http.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server: convert PDFs to clean, LLM-ready Markdown with tables, formulas and OCR.
High-fidelity PDF to structured Markdown conversion and document field extraction.
Parse PDF/Word/PPT/HTML to Markdown; tables as JSON, image extraction, RAG chunking, page ranges.
PDF URLs to per-page text, tables as rows, Markdown, metadata and OCR for scanned pages.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables reading and extracting content from PDF documents including text (as Markdown), images, tables, and metadata from both local files and URLs, with OCR support for scanned documents.2-
- AlicenseNot gradedqualityDmaintenanceEnables AI-driven PDF document processing including PDF to Markdown conversion, intelligent text and table extraction, image extraction, format conversion between PDF/Word/Markdown, batch processing, and fuzzy search - optimized for LLM context and RAG workflows.2MIT
- AlicenseAqualityDmaintenanceExposes the MinerU document-to-markdown API as MCP tools for converting PDF, Word, PPT, and images into Markdown. It supports both local and remote file processing with integrated OCR capabilities for multiple languages.210MIT
- AlicenseNot gradedqualityCmaintenanceConverts PDF, Word, and Excel documents to Markdown with image extraction and header/footer removal via MCP or REST API.50MIT