Skip to main content
Glama

MediaWiki MCP Server

by harugon

MediaWiki MCP 服务器

MediaWiki MCP 服务器为 Claude 等 AI 助手提供了一套强大的工具,以便与您的 MediaWiki 实例进行交互。它使用 nodemw 与 MediaWiki API 进行通信以检索 MediaWiki 页面内容。

主要特点

  • 获取页面内容:获取 wiki 页面的 HTML 内容和元数据
  • Wiki 搜索:根据关键词搜索页面
  • 获取分类信息:获取页面的分类信息
  • 链接分析:提取页面内的内部链接

先决条件

  • Node.js 18 或更高版本
  • npm 或 yarn

如何使用

安装

Claude 设置中的使用示例

Claude 配置文件中的示例配置:claude_desktop_config.json

{ "mcpServers": { "mediawiki": { "command": "npm", "args": ["@harugon/mediawiki-mcp-server"], "env": { "MEDIAWIKI_PROTOCOL": "https", "MEDIAWIKI_SERVER": "ja.wikipedia.org", "MEDIAWIKI_PATH": "/w", "MEDIAWIKI_USER_AGENT": "MediaWiki-MCP-Server/1.0", "MEDIAWIKI_CONCURRENCY": "3", "DEBUG": "1" } } } }

可用功能

环境变量列表

环境变量名称必需的默认值解释
MEDIAWIKI_协议×https与 MediaWiki 服务器的通信协议
MEDIAWIKI服务器-您的 MediaWiki 服务器的主机名(例如 ja.wikipedia.org)
MEDIAWIKI_PATH×/wMediaWiki 路径
MEDIAWIKI_用户名×-登录用户名
MEDIAWIKI密码×-登录密码
MEDIAWIKI_USER_AGENT×MediaWiki-MCP-服务器/1.0发出 API 请求时的用户代理
MEDIAWIKI_CONCURRENCY×3限制同时连接的数量
调试×0调试模式(启用于 1)

已知问题

  • 如果文章太大,可能无法检索页面(需要分块)。
  • 依赖于 nodemw,因此功能有限

关联

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

该工具使 Claude 等 AI 助手能够通过 MediaWiki API 检索页面内容、执行搜索和分析 wiki 信息来与 MediaWiki 实例进行交互。

  1. 主要特点
    1. 先决条件
      1. 如何使用
        1. 安装
        2. Claude 设置中的使用示例
      2. 可用功能
        1. 环境变量列表
          1. 已知问题
            1. 关联

              Related MCP Servers

              • -
                security
                A
                license
                -
                quality
                Enables AI assistants to perform up-to-date web searches through the Tavily API, providing comprehensive search results with AI-generated summaries.
                Last updated -
                5
                JavaScript
                MIT License
              • -
                security
                A
                license
                -
                quality
                A server that connects Claude to your documentation via Inkeep's API, enabling AI-powered interactions with your documentation content.
                Last updated -
                5
                Python
                MIT License
                • Apple
                • Linux
              • A
                security
                A
                license
                A
                quality
                An interface that enables Claude AI to interact with the esa API for searching, creating, and updating documents through the Model Context Protocol.
                Last updated -
                10
                194
                3
                JavaScript
                MIT License
                • Linux
                • Apple
              • A
                security
                A
                license
                A
                quality
                A server implementation for interacting with Wikidata API using the Model Context Protocol, providing tools for searching identifiers, extracting metadata, and executing SPARQL queries.
                Last updated -
                5
                8
                Python
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/harugon/mcp-server-mediawiki'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server