Openzim MCP Server

Offline MCP access to ZIM knowledge archives — Wikipedia, Wiktionary, Stack Exchange, Kiwix.

Local serverstdio

What is the Openzim MCP Server?

Offline MCP access to ZIM knowledge archives — Wikipedia, Wiktionary, Stack Exchange, Kiwix.

What the server does

Transform static ZIM archives into dynamic knowledge engines for AI models

  • 8-tool advanced surface — — zim_query, zim_search, zim_get, zim_get_section, zim_browse, zim_metadata, zim_links, zim_health. Down from 22; advanced-mode schema drops from ~36KB to ~23.5KB, clearing the MCP Tax pain band. API reference →
  • Streamable HTTP transport — — bearer-token auth, CORS, health endpoints, multi-arch Docker image. HTTP & Docker deployment →
  • Per-entry MCP resources + subscriptions — — zim://{name}/entry/{path} with native MIME types; clients subscribe and receive notifications/resources/updated when archives change. Resources, prompts & subscriptions →
  • Simple-mode zim_query — — one natural-language tool that dispatches to the right operation, tuned for small-model deployment targets. Quick start →
  • Native libzim introspection — — zim_health(zim_file_path=...) validates an archive's integrity (Archive.check() + checksum), and zim_metadata reports archive identity, full-text / title index capabilities, and an M/Counter mimetype breakdown. API reference →

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Configuration

VariableDescriptionRequired
OPENZIM_MCP_HOSTEndpoint or connection string the server talks to.Optional
OPENZIM_MCP_AUTH_TOKENCredential the server authenticates with.Yes
OPENZIM_MCP_PRESETS_OVERRIDE_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Openzim to Per.”
  • “Use Openzim to Simple.”
  • “Use Openzim to Archive.”

Frequently asked questions

Offline MCP access to ZIM knowledge archives — Wikipedia, Wiktionary, Stack Exchange, Kiwix. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.