szmcp: A Rust ZIM MCP Server Giving Local LLMs an Offline Wikipedia

Federal-Effective879 · reddit · 2026-10-01

A developer shared szmcp, a Rust-based MCP server for Kiwix ZIM files plus a custom MediaWiki HTML-to-Markdown converter, giving small local LLMs an offline, private Wikipedia knowledge base. Key points: cleaner tool set than existing openzim-mcp; the converter handles infoboxes, LaTeX, tables and strips boilerplate; batch conversion shrinks the 49GB English Wikipedia ZIM to 19GB of Markdown (top-1M subset: 19GB→6GB) with full-text search intact. Tested model compatibility: Gemma 4 12B, Granite 4.2 8B and Ling 3.0 Flash work well on a 128GB Mac; Qwen 3.6 35B-A3B overthinks; 2B models handle simple queries. Ships with a working system prompt and hooks into llama.cpp's Web UI.

Original post →

More from coding & agent

coding & agent channel →