Back to catalog

MediaWiki MCP adapter MCP server

A Model Context Protocol adapter that provides programmatic interaction with MediaWiki and WikiBase APIs for retrieving and editing wiki pages.

A Model Context Protocol adapter that provides programmatic interaction with MediaWiki and WikiBase APIs for retrieving and editing wiki pages.

Installation

From source code

git clone https://github.com/yourusername/mediawikiadapter.git
cd mediawikiadapter
npm install
npm run build
node build/index.js

Available Tools

Tool Description
editPage Edits a MediaWiki page with new content and optional summary

Features

  • Retrieving content from MediaWiki pages
  • Editing MediaWiki pages with new content and optional summary
  • Customizable base API URLs for different MediaWiki and WikiBase instances

Usage Examples

Get the content of the Main Page
Edit a page with updated content and summary

Notes

Requires Node.js version 16 or newer and a MediaWiki instance with API access enabled. Uses Wikipedia and Wikidata endpoints by default, but can be configured for custom instances. Licensed under LGPL-3.0-or-later.

Comments (0)

Sign In Sign in to leave a comment.