Skip to main content

MCP server for the Technical Master Data Service (TMDS) — read-only debug tools

Project description

tmds-mcp

License: MIT Python Versions (officially) supported Pypi status badge Unittests status badge Coverage status badge Linting status badge Black status badge

An MCP server wrapping tmdsclient, exposing read-only TMDS master data to AI assistants (e.g. Claude Desktop) for debugging.

Requires Python 3.11+.

Tools

Tool Description
get_messlokation Messlokation (meter location) master data by MeLo-ID
get_marktlokation Marktlokation (market location) master data by MaLo-ID
get_zaehler Zähler (meter) data by UUID, optionally at a historical keydate
get_netzvertraege_for_melo All Netzverträge for a MeLo-ID
get_netzvertraege_for_malo All Netzverträge for a MaLo-ID
get_netzvertrag_by_id Single Netzvertrag by UUID

Installation

pip install tmds-mcp

For use with Claude Desktop or another MCP client, pipx installs the server as a standalone executable:

pipx install tmds-mcp

Configuration

Set environment variables or place them in a .env file in the working directory from which the MCP server is launched:

Variable Required Description
TMDS_URL Yes Base URL of the TMDS server, e.g. https://techmasterdata.example.de/
TMDS_AUTH_TYPE No (default: basic) basic or oauth
TMDS_USER If basic auth Username
TMDS_PASSWORD If basic auth Password
TMDS_CLIENT_ID If OAuth OAuth client ID
TMDS_CLIENT_SECRET If OAuth OAuth client secret
TMDS_TOKEN_URL If OAuth Token endpoint URL

Usage

Run the server directly:

tmds-mcp

Or add to your MCP client config (e.g. Claude Desktop):

{
  "mcpServers": {
    "tmds": {
      "command": "tmds-mcp",
      "env": {
        "TMDS_URL": "https://techmasterdata.example.de/",
        "TMDS_AUTH_TYPE": "basic",
        "TMDS_USER": "...",
        "TMDS_PASSWORD": "..."
      }
    }
  }
}

Development

This project follows the Hochfrequenz Python template:

tox -e tests       # run tests
tox -e type_check  # mypy --strict
tox -e linting     # pylint
tox -e coverage    # coverage ≥ 80 %
tox -e formatting  # black + isort

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

tmds_mcp-0.0.1.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

tmds_mcp-0.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file tmds_mcp-0.0.1.tar.gz.

File metadata

  • Download URL: tmds_mcp-0.0.1.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tmds_mcp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 07d53c84d1891183bc43282053d69850f8a2efe720756838a1f344465c3f7bb7
MD5 1e6da87bc2458b599d5cf1a3730bd018
BLAKE2b-256 4d14ea25d5f2608918ae262cd7ba0d9f5ba2634bcbd9cc33dc6bd53d9d57ab38

See more details on using hashes here.

Provenance

The following attestation bundles were made for tmds_mcp-0.0.1.tar.gz:

Publisher: python-publish.yml on Hochfrequenz/tmds-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 tmds_mcp-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tmds_mcp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tmds_mcp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ac397e153b34dedff3df81cb5e022d6c089036d86817275b7b35a48ad1397fc5
MD5 441ed4b2c8816b606687cbe8972f4a15
BLAKE2b-256 2ead900295dfd4ce8dc0f19a6556189aa94c2fb36fb6f10a4bf002eacb370c5b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tmds_mcp-0.0.1-py3-none-any.whl:

Publisher: python-publish.yml on Hochfrequenz/tmds-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