Skip to main content
Glama

Wikipedia MCP Server

by danbunnell

MCP-сервер Википедии

Это сервер MCP (Model Control Protocol), который предоставляет контент Википедии по запрошенной теме.

Настраивать

  1. Установите необходимые зависимости:

pip install -r requirements.txt
  1. Запустите сервер:

python src/server.py

Сервер будет работать по адресу http://localhost:5000 .

Использование API

Использование API из CLI

Отправьте запрос POST на /mcp с телом JSON, содержащим поле topic :

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

Использование API из Cursor Composer

  1. Задайте вопрос по теме в Википедии

  2. Курсор отобразит предлагаемый запрос MCP и запросит разрешение на запуск инструмента.

  3. После одобрения Cursor выполнит запрос к MCP Server.

  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

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 -
    14
    10
    145
    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
    15
  • 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
    0
    • Apple
  • -
    security
    F
    license
    -
    quality
    An MCP Server implementation that enables managing Confluence wiki pages through natural language queries, supporting operations like creating, updating, deleting, and searching pages across different knowledge bases.
    Last updated -
    2

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