mcpField
E
elpriser-mcp

elpriser-mcp

Remote
github.com/x2qFinance0Updated 3d ago
Repository

About elpriser-mcp

elpriser-mcp is an MCP server for electricity prices in Denmark and 40 European zones. It is for users checking current rates, low-cost hours, or forecasts, and can report Danish totals including grid tariffs, taxes, and VAT.

Key features

  1. 01Get current and hourly Danish prices
  2. 02Find the cheapest hours of a day
  3. 03Get a seven-day Danish price forecast
  4. 04Check spot prices in 40 European zones
  5. 05Look up Danish grid companies by location

Use cases

  1. 01Schedule electric vehicle charging
  2. 02Choose lower-cost heat-pump hours
  3. 03Compare spot prices across European zones

MCP support

The MCP server exposes price lookup tools through the public elpriser.org API, including current and hourly prices, forecasts, and grid-company lookup. No API key is required.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://elpriser.org/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npmelpriser-mcp1.1.0

Tools

Details

From the project README

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

ToolWhat it does
get_current_priceCurrent price for this hour (DK1/DK2)
get_today_pricesAll 24 hourly prices for a date
get_cheapest_hoursThe N cheapest hours of the day (EV/heat-pump scheduling)
get_price_forecast7-day forecast (actual for today/tomorrow, estimate beyond)
get_european_pricesHourly 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
find_net_companyNet 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 VAT
  • spot_inkl — spot price incl. 25% VAT
  • inkl_alt (default) — total price incl. all tariffs + electricity tax + VAT
  • inkl_alt_minus — total without electricity tax

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-mcp

Or install globally:

npm install -g elpriser-mcp
elpriser-mcp

Examples

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 varDefaultPurpose
ELPRISER_API_BASEhttps://elpriser.orgOverride 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.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.