wikipedia-mcp-server

hatsu38/wikipedia-mcp-server

3.2

If you are the rightful owner of wikipedia-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Wikipedia MCP Server is a Model Context Protocol compatible server that provides tools for searching and retrieving Wikipedia articles.

Tools
3
Resources
0
Prompts
0

wikipedia-mcp-server

npm version


Overview

Wikipedia MCP Server is a Model Context Protocol (MCP) compatible server that provides Wikipedia search and article retrieval tools for AI agents and MCP clients. You can search, get details, and fetch random articles from Wikipedia in multiple languages via MCP tools.


How to Use with MCP Clients

Add the following configuration to your MCP client (e.g., Cursor, Claude Desktop) to use this server. (See your client's documentation for details.)

npx

{
  "mcpServers": {
    "wikipedia": {
      "command": "npx",
      "args": [
        "-y",
        "wikipedia-mcp-server"
      ]
    }
  }
}

Docker

{
  "mcpServers": {
    "wikipedia": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "hatsu38/wikipedia-mcp-server"
      ]
    }
  }
}

Tools

search_wikipedia - Search Wikipedia articles

  • Search Wikipedia articles by keyword.
  • Parameters:
    • query (string): Search keyword
    • lang (string, default: "ja"): Language code (e.g., "ja", "en")
    • limit (number, default: 5): Number of results

get_wikipedia_article - Get article details

  • Get detailed information about a Wikipedia article.
  • Parameters:
    • title (string): Article title
    • lang (string, default: "ja"): Language code
    • include_content (boolean, default: false): Include article content (wikitext)

get_random_wikipedia - Get random articles

  • Get random Wikipedia articles.
  • Parameters:
    • lang (string, default: "ja"): Language code
    • count (number, default: 5): Number of articles

Notes

  • The information obtained via this server is subject to Wikipedia API changes.
  • Please handle the acquired data appropriately, especially when using with AI services.

License

MIT


Author

hatsu38