Danish Energy MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
npm install
node src/index.js
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add danish-energy -- node "<FULL_PATH_TO_MCP_DANISH_ENERGY>/dist/index.js"

Replace <FULL_PATH_TO_MCP_DANISH_ENERGY>/dist/index.js with the actual folder you prepared in step 1.

README.md

Provides access to Danish energy data from Energinet

mcp-danish-energy ⚡

MCP server for Danish energy data from Energi Data Service (Energinet).

Part of the Nordic MCP Toolkit — open-source MCP servers for Danish/Nordic data sources.

Features

  • Electricity spot prices — hourly Elspot prices for DK1/DK2, with averages and ranges
  • CO2 emissions — real-time emission intensity (g CO2/kWh) with 5-minute resolution
  • Energy production mix — wind (offshore/onshore), solar, conventional, and cross-border exchange
  • Cheapest hours — find optimal times for EV charging, laundry, heat pumps

Tools

Tool Description
electricity_prices Current and upcoming spot prices
co2_emissions Real-time CO2 emission intensity
energy_mix Live production breakdown with renewable share
cheapest_hours Find cheapest hours (individual or consecutive blocks)

Quick Start

# Install dependencies
npm install

# Run
node src/index.js

Claude Desktop Configuration

{
  "mcpServers": {
    "danish-energy": {
      "command": "node",
      "args": ["/path/to/mcp-danish-energy/src/index.js"]
    }
  }
}

Price Areas

Denmark is split into two electricity price areas:

  • DK1 — Western Denmark (Jutland and Funen, west of Storebælt)
  • DK2 — Eastern Denmark (Zealand, Lolland-Falster, Bornholm, east of Storebælt)

You can use area codes (DK1, DK2) or city/region names (Copenhagen, Aarhus, etc.).

Data Source

All data comes from Energi Data Service by Energinet, Denmark's transmission system operator. The API is free, requires no authentication, and provides real-time data with 5-minute resolution.

Nordic MCP Toolkit

Server Data Source Status
mcp-danish-cvr Company registry (CVR)
mcp-danish-addresses Address lookup (DAWA)
mcp-danish-weather Weather (DMI)
mcp-danish-energy Energy (Energinet) ✅ NEW

License

MIT

Tools (4)

electricity_pricesRetrieves current and upcoming electricity spot prices for specific areas.
co2_emissionsProvides real-time CO2 emission intensity data.
energy_mixReturns the live energy production breakdown including renewable shares.
cheapest_hoursIdentifies the most cost-effective hours for energy consumption.

Configuration

claude_desktop_config.json
{"mcpServers": {"danish-energy": {"command": "node", "args": ["/path/to/mcp-danish-energy/src/index.js"]}}}

Try it

What are the current electricity spot prices in DK1?
When is the cheapest time to run my laundry in Copenhagen today?
What is the current CO2 emission intensity for electricity in Denmark?
Show me the current energy production mix for DK2.

Frequently Asked Questions

What are the key features of Danish Energy?

Hourly Elspot prices for DK1 and DK2 areas. Real-time CO2 emission intensity with 5-minute resolution. Live energy production mix including wind, solar, and conventional sources. Optimization tool to find cheapest hours for energy-intensive tasks.

What can I use Danish Energy for?

Scheduling EV charging during the cheapest electricity price windows. Monitoring real-time grid carbon intensity for sustainable computing. Analyzing energy production trends for Danish grid regions. Planning household energy usage to minimize costs and environmental impact.

How do I install Danish Energy?

Install Danish Energy by running: npm install && node src/index.js

What MCP clients work with Danish Energy?

Danish Energy works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Danish Energy docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare