Search for Wikipedia articles based on a query
Retrieve the content of a specific Wikipedia article
Retrieve information about a Wikidata entity
Wikimedia Enterprise MCP provides seamless access to Wikipedia and Wikidata content through the Wikimedia Enterprise API. This integration allows AI models to retrieve up-to-date information from Wikipedia articles and Wikidata entities, enhancing their knowledge base with reliable, structured data from the world's largest free knowledge repository.
The Wikimedia Enterprise MCP server provides AI models with access to Wikipedia articles and Wikidata entities through the Wikimedia Enterprise API. This allows models to retrieve current, accurate information directly from Wikimedia's knowledge repositories.
Before installing the Wikimedia Enterprise MCP, you'll need:
The simplest way to install and use the Wikimedia Enterprise MCP is through the uvx
package manager:
uvx wikimedia-enterprise-mcp@latest --username "YOUR_USERNAME" --password "YOUR_PASSWORD"
To install from source:
Clone the repository:
git clone https://gitlab.wikimedia.org/repos/future-audiences/wikimedia-enterprise-model-context-protocol.git
cd wikimedia-enterprise-model-context-protocol
Create a .env
file in the project directory with your credentials:
WME_USERNAME=your_username
WME_PASSWORD=your_password
Install dependencies using Poetry:
poetry install
Run the server:
poetry run start.sh
To use this MCP with Claude Desktop, add it to your claude_desktop_config.json
file:
{
"mcpServers": {
"wikimedia-enterprise": {
"command": "uvx",
"args": [
"wikimedia-enterprise-mcp@latest",
"--username",
"YOUR_USERNAME",
"--password",
"YOUR_PASSWORD"
]
}
}
}
Replace YOUR_USERNAME
and YOUR_PASSWORD
with your Wikimedia Enterprise credentials.
Once configured, the MCP server allows AI models to:
The MCP handles authentication and API interactions automatically, providing the model with clean, formatted data from Wikimedia sources.
If you encounter issues: