paperjam: self-hosted Rust document archive with a native MCP server and MRZ check-digit validation
ilodezis · reddit · 2026-11-14
paperjam is an AGPL-3.0, single-binary Rust archive for household documents (passports, leases, insurance) with a built-in MCP server at /mcp. Uploads go through local PDF extraction, deskewed Tesseract OCR, and an ICAO 9303 MRZ parser with check-digit verification; with an LLM key it maps docs into 21 typed schemas and deterministically validates IBANs/national IDs across 10 countries, flagging mismatches instead of silently saving wrong numbers. MCP is stateless Streamable HTTP with OAuth 2.1 + PKCE, dynamic client registration for Claude.ai, bearer tokens for Claude Code, and an MCP App upload widget so agents never push base64 scans through context. 14 tools cover Tantivy search (18-language stemmers, filters like has:expiring), page renders, uploads, and expiring share links. Runs in one Docker container.
More from coding & agent
- T3 Code adds MCP connector so any agent can control it and swap models freely — koltregaskes · 2026-11-14
- One diagram to teach LangChain tool calling: how AIMessage and ToolMessage pair up — ghumare64 · 2026-11-14
- Data curation RL is just SWE envs: code pretraining data increasingly consists of Claude-built, less-sloppy repos — willcb · 2026-11-14
- Solo dev builds real-time conference translation platform for 70 languages with an agentic harness — evisoft · 2026-11-14
- Open-source Blender add-on runs NVIDIA Kimodo, ARDY and MotionBricks locally for AI motion generation — bdsqlsz · 2026-11-14
- TestPrune: pruning regression tests to unblock AI-driven autonomous bug fixing — burkov · 2026-11-14