MCP Server with Wikipedia Article Tool

by codingaslu

261 downloads
Not rated
GitHub

About

A lightweight implementation of the Model Context Protocol (MCP) server using Server-Sent Events. Features a Wikipedia article parser that converts content to Markdown format. Demonstrates client-server MCP communication over HTTP.

Details

Author
codingaslu
Downloads
261
Categories
Developer Tools

- Fetches and converts Wikipedia articles to Markdown.
- Uses Server-Sent Events (SSE) for communication.
- Provides Tools, Resources, and Prompts as MCP capabilities.
- Built with FastMCP and Python for easy setup.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Server with Wikipedia Article Tool
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies with uv using uv pip install -r requirements.txt, then start the server with python server.py. The server listens on http://localhost:8000 with an SSE endpoint at /sse and a POST endpoint at /messages/. Clients can list server capabilities or fetch a Wikipedia article by passing the article URL as an argument.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp server with wikipedia article tool": {
            "http-sse-mcp-starter": {
                "command": "uv",
                "args": [
                    "pip",
                    "install",
                    "-r",
                    "requirements.txt"
                ]
            }
        }
    }
}

McpServers

{
    "http-sse-mcp-starter": {
        "command": "uv",
        "args": [
            "pip",
            "install",
            "-r",
            "requirements.txt"
        ]
    }
}

MCP Server with Wikipedia Article Tool

This is an HTTP SSE-based MCP (Model Context Protocol) server that features a tool for fetching and converting Wikipedia articles to Markdown.

Features

- MCP server implementation using FastMCP - Server-Sent Events (SSE) for client-server communication - Wikipedia article fetching tool - Conversion of HTML content to Markdown

Requirements

- Python 3.8+ - Dependencies listed in requirements.txt - uv (Python package manager)

Installation

```bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.