Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

I built a self-hosted AI knowledge base on top of offline Wikipedia (and it speaks MCP)

说明与用途

Zim Pro 替代 kiwix‑serve,支持全文搜索、AI 查询、自动更新,并在离线环境中与本地 LLM 集成。

问题

The existing kiwix-serve tool only allows reading offline ZIM files; the author needed to query the content, keep it updated automatically, and use it as a source for local LLMs.

结果

Zim Pro enables offline querying of large ZIM libraries with AI-generated answers, automatic updates, and integration with local LLMs, all without internet access.

工作流

  • 1. Install Zim Pro via Docker or pip.
  • 2. Mount ZIM files into the /data volume or add them via the built-in catalog.
  • 3. Start the server and access http://localhost:8083 to browse and search.
  • 4. Use the MCP command claude mcp add --transport http zim-pro http://localhost:8083/mcp to expose tools to Claude.
  • 5. Query the library with AI tools; Zim Pro performs plan, deep search, light search, and rank steps to retrieve relevant passages.
  • 6. The AI answers are repaired for Markdown correctness before display.

证据

On my home server I have a folder containing ZIM files: these are offline versions of Wikipedia, Stack Exchange, DevDocs and iFixit, all drawn from the Kiwix catalog.

来源

The problem was that kiwix-serve only allows you to read it. What I wanted to do was: ask it questions and get answers I could verify, keep the books updated without checking for new releases by hand, have my other AI tools (Claude, the local LLMs) use it as a source.

来源

Zim Pro makes use of the full-text index that is already contained in each ZIM file and places the intelligence around that index: Plan, Deep search, Light search, Rank.

来源

The available tools are list_books, search, suggest, get_article, get_article_outline and list_updates.

来源

  • 记录日期: 2026-10-25T09:26:46.511Z