About Wikipedia Mcp
Wikipedia Mcp is an MCP server for LLMs that need to search Wikipedia and retrieve page content. It supports specifying the language for both operations.
Key features
- 01Search Wikipedia by keyword
- 02Fetch page content by ID
- 03Specify the language
Use cases
- 01Find Wikipedia pages for a topic
- 02Retrieve a selected page's content
MCP support
Exposes Wikipedia search and page retrieval as tools to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
docker run -i --rm ghcr.io/progamesigner/wikipedia-mcp:latestLocal servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.
ghcr.io/progamesigner/wikipedia-mcp:lateststdioTools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEWikipedia MCP Server
A Model Context Protocol server that provides capabilities to query Wikipedia. This server enables LLMs to get information from Wikipedia.
Available Tools
-
search- Searchkeywordon Wikipedia.- Required arguments:
keyword(string): The search keywordlanguage(string): The language
- Required arguments:
-
fetch- Fetch Wikipedia page content.- Required arguments:
id(integer): The pade IDlanguage(string): The language
- Required arguments:
Installation
Using uv (recommended)
When using uv no specific installation is needed. We will
use uvx to directly run wikipedia-mcp.
Using PIP
Alternatively you can install wikipedia-mcp via pip:
pip install wikipedia-mcp-server
After installation, you can run it as a script using:
python -m wikipedia_mcp
Configurations
Using uvx
{
"mcpServers": {
"wikipedia-mcp": {
"command": "uvx",
"args": [
"wikipedia-mcp-server@latest"
]
}
}
}
Using docker
{
"mcpServers": {
"wikipedia-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/progamesigner/wikipedia-mcp:latest"
]
}
}
}
Using pip installation
{
"mcpServers": {
"wikipedia-mcp": {
"command": "python",
"args": [
"-m",
"wikipedia_mcp"
]
}
}
}
Build
Docker build:
docker build -t wikipedia-mcp .
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.