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.0.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.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wikipedia_mcp_server-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 7a69e507707055b0e4d6ad72900e38fc228ed223891226eb2b68967b9c2b2034
MD5 308d18d495a3349cbb50068f16a2fd04
BLAKE2b-256 b48769232fb870aa53617241564c9590ac519216d1e3d1b4e4ca2877e0f6d1d0

See more details on using hashes here.

Provenance

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

Publisher: release.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for wikipedia_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17a09d54c5a5123f4ebe1558930c449cfef3700c35e19358c283926bc6d2a881
MD5 79e97f41a9dfa7ffa214cca41d8e2d00
BLAKE2b-256 9ffb36f7ddaa5bb4ebb83565204e0699d6ec688dd947fa914feedd0fa1ea8377

See more details on using hashes here.

Provenance

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

Publisher: release.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