home / mcp / wikipedia mcp server
Provides search and retrieval of Wikipedia articles with Markdown-formatted output via MCP.
Configuration
View docs{
"mcpServers": {
"timjuenemann-wikipedia-mcp": {
"command": "npx",
"args": [
"-y",
"wikipedia-mcp"
]
}
}
}You can run a Wikipedia knowledge MCP server that lets language models search Wikipedia and fetch article content, with automatic HTML-to-Markdown conversion for easy reading. This server is useful when you want concise article summaries, full article retrieval by title or page ID, and seamless integration into MCP clients for conversational AI workflows.
Start the Wikipedia MCP Server from your command line, then connect your MCP client to it to perform searches and retrieve articles. You can search for topics, retrieve full articles by title or page ID, and receive content converted to Markdown for easy display in chats or assistants.
Prerequisites: Node.js (version 14 or newer) and npm installed on your machine.
Run the MCP server directly without a separate install step by using npx.
Start the server with the following command:
npx wikipedia-mcpConfigure your MCP client to connect to the server. The following JSON snippet shows a typical MCP configuration entry for the Wikipedia MCP Server.
{
"mcpServers": {
"Wikipedia": {
"command": "npx",
"args": ["-y", "wikipedia-mcp"]
}
}
}This server supports several practical capabilities for your AI workflows, including search for Wikipedia articles, reading complete articles by title or page ID, and automatic Markdown conversion of article content.
If the server fails to start, ensure Node.js and npm are installed and that you have network access to fetch the MCP package. If your MCP client reports connection issues, verify you are using the correct command and arguments as shown in the configuration snippet.
Find Wikipedia articles matching specific search terms to obtain article titles or IDs for retrieval.
Retrieve full Wikipedia articles by title or page ID, with content converted to Markdown.
Automatically convert article HTML content to Markdown for readable presentation.