Model Context Protocol (MCP) server made for interacting with Wikimedia APIs
Overview
What is Wikimedia API MCP?
Wikimedia API MCP is a Model Context Protocol (MCP) server designed for interacting with Wikimedia APIs, allowing LLMs and assistants to retrieve content from Wikipedia and other Wikimedia projects.
How to use Wikimedia API MCP?
To use the server, clone the repository, set up a virtual environment, install dependencies, and configure your Wikimedia Enterprise credentials. Start the server and integrate it with an MCP client to access its functionalities.
Key features of Wikimedia API MCP?
get_article: Retrieve a complete article by its title via the Wikimedia Enterprise API.list_projects: List all available projects in the Wikimedia Enterprise API.search_articles: Search for articles containing a specific term via the public MediaWiki API.
Use cases of Wikimedia API MCP?
- Accessing Wikipedia articles programmatically.
- Integrating Wikipedia content into applications or services.
- Conducting research using data from Wikimedia projects.
FAQ from Wikimedia API MCP?
- What are the prerequisites for using this project?
You need Python 3.11 or higher and a Wikimedia Enterprise account for certain functionalities.
- How do I configure my credentials?
You can set your credentials in a
.envfile or through environment variables.
- Is there a way to test the server locally?
Yes! You can start the server locally and connect it with an MCP client to test its functionalities.