Skip to main content

implementation of the model context protocol for the wikimedia enterprise api and wikibase REST API

Project description

Python Wikimedia Enterprise Model Context Protocol Implementation

This is not the official MCP implementation for the Wikimedia Enterprise API.

To run make a .env file in this directory with WME_USERNAME and WME_PASSWORD (you can get free credentials at https://enterprise.wikimedia.com/).

Currently to use this you need to install Anthropic Desktop and then add it to your claude_desktop_config.json.

A sample json would look like:

{
  "mcpServers": {
    "wikimedia-enterprise": {
      "command": "uvx",
      "args": [
        "wikimedia-enterprise-mcp@latest",
        "--username",
        "...",
        "--password",
        "..."
      ]
    }
  }
}

but remember to enter in your credentials.

Installation

Git clone the repo. You need to have poetry installed to manage the dependencies (and a modern version of python).

Testing

For testing make a .env file with WME_USERNAME and WME_PASSWORD.

Install the pre-commit hooks with poetry run pre-commit install or just run them manually e.g. poetry run ruff check

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

wikimedia_enterprise_mcp-0.1.7.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

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

wikimedia_enterprise_mcp-0.1.7-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file wikimedia_enterprise_mcp-0.1.7.tar.gz.

File metadata

  • Download URL: wikimedia_enterprise_mcp-0.1.7.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.13.1 Darwin/23.4.0

File hashes

Hashes for wikimedia_enterprise_mcp-0.1.7.tar.gz
Algorithm Hash digest
SHA256 fe2ba55cec255de43045f1db0d9ea20a8655b729d3fda6fee11da6f9d395e6bb
MD5 169c375cc764e02a59de5b1cbe7ecb99
BLAKE2b-256 ef138488c9abae3f0a2a06004e299cfaa9ee09f44ba5e4f1bd75eba3816b23e9

See more details on using hashes here.

File details

Details for the file wikimedia_enterprise_mcp-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for wikimedia_enterprise_mcp-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 50bc7c600e849e83e86d2e443dff037882d8d1314a1f609bc6a60c60bb5d1b71
MD5 2aef1487f187ba5cc7b0f7f9e0f28ff1
BLAKE2b-256 e3e54dfe24210d0098538f616cb772554d8ec03cd99faa430eec87838e353b28

See more details on using hashes here.

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