Skip to main content
Glama
Danish Energy Regulation MCP

Danish Energy Regulation MCP

Danish Energy Regulation MCP

▶ Try this MCP instantly via Ansvar Gateway

50 free queries/day · no card required · OAuth signup at ansvar.eu/gateway

One endpoint, one OAuth signup, access from any MCP-compatible client.

Connect

Claude Code (one line):

claude mcp add ansvar --transport http https://gateway.ansvar.eu/mcp

Claude Desktop / Cursor — add to claude_desktop_config.json (or mcp.json):

{
  "mcpServers": {
    "ansvar": {
      "type": "url",
      "url": "https://gateway.ansvar.eu/mcp"
    }
  }
}

Claude.ai — Settings → Connectors → Add custom connector → paste https://gateway.ansvar.eu/mcp

First request opens an OAuth flow at ansvar.eu/gateway. After signup, your client is bound to your account; tier (free / premium / team / company) determines fan-out, quota, and which downstream MCPs are reachable.


Self-host this MCP

You can also clone this repo and build the corpus yourself. The schema, fetcher, and tool implementations all live here. What is not in the repo is the pre-built database — TDM and standards-licensing constraints on the upstream sources mean we host the corpus on Ansvar infrastructure rather than redistribute it as a public artifact.

Build your own: run this repo's ingestion script (entry-point varies per repo — typically scripts/ingest.sh, npm run ingest, or make ingest; check the repo root).

MCP server for Danish energy sector regulations -- Energistyrelsen policies, Forsyningstilsynet tariff decisions, Energinet grid codes, Sikkerhedsstyrelsen safety rules.

License

Covers four Danish energy regulators with full-text search across regulations, grid codes, and regulatory decisions. All data is in Danish.

Built by Ansvar Systems -- Stockholm, Sweden


Related MCP server: Danish Law MCP Server

Regulators Covered

Regulator

Role

Website

Energistyrelsen (Danish Energy Agency)

Energy policy, licensing, renewable energy, energy efficiency, climate reporting

ens.dk

Forsyningstilsynet (Danish Utility Regulator)

Tariff regulation, revenue caps, market monitoring, benchmarking, consumer protection

forsyningstilsynet.dk

Energinet (Danish TSO)

Electricity and gas transmission, grid codes, technical regulations, market rules, balancing

energinet.dk

Sikkerhedsstyrelsen (Safety Technology Authority)

Electrical installation safety, gas safety, product safety, inspection and certification

sik.dk


Tools

Tool

Description

dk_energy_search_regulations

Full-text search across energy regulations from Energistyrelsen, Forsyningstilsynet, and Sikkerhedsstyrelsen

dk_energy_get_regulation

Get a specific regulation by reference string (e.g., BEK nr 1310 af 24/11/2023)

dk_energy_search_grid_codes

Search Energinet grid codes, technical regulations, and market rules

dk_energy_get_grid_code

Get a specific grid code document by database ID

dk_energy_search_decisions

Search Forsyningstilsynet tariff decisions, revenue caps, and market rulings

dk_energy_about

Return server metadata: version, regulators, tool list, data coverage

Full tool documentation: TOOLS.md


Data Coverage

Source

Records

Content

Energistyrelsen

79 regulations

Bekendtgorelser, vejledninger on energy policy, NIS 2, renewable energy, efficiency

Sikkerhedsstyrelsen

24 regulations

Electrical safety (staerkstromsbekendtgorelsen), gas safety, installation rules

Energinet

36 grid codes

Technical regulations (TF series), market regulations, balancing, ancillary services

Forsyningstilsynet

58 decisions

Tariff decisions, revenue caps, methodology approvals, benchmarking, complaints

Total

197 records

~500 KB database

This is a partial dataset. Full automated ingestion from retsinformation.dk, ens.dk, energinet.dk, forsyningstilsynet.dk, and sik.dk is planned.

Language note: All regulatory content is in Danish. Search queries work best in Danish (e.g., elforsyning, vedvarende energi, tarif, tilslutning).

Full coverage details: COVERAGE.md


Data Sources

See sources.yml for machine-readable provenance metadata.


Docker

docker build -t danish-energy-regulation-mcp .
docker run --rm -p 3000:3000 -v /path/to/data:/app/data danish-energy-regulation-mcp

Set DK_ENERGY_DB_PATH to use a custom database location (default: data/dk-energy.db).


Development

npm install
npm run build
npm run seed         # populate sample data
npm run dev          # HTTP server on port 3000

Further Reading


License

Apache-2.0 -- Ansvar Systems AB

See LICENSE for the full license text.

See DISCLAIMER.md for important legal disclaimers about the use of this regulatory data.


ansvar.ai/mcp -- Full MCP server catalog

Available Tools

8 tools
dk_energy_about

Return metadata about this MCP server: version, regulators covered, tool list, data coverage.

Inputs: no named parameters.

dk_energy_check_data_freshness

Check data freshness: returns live record counts from the database, last refresh date per source, and staleness indicators.

Inputs: no named parameters.

dk_energy_get_grid_code

Get a specific Energinet grid code document by its database ID. Returns full text.

Inputs: document_id (required).

dk_energy_get_regulation

Get a specific Danish energy regulation by its reference string (e.g., 'BEK nr 1310 af 24/11/2023'). Returns full text.

Inputs: reference (required).

dk_energy_list_sources

List all data sources used by this MCP server with provenance metadata: authority, URL, retrieval method, license, update frequency, and record counts.

Inputs: no named parameters.

dk_energy_search_decisions

Search Forsyningstilsynet tariff decisions, revenue cap determinations, market methodology approvals, and complaint rulings for Danish energy utilities.

Inputs: query (required), limit, decision_type.

dk_energy_search_grid_codes

Search Energinet technical regulations (grid codes), market regulations, and grid connection requirements. Covers electricity, gas, and district heating grid rules.

Inputs: query (required), limit, code_type.

dk_energy_search_regulations

Full-text search across Danish energy regulations from Energistyrelsen, Forsyningstilsynet, and Sikkerhedsstyrelsen. Returns bekendtgorelser, vejledninger, and administrative rules. Supports Danish-language queries.

Inputs: query (required), type, limit, status, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables MCP clients to look up Danish legislation by name or free text from Retsinformation, retrieve verbatim section text with official ELI links, and inspect status and later amendments. It also flags historical documents and unconsolidated amendments so returned legal text can be verified.
      Apache 2.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to look up Danish electricity CO2 intensity, day-ahead spot prices, and the cleanest or cheapest hours for DK1 and DK2 using Energinet's open data.
      3
      MIT