- Home
- MCP servers
- Danish Energy
Danish Energy
- javascript
0
GitHub Stars
javascript
Language
4 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"robobobby-mcp-danish-energy": {
"command": "node",
"args": [
"/path/to/mcp-danish-energy/src/index.js"
]
}
}
}You can use this MCP server to access Danish energy data from Energi Data Service in real time, including electricity spot prices, CO2 emissions, energy production mix, and helpful insights for scheduling activities like EV charging. It exposes these data streams through an MCP client-friendly interface so you can build dashboards, automations, or keep an eye on energy trends across Denmark.
How to use
To start using this MCP server, run it within your MCP client environment. You will interact with the available data streams as distinct tools or endpoints, enabling you to retrieve current values and short-term forecasts for electricity prices, emissions, and the energy mix.
How to install
Prerequisites: ensure you have Node.js installed on your system. You will also need npm to install dependencies.
Step 1: Install dependencies.
Step 2: Run the server.
# Install dependencies
npm install
# Run the server
node src/index.js
Configuration and usage notes
The server can be run directly with Node.js using the path to the main entry point as shown in the runtime example.
Configuration for client setup can include a local runtime command, or you can configure a client to launch the server using a similar command from your environment.
# Example: client-side configuration snippet to reference the local MCP server
{
"mcpServers": {
"danish-energy": {
"command": "node",
"args": ["/path/to/mcp-danish-energy/src/index.js"]
}
}
}
Tools and data streams you can access
-
electricity_prices: Current and upcoming spot prices with hourly granularity and summaries.
-
co2_emissions: Real-time CO2 emission intensity with 5-minute resolution.
-
energy_mix: Live production breakdown by source, including renewables and cross-border exchanges.
-
cheapest_hours: Identify the cheapest hours or blocks for activities like EV charging, laundry, or heating.
Notes about data sources and areas
Data comes from Energi Data Service by Energinet, providing real-time energy data with a 5-minute cadence. Denmark is split into price areas DK1 (west) and DK2 (east), and you can refer to these areas by code or by major city names when querying.
Available tools
electricity_prices
Current and upcoming electricity spot prices with hourly granularity for DK1 and DK2.
co2_emissions
Real-time CO2 emission intensity with 5-minute resolution.
energy_mix
Live production breakdown by source, including wind, solar, conventional, and cross-border exchange.
cheapest_hours
Find the cheapest hours or consecutive blocks for energy-intensive activities.