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.
Add the following configuration to your MCP client (e.g., Cursor, Claude Desktop) to use this server. (See your client's documentation for details.)
{
"mcpServers": {
"wikipedia": {
"command": "npx",
"args": [
"-y",
"wikipedia-mcp-server"
]
}
}
}
- 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 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 articles.
-
Parameters:
-
lang
(string, default: "ja"): Language code -
count
(number, default: 5): Number of articles
-
- The information obtained via this server is subject to Wikipedia API changes.
- Please handle the acquired data appropriately, especially when using with AI services.
MIT
hatsu38