# Elpriser MCP

> Elpriser MCP is an open-source MCP server for energy and smart home. Danish and European electricity prices, cheapest hours and forecasts, no API key. It can run locally on your machine or as a hosted remote server.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted
- **Repository:** https://github.com/x2q/elpriser-mcp
- **MCP Registry name:** io.github.x2q/elpriser-mcp
- **Categories:** [energy and smart home](https://ai-powered.com/categories/energy-and-smart-home)
- **Listing updated:** 2026-11-23

## About

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.

## Features

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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http elpriser-mcp https://elpriser.org/mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "elpriser-mcp": {
      "type": "http",
      "url": "https://elpriser.org/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://elpriser.org/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "elpriser-mcp": {
      "url": "https://elpriser.org/mcp"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```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.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://elpriser.org/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add elpriser-mcp --url https://elpriser.org/mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.elpriser-mcp]
url = "https://elpriser.org/mcp"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "elpriser-mcp": {
      "httpUrl": "https://elpriser.org/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http elpriser-mcp https://elpriser.org/mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "elpriser-mcp": {
      "serverUrl": "https://elpriser.org/mcp"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "elpriser-mcp": {
      "type": "streamableHttp",
      "url": "https://elpriser.org/mcp"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "elpriser-mcp": {
      "url": "https://elpriser.org/mcp"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "elpriser-mcp": {
      "url": "https://elpriser.org/mcp"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "elpriser-mcp": {
      "url": "https://elpriser.org/mcp"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://elpriser.org/mcp
```

Enter a Name (for example "Elpriser MCP"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "elpriser-mcp": {
      "type": "http",
      "url": "https://elpriser.org/mcp"
    }
  }
}
```

## Tools

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_price` (name suggests: reads): Returns the current hour's price for DK1 or DK2.
- `get_today_prices` (name suggests: reads): Returns all 24 hourly prices for a date.
- `get_cheapest_hours` (name suggests: reads): Returns the N cheapest hours of a day.
- `get_price_forecast` (name suggests: reads): Returns a 7-day price forecast.
- `get_european_prices` (name suggests: reads): Returns hourly spot prices for about 40 European zones.
- `find_net_company` (name suggests: reads): Finds the net company for a latitude and longitude.

## 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.

## Alternatives

- [Gezegen Solar](https://ai-powered.com/mcp/gezegen-solar): Gezegen Solar is a free MCP server for energy and smart home.
- [Solar Israel (סולאר ישראל)](https://ai-powered.com/mcp/solar-israel): Solar Israel (סולאר ישראל) is a free MCP server for energy and smart home.
- [GeoMaster Atlas](https://ai-powered.com/mcp/geomaster-atlas): GeoMaster Atlas is a free MCP server for energy and smart home.
- [WattAnalysis Data](https://ai-powered.com/mcp/wattanalysis-data): WattAnalysis Data is an open-source MCP server for energy and smart home.
- [Sähködiili.fi – Finnish Electricity Comparison](https://ai-powered.com/mcp/sahkodiili-fi-finnish-electricity-comparison): Sähködiili.fi – Finnish Electricity Comparison is a free MCP server for energy and smart home.
- [Battery Payback](https://ai-powered.com/mcp/battery-payback): Battery Payback is a free MCP server for energy and smart home.
- [Grid Status](https://ai-powered.com/mcp/grid-status): Grid Status is a freemium MCP server for energy and smart home.
- [AI Datacenter Compute-Energy, Grid Arbitrage & Robotics Fleet MCP](https://ai-powered.com/mcp/ai-datacenter-compute-energy-grid-arbitrage-and-robotics-fle): AI Datacenter Compute-Energy, Grid Arbitrage & Robotics Fleet MCP is a freemium MCP server for cloud and infrastructure.

---
Source: https://ai-powered.com/mcp/elpriser-mcp
