Skip to content
MCP server

MaStR MCP Server

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
5 days ago

About MaStR MCP Server

MaStR MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add mastr-mcp-server --env MASTR_TOKEN='<MASTR_TOKEN>' -- uvx mastr-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mastr-mcp-server": {
      "command": "uvx",
      "args": [
        "mastr-mcp-server"
      ],
      "env": {
        "MASTR_TOKEN": "<MASTR_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mastr-mcp-server": {
      "command": "uvx",
      "args": [
        "mastr-mcp-server"
      ],
      "env": {
        "MASTR_TOKEN": "<MASTR_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mastr-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mastr-mcp-server"
      ],
      "env": {
        "MASTR_TOKEN": "<MASTR_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mastr-mcp-server": {
      "command": "uvx",
      "args": [
        "mastr-mcp-server"
      ],
      "env": {
        "MASTR_TOKEN": "<MASTR_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mastr-mcp-server": {
      "command": "uvx",
      "args": [
        "mastr-mcp-server"
      ],
      "env": {
        "MASTR_TOKEN": "<MASTR_TOKEN>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MASTR_USERMaStR Marktakteur number (SOM/SEM...) for SOAP API access. Without credentials, only 7 public tools are available.
  • MASTR_TOKENMaStR web service token (~540 chars) for SOAP API access. Enables 14 additional SOAP tools.

Pricing

Open source

MaStR MCP Server FAQ

Is MaStR MCP Server free?

Yes. MaStR MCP Server is open source, so you can use and self-host it for free.

How do I add MaStR MCP Server to Claude Code?

Run this command in your terminal: claude mcp add mastr-mcp-server --env MASTR_TOKEN='<MASTR_TOKEN>' -- uvx mastr-mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers