io.github.crunchtools/mediawiki
Secure MCP server for MediaWiki wikis — search, pages, categories, and more
Versions
0.1.2latestTools 19
search_tool Full-text search across the wiki. Args: query: Search query string namespace: Namespace to search in (0=Main, default: 0) limit: Maximum results to return (default: 10, max: 50) Returns: Search results with titles, snippets, and metadata
get_page_tool Get page wikitext content by title. Args: title: Page title (e.g., "Main Page") Returns: Page content, revision info, and metadata
get_page_html_tool Parse a wiki page to HTML. Args: title: Page title to parse Returns: Parsed HTML content, categories, links, and sections
list_pages_tool List wiki pages with optional prefix filter. Args: prefix: Filter pages starting with this prefix namespace: Namespace to list (0=Main, default: 0) limit: Maximum results (default: 50, max: 500) from_title: Start listing from this title (for pagination) Returns: List of page titles with metadata
create_page_tool Create a new wiki page. Requires authentication. Args: title: Page title content: Page wikitext content summary: Edit summary (default: empty) Returns: Creation result with page info
edit_page_tool Edit an existing wiki page. Requires authentication. Args: title: Page title content: New page wikitext content summary: Edit summary (default: empty) minor: Mark as minor edit (default: False) Returns: Edit result with revision info
delete_page_tool Delete a wiki page. Requires admin authentication. Args: title: Page title to delete reason: Reason for deletion (default: empty) Returns: Deletion result
move_page_tool Move (rename) a wiki page. Requires authentication. Args: from_title: Current page title to_title: New page title reason: Reason for move (default: empty) move_talk: Also move the talk page (default: True) no_redirect: Do not create a redirect (default: False) Returns: Move result with old and new titles
list_categories_tool List all categories on the wiki. Args: prefix: Filter categories starting with this prefix limit: Maximum results (default: 50, max: 500) from_name: Start listing from this category (for pagination) Returns: List of category names with metadata
get_category_members_tool Get pages in a category. Args: category: Category name (with or without "Category:" prefix) member_type: Filter by type: page, subcat, file (default: all) limit: Maximum results (default: 50, max: 500) continue_from: Continue token for pagination Returns: List of category members with titles and types
get_page_categories_tool Get categories that a page belongs to. Args: title: Page title limit: Maximum categories to return (default: 50, max: 500) show_hidden: Include hidden categories (default: False) Returns: List of categories the page belongs to
list_recent_changes_tool List recent edits on the wiki. Args: namespace: Filter by namespace (default: all namespaces) limit: Maximum results (default: 50, max: 500) tag: Filter by tag name change_type: Filter by type: edit, new, log, categorize, external from_timestamp: Start from this timestamp (ISO 8601) Returns: List of recent changes with user, title, timestamp, and comment
parse_wikitext_tool Parse raw wikitext to HTML. Args: wikitext: Raw wikitext content to parse title: Context page title for template resolution (optional) Returns: Parsed HTML output
get_site_info_tool Get wiki configuration and version info. Returns: Site info including wiki name, version, base URL, and features
list_namespaces_tool List all namespaces on the wiki. Returns: List of namespaces with IDs, names, and canonical names
get_user_info_tool Get user details from the wiki. Args: username: Username to look up Returns: User details including edit count, registration date, and groups
list_user_contributions_tool List edits by a user. Args: username: Username whose contributions to list namespace: Filter by namespace (default: all) limit: Maximum results (default: 50, max: 500) from_timestamp: Start from this timestamp (ISO 8601) Returns: List of user contributions with titles, timestamps, and comments
get_file_info_tool Get file/image metadata from the wiki. Args: filename: File name (with or without "File:" prefix) Returns: File metadata including URL, size, dimensions, and MIME type
list_files_tool List files on the wiki. Args: prefix: Filter files starting with this prefix limit: Maximum results (default: 50, max: 500) mime_type: Filter by MIME type (e.g., "image/png") from_name: Start listing from this file (for pagination) Returns: List of files with metadata
Permissions 3
network medium filesystem low env_vars low