npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@iflow-mcp/jeffreyrampineda-kiwix-wiki-mcp-server

v1.0.0

Published

MCP server for accessing offline Wikipedia and other content through Kiwix

Downloads

9

Readme

Kiwix Wiki MCP Server

This is a Model Context Protocol (MCP) server that provides access to offline Wikipedia and other content through Kiwix.

Prerequisites

  1. Kiwix Server: You need to have Kiwix server running locally with ZIM files.

    Installing Kiwix Server

    # On Ubuntu/Debian
    sudo apt-get install kiwix-tools
       
    # On macOS with Homebrew
    brew install kiwix-tools
       
    # Or download from https://www.kiwix.org/en/downloads/
  2. ZIM Files: Download offline content (like Wikipedia) in ZIM format from https://library.kiwix.org/

    Example: Download Wikipedia

    # Download a small version of Wikipedia (English)
    wget https://library.kiwix.org/content/wikipedia_en_top/2024-01/wikipedia_en_top_2024-01.zim
  3. Start Kiwix Server:

    kiwix-serve --port=8080 --library wikipedia_en_top_2024-01.zim

    The server will be accessible at http://localhost:8080

Installation

  1. Clone or download this project
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build

Usage

Running the MCP Server

npm start

Or run directly:

node build/main.js

Available Tools

1. search_wiki

Search for articles in the offline wiki.

Parameters:

  • query (required): Search query for wiki articles
  • library (optional): Library ID to search in
  • limit (optional): Maximum number of results (default: 10, max: 50)

Example:

{
  "query": "artificial intelligence",
  "limit": 5
}

2. get_article

Get the full content of a specific wiki article.

Parameters:

  • url (required): URL or path to the wiki article
  • library (optional): Library ID

Example:

{
  "url": "/A/Artificial_intelligence"
}

3. list_libraries

List available offline libraries in Kiwix.

Parameters: None

Configuration

By default, the server connects to Kiwix at http://localhost:8080. You can modify the KIWIX_SERVER_BASE constant in main.ts to change this.

Troubleshooting

  1. "Failed to search the wiki": Make sure Kiwix server is running on the correct port
  2. "No libraries are currently available": Add ZIM files to your Kiwix server
  3. Connection errors: Verify the Kiwix server URL and port in the configuration

Example MCP Client Configuration

Add this to your MCP client configuration:

{
  "mcpServers": {
    "kiwix-wiki": {
      "command": "node",
      "args": ["/path/to/your/project/build/main.js"]
    }
  }
}

License

ISC License