Skip to content

Summary

Open-source MCP server that gives AI models offline, structured access to ZIM archives such as Wikipedia, Wiktionary and Stack Exchange dumps: search, read sections, browse and follow links without internet.

Features

  • Offline access to Wikipedia, Wiktionary and Stack Exchange ZIM archives
  • Simple mode: one natural-language zim_query tool for small models
  • Advanced mode: 8 tools for search, sections, browsing, metadata and links
  • Inbound link discovery ranked by linker importance
  • Archive integrity checks and archive-type retrieval presets
  • stdio, Streamable HTTP with bearer auth, Docker and .mcpb bundle

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "OpenZIM MCP" tools will be available.
{
  "mcpServers": {
    "openzim-mcp": {
      "command": "uvx",
      "args": [
        "openzim-mcp",
        "~/zim-files"
      ]
    }
  }
}

Description

OpenZIM MCP lets an AI assistant read ZIM files, the compressed offline archive format from the openZIM and Kiwix projects that packages Wikipedia, Wiktionary, Stack Exchange sites and other reference collections. Point it at a folder of .zim files and the model can answer questions from those archives locally, with no web access and no API keys.

It has two modes. Simple mode, the CLI default, exposes one natural-language tool, zim_query, that dispatches to the right operation and suits small local models. Advanced mode exposes eight tools: zim_query, zim_search (full-text search with reranking), zim_get, zim_get_section, zim_browse (navigation by namespace), zim_metadata, zim_links (outbound links and, with a prebuilt link graph, ranked "what links here") and zim_health (archive integrity checks), plus research, summarize and explore prompts and per-entry zim:// resources. It detects the archive type and tunes retrieval for it, for example rendering Stack Exchange dumps as clean questions and answers, and operators can replace the server instructions every client receives.

Install with uv or pip, or run the multi-arch Docker image; a one-click Claude Desktop .mcpb bundle ships with each release, and a Streamable HTTP mode with bearer auth, CORS and health endpoints serves longer-running deployments. MIT licensed; for researchers, offline and air-gapped setups, and anyone building a knowledge assistant on local reference data.

MCP: Wikipedia

by cyanheads

Search and read Wikipedia from an AI client — summaries, full articles, specific sections, and nearby pages.

Turns Anki into a conversational tutor: 42 tools for reviewing due cards, rating them, creating notes and decks, and managing media over AnkiConnect.

MCP: Engram

by Gentleman Programming

Featured

Persistent memory for coding agents as a single Go binary — SQLite and FTS5 behind MCP, an HTTP API, a CLI and a TUI, with no Node, Python or Docker required.

MCP: MCPVault

by bitbonsai

New

A local MCP server for Obsidian vaults: read, search, patch and organise notes, frontmatter and tags straight from the files, with no Obsidian plugin and no app running.

Browse all MCP servers →