Skip to main content
Glama
danbunnell

Wikipedia MCP Server

by danbunnell

Wikipedia MCP サーバー

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

設定

  1. 必要な依存関係をインストールします。

pip install -r requirements.txt
  1. サーバーを起動します。

python src/server.py

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

Related MCP server: librarian

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
F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • MCP server for generating rough-draft project plans from natural-language prompts.

  • Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.

  • MCP server for network documentation, generated by doc2mcp.

View all MCP Connectors

Latest Blog Posts

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