https://github.com/shiquda/mediawiki-mcp-server
A MCP server that allows you to search and retrieve content on any wiki site using MediaWiki with LLMs 🤖 wikipedia.org, fandom.com, wiki.gg and more sites using Mediawiki are supported!
https://github.com/shiquda/mediawiki-mcp-server
mcp mcp-server mediawiki wiki wikipedia
Last synced: 2 months ago
JSON representation
A MCP server that allows you to search and retrieve content on any wiki site using MediaWiki with LLMs 🤖 wikipedia.org, fandom.com, wiki.gg and more sites using Mediawiki are supported!
- Host: GitHub
- URL: https://github.com/shiquda/mediawiki-mcp-server
- Owner: shiquda
- Created: 2025-04-04T10:38:37.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2025-04-04T13:17:15.000Z (3 months ago)
- Last Synced: 2025-04-09T18:54:07.687Z (2 months ago)
- Topics: mcp, mcp-server, mediawiki, wiki, wikipedia
- Language: Python
- Homepage:
- Size: 83 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- mcp-index - MediaWiki Server - Interact with Wikipedia's API to search and retrieve content efficiently, providing access to rich data and insights from various wiki sites. (Content Creation)
README
# MediaWiki MCP Server 🚀
[](https://smithery.ai/server/@shiquda/mediawiki-mcp-server)  
A MCP server that provides seamless interaction with Wikipedia's API. This tool allows you to search and retrieve Wikipedia content with LLMs 🤖!
## Features ✨
- 🔍 Search wiki pages with customizable wiki site. e.g. wikipedia.org, fandom.com, wiki.gg and more!
- 📖 Retrieve detailed page content## Usage 💻
1. Ensure that uv is installed on your device.
2. Configure in your client:The server defaults to using . Also, you can make the server search other wiki sites!
To see 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).
To check further and find the endpoint (usually the website's domain, like ), check by going to base-url/rest.php/v1/page in a browser (like ) and see if the output looks right. If not, add '/w' to the base URL and try again.

Then, set this endpoint as --base-url.
```json
{
"mcpServers": {
"mediawiki-mcp-server": {
"command": "uvx",
"args": [
"mediawiki-mcp-server",
"--base-url", "https://example.com/"
],
"env": {
"HTTP_PROXY": "http://example.com:port"
}
}
}
}
```Or, if you want to run this server from source:
```json
{
"mcpServers": {
"mediawiki-mcp-server": {
"command": "uv",
"args": [
"run",
"--directory",
"mediawiki-mcp-server",
"path/to/project/src/mediawiki_mcp_server",
"--base-url", "https://example.com/"
],
"env": {
"HTTP_PROXY": "http://example.com:port"
}
}
}
}
```## Supported Tools 🛠
### Search
- `query`: Search term (preferably short and focused)
- `limit`: Maximum number of results to return (default: 5)### Get Page
- `title`: The exact title of the Wikipedia page to retrieve
## Development 👨💻
```bash
npx @modelcontextprotocol/inspector uv run mediawiki-mcp-server
```Here are some documents that might help:
-
## Contributing 🤝
This server is under development. Contributions are welcome! Feel free to submit issues and pull requests.
## Related Projects ♥️
- [Cherry Studio](https://github.com/CherryHQ/cherry-studio): A desktop client that supports for multiple LLM providers. MCP is supported.