wizzypedia-mcp-server
v1.0.8
Published
MCP server for MediaWiki API integration with Wizzypedia
Maintainers
Readme
Wizzypedia MCP Server
This is a Model Context Protocol (MCP) server for interacting with MediaWiki APIs, designed to work with MCP-enabled editors like Cursor.
Features
- Search for wiki pages
- Read page content
- Create new pages
- Update existing pages
- View page history
- List page categories
Installation
npm install
npm run buildConfiguration
Cursor Configuration
Add the following to your ~/.cursor/mcp.json:
{
"mcpServers": {
"wizzypedia": {
"command": "npx",
"args": [
"-y",
"wizzypedia-mcp-server",
"--login",
"your-username",
"--password",
"your-password"
]
}
}
}Claude Configuration
Add the MCP configuration to your Claude Desktop config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"wizzypedia": {
"command": "npx",
"args": [
"-y",
"wizzypedia-mcp-server",
"--login",
"your-username",
"--password",
"your-password"
]
}
}
}Usage
Run the server with:
# With environment variables
export MEDIAWIKI_API_URL="https://en.wikipedia.org/w/api.php"
export MEDIAWIKI_USERNAME="YourUsername"
export MEDIAWIKI_PASSWORD="YourPassword"
node dist/index.js
# Or with command line arguments
node dist/index.js --api-url="https://en.wikipedia.org/w/api.php" --username="YourUsername" --password="YourPassword"
# Or using npx
npx wizzypedia-mcp-server --login dotta --password <yourpassword>Anonymous Mode
You can run the server without authentication for read-only operations:
node dist/index.js --api-url="https://en.wikipedia.org/w/api.php"Available Tools
The server provides the following MCP tools:
- search_pages - Search for pages in the wiki
- read_page - Fetch the raw wikitext content of a page
- create_page - Create a new wiki page
- update_page - Update an existing wiki page
- get_page_history - Get revision history of a page
- get_categories - Get categories a page belongs to
Using with Cursor
Once the server is running, you can connect to it from Cursor or another MCP-compatible client. This allows you to:
- Search for wiki content
- Load wiki content into your editor
- Edit content locally
- Save changes back to the wiki
License
MIT
