MediaWiki MCP Server
by shiquda
A MCP server that provides seamless interaction with Wikipedia's API. This tool allows you to search and retrieve Wikipedia content with LLMs!
Last updated: N/A
What is MediaWiki MCP Server?
The MediaWiki MCP Server is a tool that facilitates interaction with Wikipedia's API, enabling users to search and retrieve content for use with Large Language Models (LLMs). It supports various MediaWiki-based sites, including Wikipedia, Fandom, and wiki.gg.
How to use MediaWiki MCP Server?
To use the server, ensure uv is installed. Configure your client with the server's command and arguments, specifying the base URL of the MediaWiki site you want to access. You can run the server directly or from source, adjusting the base URL and HTTP proxy settings as needed.
Key features of MediaWiki MCP Server
Search wiki pages with customizable wiki site
Retrieve detailed page content
Supports various MediaWiki-based sites
Easy integration with LLMs
Use cases of MediaWiki MCP Server
Content retrieval for LLM training
Building knowledge bases
Integrating Wikipedia data into applications
Automated research and data analysis
FAQ from MediaWiki MCP Server
What is the default wiki site?
What is the default wiki site?
The server defaults to using https://en.wikipedia.org/.
How do I check if a wiki site works with this server?
How do I check if a wiki site works with this server?
Check if it uses MediaWiki software (usually shown by an icon at the bottom of the site). Then, go to base-url/rest.php/v1/page in a browser and see if the output looks right. If not, add '/w' to the base URL and try again.
What are the supported tools for searching?
What are the supported tools for searching?
The server supports 'query' for the search term and 'limit' for the maximum number of results.
What is needed to get a specific page?
What is needed to get a specific page?
You need the exact 'title' of the Wikipedia page to retrieve.
How can I contribute to the project?
How can I contribute to the project?
Contributions are welcome! Feel free to submit issues and pull requests.