openzim-mcp
MCP server by cameronrye Community
Gives AI assistants offline, structured access to ZIM knowledge archives such as Wikipedia, Wiktionary and Stack Exchange. Built for research assistants and knowledge chatbots that need to search local archives.
Install openzim-mcp
Built from the published package, never by AI.
claude mcp add openzim-mcp -- uvx openzim-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"openzim-mcp": {
"args": [
"openzim-mcp"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"openzim-mcp": {
"args": [
"openzim-mcp"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"openzim-mcp": {
"args": [
"openzim-mcp"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add openzim-mcp -- uvx openzim-mcp{
"mcpServers": {
"openzim-mcp": {
"args": [
"openzim-mcp"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add openzim-mcp uvx openzim-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the openzim-mcp block.
About
OpenZIM MCP is a Model Context Protocol server that gives AI models structured, offline access to ZIM knowledge archives, including Wikipedia, Wiktionary, Stack Exchange and other Kiwix Library content. It offers smart navigation by namespace, structure-aware retrieval of sections and related articles, full-text search, and link-graph extraction. Results are cached and paginated for large archives.
It runs in Simple mode with one natural-language tool, or Advanced mode with all eight specialized tools. Install with uv, pip or Docker, then point it at a folder of .zim files. It is built for research assistants, knowledge chatbots and content-analysis systems. Path-traversal protection and input validation are included, and the project is MIT licensed.
Written from the project's README and checked against it.
Tools it gives your assistant
zim_queryNatural-language tool that dispatches requests to the right operation. Used alone in Simple mode.zim_searchFull-text search across an archive, with suggestions and multi-archive search.zim_getAdvanced-mode tool for reading an entry from a ZIM archive.zim_get_sectionRetrieves a section of an article, supporting structure-aware retrieval.zim_browseBrowses archive content by namespace, such as articles, metadata or media.zim_metadataReports archive identity, index capabilities and a mimetype breakdown.zim_linksExtracts links, including inbound links ranked by linker importance.zim_healthValidates an archive's integrity using Archive.check() and a checksum.
What you need
- Python with uv or pip to install the server
- Docker, optional, for the container image
- ZIM archive files saved to a local directory
- Claude Desktop, optional, for the one-click mcpb extension
| Setting | Needed | What it is |
|---|---|---|
OPENZIM_Environment variable | Optional | Tool surface: 'advanced' (the default here) registers all 8 tools (zim_query, zim_search, zim_get, zim_get_section, zim_browse, zim_metadata, zim_links, zim_health); 'simple' registers only the zim_query natural-language entry point. Default: advanced |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Summarize the article on Photosynthesis from my ZIM archive
- Find pages that link to the Climate change article
- Check the integrity of my Wikipedia ZIM file
Good to know
- Inbound link discovery requires a pre-built link-graph sidecar file.
- Version 3.0.0 is a breaking release for HTTP subscription clients.
- Link-graph sidecars built by 2.x must be rebuilt after upgrading.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to openzim-mcp
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
openzim-mcp: common questions
Does OpenZIM MCP need an internet connection?
It provides offline access to ZIM archives stored on your machine. The server reads local .zim files from the directory you give it.
What is the difference between Simple and Advanced mode?
Simple mode exposes one natural-language tool, zim_query, that dispatches requests server-side. Advanced mode exposes all eight specialized tools plus prompts and per-entry resources.
Which archives does it work with?
The source names Wikipedia, Wiktionary, Stack Exchange and other Kiwix Library archives. Archive-type presets tune retrieval for types such as Wikipedia and Stack Exchange.
How do I install openzim-mcp?
In Claude Code run claude mcp add openzim-mcp -- uvx openzim-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is openzim-mcp the official server?
openzim-mcp is a community project by cameronrye, not verified by a company domain.
Is openzim-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is openzim-mcp safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to openzim-mcp?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does openzim-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
