Skip to main content
Glama

Wikipedia MCP Server

by danbunnell

Wikipedia MCP サーバー

これは、要求されたトピックの Wikipedia コンテンツを提供する MCP (モデル制御プロトコル) サーバーです。

設定

  1. 必要な依存関係をインストールします。
pip install -r requirements.txt
  1. サーバーを起動します。
python src/server.py

サーバーはhttp://localhost:5000で実行されます。

APIの使用

CLIからAPIを使用する

topicフィールドを含む JSON 本文を含む POST リクエストを/mcpに送信します。

curl -X POST http://localhost:5000/mcp \ -H "Content-Type: application/json" \ -d '{"topic": "Python_(programming_language)"}'

Cursor Composer の API の使用

  1. Wikipediaのトピックについて質問する
  2. カーソルにMCPリクエストの提案が表示され、ツールを実行する許可を求められます。
  3. 承認後、カーソルはMCPサーバーへのリクエストを実行します。
  4. プロンプトの結果は、MCPサーバーの応答の選択されたモデルの分析に基づいて表示されます。

カーソルAPIの例

応答フォーマット

成功した応答:

{ "status": "success", "data": { "title": "Page Title", "content": "Page Content", "url": "Wikipedia URL" } }

エラー応答:

{ "status": "error", "error": "Error message" }

テスト

テスト スクリプトを実行して、サーバーが動作していることを確認します。

python src/test_server.py
-
security - not tested
F
license - not found
-
quality - not tested

要求されたトピックの Wikipedia コンテンツを取得して提供する MCP サーバー。モデル制御プロトコルを通じて Wikipedia 情報に簡単に直接アクセスできるようになります。

  1. 設定
    1. APIの使用
      1. CLIからAPIを使用する
      2. Cursor Composer の API の使用
      3. 応答フォーマット
    2. テスト

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        A Model Context Protocol server that retrieves information from Wikipedia to provide context to LLMs, allowing users to search articles, get summaries, full content, sections, and links from Wikipedia.
        Last updated -
        9
        73
        Python
        MIT License
        • Apple
        • Linux
      • A
        security
        F
        license
        A
        quality
        A MCP server that allows you to search and retrieve content on any wiki site using MediaWiki with LLMs 🤖. wikipedia.org, fandom.com, wiki.gg and more sites using Mediawiki are supported!
        Last updated -
        2
        14
        Python
      • A
        security
        F
        license
        A
        quality
        A Model Context Protocol server that enables searching, reading, and editing wiki pages on Wizzypedia from MCP-enabled tools like Cursor or Claude Desktop.
        Last updated -
        6
        1
        JavaScript
        • Apple
      • A
        security
        A
        license
        A
        quality
        An MCP server that fetches and converts Deepwiki documentation into Markdown, allowing users to crawl pages from deepwiki.com repositories and access them in different output formats.
        Last updated -
        1
        2,934
        893
        TypeScript
        MIT License
        • Linux
        • Apple

      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/danbunnell/mcp-wikipedia'

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