プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

MaStR MCP Server

作者:UliRCSバージョン 1.0.1i★ –iパソコンで動く
レジストリ名io.github.UliRCS/mastr-mcp-server

インストール

概要

作者による説明(英語の原文)

MCP server for the German Marktstammdatenregister (MaStR) energy market register

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:MASTR_TOKEN

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: MASTR_USER, MASTR_TOKEN

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "mastr": {
      "command": "uvx",
      "args": [
        "mastr-mcp-server"
      ],
      "env": {
        "MASTR_USER": "your-value",
        "MASTR_TOKEN": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add mastr --env MASTR_USER=your-value --env MASTR_TOKEN=your-value -- uvx mastr-mcp-server

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "mastr": {
      "command": "uvx",
      "args": [
        "mastr-mcp-server"
      ],
      "env": {
        "MASTR_USER": "your-value",
        "MASTR_TOKEN": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "mastr": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mastr-mcp-server"
      ],
      "env": {
        "MASTR_USER": "your-value",
        "MASTR_TOKEN": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • MASTR_USER env
    MaStR Marktakteur number (SOM/SEM...) for SOAP API access. Without credentials, only 7 public tools are available.
  • MASTR_TOKEN 秘密 env
    MaStR web service token (~540 chars) for SOAP API access. Enables 14 additional SOAP tools.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント UliRCS で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの32709件のうち0%よりスターが多い
  • このカテゴリのほかの32709件のうち7%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの32709件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

MaStR MCP Serverは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:MASTR_TOKEN

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.0.1)がレジストリに届いたのは7 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, SwarmMemo

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

クラウドで動く★ 211一昨日更新
インストール

SwarmMemo

作者:Hugo0

Talk with agent swarms: rooms, private messages and paid tasks for AI agents

クラウドで動く今日更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

MaStR MCP Server

An MCP server for the Marktstammdatenregister (MaStR) — the German energy market master data register operated by the Bundesnetzagentur (Federal Network Agency). Enables Claude Desktop, Cowork, and Claude Code to directly access the German energy plant registry.

Deutsche Version / German version

Features

21 Tools — 14 SOAP (with credentials), 7 Public (always available)
ToolAPIAuthDescription
get_unitSOAPYesFull unit details + EEG + CHP + permit + storage in one call
search_power_generation_soapSOAPYesFiltered search for power generation (all 20 energy carriers, postcode, capacity)
get_actorSOAPYesMarket actor details by MaStR number
get_api_quotaSOAPYesDaily API quota (used / limit)
get_recent_changesSOAPYesDelta sync: changes since date (EEG, CHP, permit, location, storage)
search_power_consumption_soapSOAPYesFiltered search for power consumers (postcode, state, status, etc.)
search_gas_production_soapSOAPYesFiltered search for gas production (capacity, postcode, etc.)
search_gas_consumption_soapSOAPYesFiltered search for gas consumers (capacity, postcode, etc.)
search_actors_soapSOAPYesFiltered search for market actors (function, role, postcode, etc.)
get_locationSOAPYesLocation details incl. linked units + grid connection points
get_catalog_valuesSOAPYesCatalog/enum values (legal form, manufacturer, etc.) by category ID
get_catalog_categoriesSOAPYesList all available catalog categories
get_balancing_areasSOAPYesBalancing areas (Y-EIC codes, control areas), optionally by DSO
get_grid_connectionSOAPYesGrid connection points for a unit (voltage level, location, co-located units)
search_power_generation_publicJSONNoPower generation units (27 filter keys)
search_actors_publicJSONNoMarket actors (23 filter keys)
search_power_consumption_publicJSONNoPower consumption units (29 filter keys)
search_gas_production_publicJSONNoGas production / gas storage (30 filter keys)
search_gas_consumption_publicJSONNoGas consumption units (30 filter keys)
search_grid_connections_publicJSONNoGrid connection points & locations (4 types, 12-20 filter keys)
get_local_timeSOAPNoConnection test (always available)
10 Filter Operators
SuffixOperatorDescription
*(none)* / =eqEqual (default)
!=neqNot equal
%ctContains
!%nctDoes not contain
:swStarts with
$ewEnds with
>gtGreater than
<ltLess than
?nullIs NULL
! / !?nnIs NOT NULL
20 Energy Carriers

All technology keywords are available in English (German aliases also work):

wind, solar, biomass, hydro, storage, geo, mine_gas, sewage_sludge, solar_thermal, pressure_relief_gas/pressure_relief_water, natural_gas, hard_coal, lignite, mineral_oil, other_gases, waste, heat, hydrogen, nuclear.

Without credentials, 7 public tools are available (search power generation, power consumption, gas production, gas consumption, market actors, grid connections + connection test). With credentials (.env), 14 additional SOAP tools are registered (detail queries, filtered searches, catalogs, balancing areas, etc.).

Installation

Prerequisites
  • Python >= 3.10
  • uv (recommended) or pip
  • MaStR web service account (for SOAP API tools, optional): https://www.marktstammdatenregister.de
Step 1: Clone / copy project
git clone https://github.com/UliRCS/mastr-mcp-server.git

cd mastr-mcp-server

Step 2: Install dependencies

With uv (recommended):

uv sync

With pip:

pip install -e .
Step 3: Store credentials in .env

The server automatically loads credentials from a .env file in the project directory (via python-dotenv). This is the recommended approach.

cp .env.example .env

Edit .env and fill in your values:

MASTR_USER=SEM123456789012

MASTR_TOKEN=your-webservice-token-540-chars

.env is excluded via .gitignore — your token will not end up in the repo.

Alternative: You can also set the variables as OS environment variables or in the env block of the Claude Desktop config — OS values take precedence.

Step 4: Test
# Quick test

uv run mastr_mcp_server.py

Or with the MCP Inspector

npx @modelcontextprotocol/inspector uv run mastr_mcp_server.py

Configuration for Claude Desktop / Cowork

Open the Claude Desktop configuration file:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

If .env is in the project directory, you can omit the env block:

{

"mcpServers": { "mastr": { "command": "uv", "args": [ "run", "--directory", "/path/to/mastr-mcp-server", "mastr_mcp_server.py" ] } } }

Important: Adjust the path under --directory to the actual location on your system.

Configuration for Claude Code

claude mcp add mastr \

--command "uv" \ --args "run" "--directory" "/path/to/mastr-mcp-server" "mastr_mcp_server.py" \ --env "MASTR_USER=SOM123456789012" \ --env "MASTR_TOKEN=your-webservice-token"

Usage Examples

  • *"Show me the details of wind turbine SEE966095906064"* -> get_unit
  • *"Find all solar plants in postcode 49074"* -> search_power_generation_public({'tech': 'solar', 'postcode': '49074'})
  • *"Wind turbines between 1200 and 3500 kW in postcode area 23..."* -> search_power_generation_public({'tech': 'wind', 'capacity>': 1200, 'capacity<': 3500, 'postcode:': '23'})
  • *"Wind turbines WITHOUT EEG key"* -> search_power_generation_public({'tech': 'wind', 'eeg_key?': ''})
  • *"All non-wind units in postcode 49074"* -> search_power_generation_public({'tech!=': '2497', 'postcode': '49074'})
  • *"Power-to-Gas hydrogen plants"* -> search_gas_production_public({'gas_technology': 'Power-to-Gas (Wasserstoff)'})
  • *"High-voltage consumers in Bavaria"* -> search_power_consumption_public({'bundesland': 'Bayern', 'voltage_level': 'Hochspannung'})
  • *"Gas consumers with H-Gas that generate electricity"* -> search_gas_consumption_public({'gas_quality': 'H-Gas', 'gas_for_power': True})
  • *"DSOs with more than 100,000 connected customers in Lower Saxony"* -> search_actors_public({'function': 'Stromnetzbetreiber', 'dso_large': True, 'bundesland': 'Niedersachsen'})
  • *"Grid connection points for power generation in postcode 49074 at medium voltage"* -> search_grid_connections_public('power_generation', {'postcode': '49074', 'voltage_level': 'Mittelspannung'})
  • *"Gas feed-in points with H-Gas"* -> search_grid_connections_public('gas_production', {'gas_quality': 'H-Gas'})

Project Structure

mastr-mcp-server/

├── mastr_mcp_server.py # Entry point (imports package, starts server) ├── mastr_mcp/ # Main package │ ├── init.py # Package init, conditional tool registration │ ├── config.py # Constants, env vars, technology mappings │ ├── serialization.py # SOAP->JSON, MS-AJAX date conversion │ ├── client.py # SOAP client, HTTP fetch, retry helper │ ├── filters.py # Filter builder, column mappings, dropdown loading │ ├── server.py # FastMCP instance with instructions │ ├── tools_soap.py # SOAP tools (14) │ ├── tools_public.py # Public JSON tools (7) │ └── resources.py # MCP Resources (4) ├── *_dropdowns.json # Dropdown ID mappings (5 files, from live API) ├── pyproject.toml # Dependencies and metadata ├── .env # Credentials (not in git) └── .env.example # Credential template

Security Notes

  • The MaStR token is confidential — it belongs in .env, never in the repo.
  • The server only performs read operations (no registrations or modifications)
  • Daily limit: 100,000 SOAP API calls per user (public JSON is unlimited)
  • Only TLS 1.2 connections are accepted

License

MIT

PopNxに聞く