citra
View on GitHubGive your AI agent eyes for PDFs — structured text, tables, OCR, visual evidence, and page-level citations via MCP. Native Rust, local-first.
Citra is a local-first MCP server (npx -y @sylphx/citra) that gives AI agents structured PDF reading: text, tables, OCR, visual crops, and page-level citations via read_pdf, search_pdf, and pdf_evidence. Native Rust engine, no API key, fails closed without the platform binary.
Use Cases
Extract citable table cells from financial PDFsQuote research papers with page-level citationsOCR scanned PDFs with linked evidence instead of text soupGround RAG pipelines in verifiable page/geometry citationsConvert PDFs to structured markdown for agentsRender or crop page regions as visual evidence for agentsBuild an agent document twin for repeated PDF queriesSearch a PDF for page and snippet matches before deep reading
Built With
- Language
- TypeScript
- Frameworks
- Model Context Protocol · Bun · VitePress · Biome · Docker
Tags
mcp · pdf · ocr · citations · document-intelligence · rag · local-first · rust · pdf-to-markdown · tables · visual-evidence · evidence-first · model-context-protocol · cli · sdk · agent-tools