MediaWiki MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/olgasafonova/mediawiki-mcp-server.git
cd mediawiki-mcp-server
go build -o mediawiki-mcp-server .
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add -e "MEDIAWIKI_URL=${MEDIAWIKI_URL}" mediawiki-mcp-server -- node "<FULL_PATH_TO_MEDIAWIKI_MCP_SERVER>/dist/index.js"

Replace <FULL_PATH_TO_MEDIAWIKI_MCP_SERVER>/dist/index.js with the actual folder you prepared in step 1.

Required:MEDIAWIKI_URL
README.md

Connect your AI assistant to any MediaWiki wiki.

MediaWiki MCP Server

Connect your AI assistant to any MediaWiki wiki. Search, read, and edit wiki content using natural language.

Works with: Claude Desktop, Claude Code, Cursor, ChatGPT, n8n, and any MCP-compatible tool.


Documentation

Document Description
QUICKSTART.md Get running in 2 minutes
TIETO_SETUP.md Connect to Tieto's Public 360° Wiki (beginner-friendly)
CHANGELOG.md Version history
ARCHITECTURE.md System design
CONTRIBUTING.md How to contribute
SECURITY.md Security policies
WIKI_USE_CASES.md Detailed workflows

What Can You Do?

Once connected, just ask your AI:

You say... What happens
"What does our wiki say about onboarding?" AI searches and summarizes relevant pages
"Find all pages mentioning the API" Full-text search across your wiki
"Who edited the Release Notes last week?" Shows revision history
"Are there broken links on the Docs page?" Checks all external URLs
"Strike out John Smith on the Team page" Applies formatting (requires auth)
"Convert this README to wiki format" Transforms Markdown → MediaWiki markup ✨

Get Started

Step 1: Download

Option A: Download pre-built binary (easiest)

Go to Releases and download for your platform.

Option B: Build from source (requires Go 1.24+)

git clone https://github.com/olgasafonova/mediawiki-mcp-server.git
cd mediawiki-mcp-server
go build -o mediawiki-mcp-server .

Step 2: Find Your Wiki's API URL

Your wiki's API URL is usually:

Wiki type API URL
Standard MediaWiki https://your-wiki.com/api.php
Wikipedia https://en.wikipedia.org/w/api.php
Fandom https://your-wiki.fandom.com/api.php

Tip: Visit Special:Version on your wiki to find the exact API endpoint.

Step 3: Configure Your AI Tool

Pick your tool:

I use... Jump to setup
Claude Desktop (Mac/Windows) Setup instructions
Claude Code CLI Setup instructions
Cursor Setup instructions
ChatGPT Setup instructions
n8n Setup instructions
VS Code + Cline Setup instructions
Google ADK (Go/Python) Setup instructions

Claude Desktop

Works on Mac and Windows. No terminal needed after initial setup.

Mac
  1. Open the config file:

    open ~/Library/Application\ Support/Claude/claude_desktop_config.json
    

    If the file doesn't exist, create it.

  2. Add this configuration (replace the path and URL):

    {
      "mcpServers": {
        "mediawiki": {
          "command": "/path/to/mediawiki-mcp-server",
          "env": {
            "MEDIAWIKI_URL": "https://your-wiki.com/api.php"
          }
        }
      }
    }
    
  3. Restart Claude Desktop (quit and reopen)

  4. Test it: Ask "Search the wiki for getting started"

Windows
  1. Open the config file:

    %APPDATA%\Claude\claude_desktop_config.json
    

    If the file doesn't exist, create it.

  2. Add this configuration (replace the path and URL):

    {
      "mcpServers": {
        "mediawiki": {
          "command": "C:\\path\\to\\mediawiki-mcp-server.exe",
          "env": {
            "MEDIAWIKI_URL": "https://your-wiki.com/api.php"
          }
        }
      }
    }
    
  3. Restart Claude Desktop (quit and reopen)

  4. Test it: Ask "Search the wiki for getting started"


Claude Code CLI

The fastest setup. One command and you're done.

claude mcp add mediawiki /path/to/mediawiki-mcp-server \
  -e MEDIAWIKI_URL="https://your-wiki.com/api.php"

Test it: Ask "Search the wiki for getting started"


Cursor

Cursor Marketplace (easiest):

/add-plugin mediawiki

Manual setup:

Mac
  1. Open the config file:

    ~/Library/Application Support/Cursor/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
    
  2. Add this configuration:

Tools (4)

search_wikiPerform full-text search across the wiki
read_pageRead content from a specific wiki page
edit_pageEdit or update content on a wiki page
get_revision_historyRetrieve the edit history of a wiki page

Environment Variables

MEDIAWIKI_URLrequiredThe API endpoint URL of your MediaWiki instance

Configuration

claude_desktop_config.json
{"mcpServers": {"mediawiki": {"command": "/path/to/mediawiki-mcp-server", "env": {"MEDIAWIKI_URL": "https://your-wiki.com/api.php"}}}}

Try it

What does our wiki say about onboarding?
Find all pages mentioning the API
Who edited the Release Notes last week?
Are there broken links on the Docs page?
Convert this README to wiki format

Frequently Asked Questions

What are the key features of MediaWiki MCP Server?

Full-text search across MediaWiki content. Read and edit wiki pages using natural language. Retrieve page revision history. Check for broken external links on pages. Convert Markdown content to MediaWiki markup.

What can I use MediaWiki MCP Server for?

Automating documentation updates for internal wikis. Summarizing onboarding or policy pages for team members. Auditing wiki pages for broken external links. Quickly retrieving historical edit information for accountability.

How do I install MediaWiki MCP Server?

Install MediaWiki MCP Server by running: git clone https://github.com/olgasafonova/mediawiki-mcp-server.git && cd mediawiki-mcp-server && go build -o mediawiki-mcp-server .

What MCP clients work with MediaWiki MCP Server?

MediaWiki MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep MediaWiki MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare