Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyWeb and browser

OpenZIM MCP

Lets your AI agent search and read offline knowledge archives such as Wikipedia, Wiktionary and Stack Exchange.

149 stars on GitHubby Cameron RyeLicense MITUpdated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add openzim -- uvx openzim-mcp zim_directory

What to fill in

NameWhat it isRequired
OPENZIM_MCP_TOOL_MODETool 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.No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Summarize the article on photosynthesis.
Search the archive for climate change and list the top matches.

What it is

OpenZIM MCP gives your agent offline access to ZIM files, the format used by Kiwix for Wikipedia and other archives. The agent can search, read articles and sections, browse, check links and validate archives without internet. It has a simple mode with one natural-language tool and an advanced mode with eight tools.

What it can do

  • zim_query: natural-language request that picks the right action
  • zim_search: full-text search
  • zim_get: get an article
  • zim_get_section: get one section
  • zim_browse: browse entries
  • zim_metadata: archive details
  • zim_links: outbound and inbound links
  • zim_health: check an archive

When to use

  • β€ΊWhen you want your agent to look things up offline in Wikipedia
  • β€ΊWhen you need answers from a Stack Exchange or Wiktionary archive
  • β€ΊWhen you are building a research assistant on a fixed knowledge set

What you need

Python with uv or pip, or Docker, plus at least one .zim archive in a folder. The readme links a small 13.6 MB test archive. No account is needed.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. The readme says it is MIT licensed.

Does it need internet?

No. It reads local ZIM files, so it works offline once you have an archive.

Where do I get archives?

From the Kiwix library at browse.library.kiwix.org. Sizes range from a few hundred MB to tens of GB.

Which mode should I use?

Simple mode is the default and suits smaller models. Advanced mode exposes all 8 tools and suits larger models.

Does it have an HTTP option?

Yes. Streamable HTTP with bearer token auth, CORS and health endpoints, plus a Docker image.

How do I find inbound links?

Build a link graph first with openzim-mcp build link-graph on the archive.

If it does not work

  • β€ΊCheck that the path you pass contains at least one .zim file.
  • β€ΊWith Docker, mount your folder with -v ~/zim-files:/data and run with -i.
  • β€ΊRun openzim-mcp --help to check the install worked.

5 new skills a week. 1 minute to read.