Language

MCP server · Claude, ChatGPT, Cursor, VS Code

Electricity price forecasts in your AI assistant

Ask your assistant “When should I charge my car tonight in DK1?” and it answers with real numbers: published day-ahead prices, our forecast for the hours nobody has published yet, and grid CO2 for 37 European bidding zones.

Server address: https://api.energypriceforecast.eu/mcp

What the assistant can look up

ToolWhat it returns
list_zonesThe 37 zones with currency, whether published prices are passed on (otherwise forecast only, for licence reasons) and CO2 availability.
get_price_forecastHourly or quarter-hourly prices, each marked day_ahead (published) or forecast, with a hint where a price spike is possible.
find_cheapest_windowThe cheapest block of N hours in the coming hours or before a deadline, plus the greenest and a combined price/CO2 block, and how often this pick hit the real cheapest block over the last 30 days. Give the energy in kWh and it adds the cost and the saving against charging straight away.
compare_charging_daysCharge now or wait? Compares the cheapest window of the next 24 hours with the following days and only advises waiting when the gap is larger than the measured forecast error. Also says how often waiting a day actually paid off over the last 30 days.
get_co2_forecastGrid CO2 intensity (gCO2e/kWh, consumption-based) hour by hour, up to 120 hours.
get_forecast_qualityHow accurate the forecast for a zone was over the last 30 days, measured against the prices published afterwards.

Prices are wholesale base prices without grid fees, taxes or VAT. A cheap hour only saves money with a dynamic electricity contract.

Example questions

Set it up

Claude (claude.ai and the desktop app)

Under Settings → Connectors, add a custom connector with the address https://api.energypriceforecast.eu/mcp. No sign-in is needed.

ChatGPT

Turn on developer mode in the settings (Apps & Connectors → Advanced), then create a connector with the same address and no authentication.

Claude Code

claude mcp add --transport http energypriceforecast https://api.energypriceforecast.eu/mcp

Cursor, VS Code and other clients

{
  "servers": {
    "energypriceforecast": {
      "type": "http",
      "url": "https://api.energypriceforecast.eu/mcp"
    }
  }
}

Menu names in the assistants change from time to time. The server speaks MCP over Streamable HTTP and needs no session. It is listed in the official MCP Registry as eu.energypriceforecast/electricity-price-forecast; documentation and issues on GitHub.

120 hours with Private Pro

Send your personal key as a header on the connection: Authorization: Bearer YOUR_KEY (or X-API-Key). The key is never a question to the assistant, so it does not end up in your chat history. Clients that let you set headers, such as Claude Code, Cursor and VS Code, support this; the custom connectors in claude.ai and ChatGPT currently use the free horizon.

claude mcp add --transport http energypriceforecast https://api.energypriceforecast.eu/mcp --header "Authorization: Bearer YOUR_KEY"

Rules and limits