Skip to main content
Glama
zicojiao

ZIM MCP Server

by zicojiao

ZIM MCP Server

⚠️ Experimental Warning

This is an experimental version that has only been tested on WSL2. The installation and usage instructions below are specifically for WSL2 environment.

A Model Context Protocol server for reading and searching ZIM files. ZIM is a file format developed by Kiwix for offline storage of Wikipedia and other reference content.

Installation (WSL2)

  1. Install dependencies:

pnpm install
  1. Build the project:

pnpm run build
  1. Prepare ZIM files: Download ZIM files from Kiwix Library and place them in a directory, e.g., /path/to/zim

Related MCP server: ZIM RAG MCP Server

Usage

Configuration for Claude Desktop

Add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "zim-mcp-server": {
      "command": "wsl.exe",
      "args": [
        "bash",
        "-c",
        "node /path/to/zim-mcp-server/build/index.js /path/to/zim"
      ]
    }
  }
}

Example:

{
  "mcpServers": {
    "zim-mcp-server": {
      "command": "wsl.exe",
      "args": [
        "bash",
        "-c",
        "node /home/username/Code/zim-mcp-server/build/index.js /home/username/Code/zim"
      ]
    }
  }
}

Replace /path/to/zim-mcp-server with your project path and /path/to/zim with your ZIM files directory path.

Available Tools

  1. list-zim-files: List all ZIM files in allowed directories

  2. search-zim-file: Search within ZIM file content

    • Required: zimFilePath, query

    • Optional: limit (default: 10), offset (default: 0)

  3. get-zim-entry: Get detailed content of a specific entry

    • Required: zimFilePath, entryPath

    • Optional: maxContentLength (default: 10000)

License

MIT

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zicojiao/zim-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server