pdf-inspector
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: Any2Markdown MCP Server
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.
PDF to Markdown and PDF to text from PDF URLs, page by page, with OCR for scanned pages
Convert PDF documents to Markdown for AI agents through an authenticated remote MCP server.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables 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
- AlicenseNot gradedqualityDmaintenanceConverts PDF, Word, and Excel documents to Markdown with image extraction and header/footer removal via MCP or REST API.52MIT
- AlicenseNot gradedqualityBmaintenanceConverts documents and images to Markdown using Mistral AI's OCR, enabling AI-powered document processing via MCP-compatible clients like Claude Desktop.48 npm2MIT
- FlicenseNot gradedqualityCmaintenanceConverts PDFs to Markdown for AI optimization, with tools to detect PDF type (text-based, scanned, mixed, image-based) and support page ranges, raw/compact/page-break options.-