elpriser-mcp
Provides MCP tools for Danish electricity prices and net-company lookup.
Get the current hourly electricity price for DK1/DK2, with selectable price modes (raw spot, spot incl. VAT, total price, total without electricity tax).
Get all 24 hourly prices for a given date.
Find the N cheapest hours of a day for scheduling EV charging, heat pumps, etc.
Get a 7-day electricity price forecast.
Look up the Danish net company (netselskab) by latitude/longitude.
Note: The provided schema does not expose the README's get_european_prices tool.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@elpriser-mcp what is the current electricity price in DK1?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
elpriser-mcp
MCP server for electricity prices — Denmark (DK1/DK2, with grid tariffs) and spot prices for 40 European zones: current price, cheapest hours and forecast, straight from elpriser.org.
A Model Context Protocol server that lets an LLM (Claude Desktop, etc.) answer questions like:
"Hvad er elprisen lige nu?" / "What does electricity cost right now in Denmark?"
"Hvornår er strøm billigst i morgen?" — find the cheapest hours to charge the EV / run the heat pump
"Vis elpriser i dag time for time for DK2"
"Hvordan ser elprisprognosen ud de næste 7 dage?"
"What is the electricity price in Germany / Spain / Norway (NO2) today?"
Data comes from the free, public elpriser.org API, which is sourced from Energi Data Service (Energinet) / Nord Pool. Prices can be the raw spot price or the total price you actually pay per kWh (incl. system & transmission tariffs, electricity tax and 25% VAT). No API key required.
Tools
Tool | What it does |
| Current price for this hour (DK1/DK2) |
| All 24 hourly prices for a date |
| The N cheapest hours of the day (EV/heat-pump scheduling) |
| 7-day forecast (actual for today/tomorrow, estimate beyond) |
| Hourly spot prices (EUR/MWh, no VAT or taxes) for 40 European zones: Nordics, NL, DE, FR, PL, IT-North, AT, BE, CH, CZ, HU, SI, ES, PT, SK, GR, RO, BG, HR, RS, Baltics, ME, MK, AL, IE, GB, XK — with the forecast days where elpriser.org has one |
| Net company (netselskab) for a lat/lng — for exact total price |
The Danish tools take an area (DK1 or DK2, default DK1) and most take a mode:
spot_ex— raw spot price, no VATspot_inkl— spot price incl. 25% VATinkl_alt(default) — total price incl. all tariffs + electricity tax + VATinkl_alt_minus— total without electricity tax
Related MCP server: aria-mcp-elpriser
Install
Requires Node.js ≥ 18.
Claude Desktop
Add to your claude_desktop_config.json
(macOS: ~/Library/Application Support/Claude/claude_desktop_config.json,
Windows: %APPDATA%\Claude\claude_desktop_config.json):
{
"mcpServers": {
"elpriser": {
"command": "npx",
"args": ["-y", "elpriser-mcp"]
}
}
}Restart Claude Desktop. You should see the elpriser tools available.
Any other MCP client
Run the server over stdio:
npx -y elpriser-mcpOr install globally:
npm install -g elpriser-mcp
elpriser-mcpExamples
You: Hvornår er strøm billigst i morgen i DK1?
Claude (calls
get_cheapest_hours area=DK1 hours=5 date=…): De billigste timer i morgen er 02–05 og 13–14 …
Configuration
Env var | Default | Purpose |
|
| Override the API base (e.g. for testing). |
How it works
elpriser-mcp is a thin wrapper over the public elpriser.org REST API
(/api/now, /api/prices, /api/schedule, /api/forecast,
/api/supplierlookup). The full OpenAPI 3.1 spec lives at
https://elpriser.org/api/openapi.json and human docs at
https://elpriser.org/api.
License
MIT © elpriser.org
Built and maintained alongside elpriser.org — aktuelle elpriser og spotpriser time for time for hele Danmark.
Available Tools
5 toolsfind_net_companyAInspect
Look up the Danish net company (netselskab) for a location by latitude/longitude — needed to compute the exact total price for an address. Use for "hvilket netselskab har jeg".
Inputs: lat (required), lng (required).
get_cheapest_hoursAInspect
Find the N cheapest hours of the day for a price zone — for scheduling EV charging, heat pump, dishwasher etc. Use for "hvornår er strøm billigst i dag/i morgen".
Inputs: area, mode, hours, date.
get_current_priceAInspect
Get the current Danish electricity price (this hour) for a price zone. Use for "hvad er elprisen lige nu / hvad koster strøm nu".
Inputs: area, mode.
get_price_forecastAInspect
Get a 7-day electricity price forecast for a price zone (actual day-ahead prices for today/tomorrow, weather-corrected estimate beyond). Use for "elpriser de næste dage / prognose".
Inputs: area, mode.
get_today_pricesAInspect
Get all 24 hourly electricity prices for a given date (default: today) in a price zone. Use for "elpriser i dag / time for time".
Inputs: area, mode, date.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct aspect of electricity pricing: net company lookup, cheapest hours, current price, forecast, and hourly prices. No overlap or ambiguity.
Most tools use the 'get_' prefix (get_cheapest_hours, get_current_price, get_price_forecast, get_today_prices), but one tool uses 'find_' (find_net_company), introducing a minor inconsistency.
Five tools cover the core needs of Danish electricity price queries without being excessive or insufficient. The count is well-scoped for the domain.
The set covers current price, daily/hourly prices, cheapest hours, forecast, and net company lookup. Missing historical price retrieval, but the essential workflows are supported.
Related MCP Connectors
Energi Data Service (Energinet) MCP — Denmark's official open energy data. Keyless. Electricity…
Real-time electricity price signals for AI agents. Spot prices, cheapest hours, and contract recommendations. 31 countries across Europe and Oceania. No authentication required.
AEMO MCP server for Australia's National Electricity Market: prices, generation, FCAS, bids.
Real-time electricity prices for AI agents. 40+ countries, 100+ zones. No auth required.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides access to Danish energy data from Energinet, including real-time electricity spot prices, CO2 emissions, and production mix. It enables users to monitor grid status and identify the most cost-effective hours for energy-intensive tasks.4MIT
- AlicenseAqualityCmaintenanceMCP server for fetching Danish electricity spot prices (DK1/DK2) using the free elprisenligenu.dk API, providing tools to get current price, cheapest hours, and price summaries.4MIT
- FlicenseNot gradedqualityCmaintenanceA read-only MCP server that exposes European day-ahead electricity prices for ~41 bidding zones via tools like hourly prices, cheapest hours, current price, and cross-zone summary, enabling AI agents to query energy market data.1-
- AlicenseNot gradedqualityDmaintenanceMCP server that gives AI agents real-time German electricity price forecasts.2MIT