Elpriser MCP
Danish and European electricity prices, cheapest hours and forecasts, no API key
Elpriser MCP is an open-source MCP server for energy and smart home. It can run locally on your machine or as a hosted remote server.
- Pricing
- Open source
- Platforms
- CLI, API, Self-hosted
- Runs
- Locally or Remotely
- What it can do
- Read-only
- Version
- 1.1.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http elpriser-mcp https://elpriser.org/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"elpriser-mcp": {
"type": "http",
"url": "https://elpriser.org/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://elpriser.org/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"elpriser-mcp": {
"url": "https://elpriser.org/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"elpriser-mcp": {
"type": "http",
"url": "https://elpriser.org/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://elpriser.org/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add elpriser-mcp --url https://elpriser.org/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.elpriser-mcp]
url = "https://elpriser.org/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://elpriser.org/mcpEnter a Name (for example "Elpriser MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"elpriser-mcp": {
"type": "http",
"url": "https://elpriser.org/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "elpriser-mcp": { "httpUrl": "https://elpriser.org/mcp" } } }Or run: gemini mcp add -s user --transport http elpriser-mcp https://elpriser.org/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "elpriser-mcp": { "serverUrl": "https://elpriser.org/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "elpriser-mcp": { "url": "https://elpriser.org/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "elpriser-mcp": { "type": "streamableHttp", "url": "https://elpriser.org/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "elpriser-mcp": { "url": "https://elpriser.org/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "elpriser-mcp": { "url": "https://elpriser.org/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "elpriser-mcp": { "url": "https://elpriser.org/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "elpriser-mcp": { "url": "https://elpriser.org/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About Elpriser MCP
Built for questions like when to charge an EV or run a heat pump, this server answers in Danish or English from the free elpriser.org API, which sources Energi Data Service and Nord Pool data. For Denmark it covers the DK1 and DK2 areas, and prices can be the raw spot price or the total you actually pay including tariffs, electricity tax and 25 percent VAT.
Six tools cover the current price, all 24 hours of a date, the cheapest N hours, a seven-day forecast, hourly spot prices for about 40 European zones in EUR per MWh, and a lookup of the grid company for a latitude and longitude. The price mode switches between spot without VAT, spot with VAT, a total with every charge, and the total without electricity tax.
It runs over stdio through npm or as a remote streamable HTTP endpoint at elpriser.org, needs Node.js 18 or later for local use, and is MIT-licensed. The API base can be overridden with ELPRISER_API_BASE.
Tools this server provides (6)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, all 6 tools only read data.
From the server's own tool labels and tool names; not verified by us.
- get_current_priceName suggests: reads
- Returns the current hour's price for DK1 or DK2.
- get_today_pricesName suggests: reads
- Returns all 24 hourly prices for a date.
- get_cheapest_hoursName suggests: reads
- Returns the N cheapest hours of a day.
- get_price_forecastName suggests: reads
- Returns a 7-day price forecast.
- get_european_pricesName suggests: reads
- Returns hourly spot prices for about 40 European zones.
- find_net_companyName suggests: reads
- Finds the net company for a latitude and longitude.
What it does
- Danish area prices
- Current and hourly prices for DK1 and DK2.
- Four price modes
- Raw spot, spot with VAT, full total or total without electricity tax.
- Cheapest hours
- Finds the N cheapest hours for scheduling charging or heating.
- Seven-day forecast
- Actual prices for today and tomorrow, estimates beyond.
- European zones
- Hourly spot prices for about 40 zones in EUR per MWh.
- Grid company lookup
- Finds the net company for a location to get exact totals.
Good for
- Schedule EV charging in the cheapest hours
- Time a heat pump or washing run
- Compare today's price in Germany, Spain or Norway
- Plan around the next seven days of prices
- Work out the total price per kWh including tariffs
Pricing
Open source
Elpriser MCP FAQ
Do I need an API key?
No key is required.
Where does the data come from?
The elpriser.org API, sourced from Energi Data Service and Nord Pool.
Which Danish areas are covered?
DK1 and DK2, with DK1 as the default.
Are European prices with taxes?
No, they are spot prices in EUR per MWh without VAT or taxes.
What Node.js version is needed?
Node.js 18 or later for the local package.
How do I add Elpriser MCP to Claude Code?
Run this command in your terminal: claude mcp add --transport http elpriser-mcp https://elpriser.org/mcp
What are the best alternatives to Elpriser MCP?
The closest alternatives to Elpriser MCP are Gezegen Solar, Solar Israel (סולאר ישראל), GeoMaster Atlas, WattAnalysis Data and Sähködiili.fi – Finnish Electricity Comparison.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

