Skip to main content

A Model Context Protocol server providing tools for querying Wikipedia for LLMs.

Project description

Wikipedia MCP Server

A Model Context Protocol server that provides capabilities to query Wikipedia. This server enables LLMs to get information from Wikipedia.

Available Tools

  • search - Search keyword on Wikipedia.

    • Required arguments:
      • keyword (string): The search keyword
      • language (string): The language
  • fetch - Fetch Wikipedia page content.

    • Required arguments:
      • id (integer): The pade ID
      • language (string): The language

Installation

Using uv (recommended)

When using uv no specific installation is needed. We will use uvx to directly run wikipedia-mcp.

Using PIP

Alternatively you can install wikipedia-mcp via pip:

pip install wikipedia-mcp-server

After installation, you can run it as a script using:

python -m wikipedia_mcp

Configurations

Using uvx

{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "uvx",
      "args": [
        "wikipedia-mcp-server@latest"
      ]
    }
  }
}

Using docker

{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/progamesigner/wikipedia-mcp:latest"
      ]
    }
  }
}

Using pip installation

{
  "mcpServers": {
    "wikipedia-mcp": {
      "command": "python",
      "args": [
        "-m",
        "wikipedia_mcp"
      ]
    }
  }
}

Build

Docker build:

docker build -t wikipedia-mcp .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wikipedia_mcp_server-1.0.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wikipedia_mcp_server-1.0.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file wikipedia_mcp_server-1.0.1.tar.gz.

File metadata

  • Download URL: wikipedia_mcp_server-1.0.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for wikipedia_mcp_server-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f3204017d6d3082b3dee7b4730a8d9ad4a02877fde5b87e81c4d0aaa0d628cc1
MD5 453a87b4313716ba831927ccd86a4943
BLAKE2b-256 0e9e84135001b48b43bc78b57f3d0b808efcfffee025341212e92e9b72d914e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for wikipedia_mcp_server-1.0.1.tar.gz:

Publisher: publish.yaml on progamesigner/wikipedia-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wikipedia_mcp_server-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for wikipedia_mcp_server-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60abf93a4eb57df851476ba591e984da10f39bcc62c1733dfb3b3721e146450c
MD5 1dd170b8989d8c034fdc68657d833134
BLAKE2b-256 331c6adb877c0a0426074600005c78a74889c8b946614afb3d9c18dc5075b6f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for wikipedia_mcp_server-1.0.1-py3-none-any.whl:

Publisher: publish.yaml on progamesigner/wikipedia-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page