Elpriser Mcp

io.github.x2q由 GitHub 账号 x2q 发布v1.1.0更新于 Nov 3, 2026

丹麦及40个欧洲区域的电价:现货价格、最便宜时段、预测。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Electricity prices for Denmark and 40 European zones: spot price, cheapest hours, forecast.

已验证Streamable HTTP可网页运行

概览

Elpriser 的托管 MCP 服务(elpriser.org);无需登录;Streamable HTTP;6 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

端点
elpriser.org
最近检查

安装

在 SourceWeft 中

  1. 打开 控制台中的 Elpriser Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.x2q%2Felpriser-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

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

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):

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:

bash
npx -y elpriser-mcp

Or install globally:

bash
npm install -g elpriser-mcpelpriser-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.

来源:README.md,提交 9ba55e7

工具

6

get_current_price

Current Danish electricity price

Get the current Danish electricity price (this hour) for a price zone. Use for "hvad er elprisen lige nu / hvad koster strøm nu".

输入参数areamode

get_today_prices

Hourly Danish prices for a day

Get all 24 hourly electricity prices for a given date (default: today) in a price zone. Use for "elpriser i dag / time for time".

输入参数areadatemode

get_cheapest_hours

Cheapest hours of the day

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

输入参数areadatemodehours

get_price_forecast

Danish price forecast

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

输入参数areamode

get_european_prices

European spot prices

Get spot electricity prices (day-ahead, hourly) for any of 40 European bidding zones: Norway NO1-NO5, Sweden SE1-SE4, Finland, the Netherlands, Germany (de), France, Poland, Northern Italy (it-n), Austria, Belgium, Switzerland, Czechia, Hungary, Slovenia, Spain, Portugal, Slovakia, Greece, Romania, Bulgaria, Croatia, Serbia, Estonia, Latvia, Lithuania, Montenegro, North Macedonia, Albania, Ireland (ie), Kosovo (xk), Great Britain (gb) and Denmark (dk1, dk2). Prices are in EUR/MWh without VAT, taxes or grid fees (Poland and Great Britain also give the local currency in zoneInfo; gb is the within-day Market Index Price in GBP/MWh, not a day-ahead price). Days of type "forecast" are elpriser.org's own statistical estimate, not an official forecast. Use for "what is the electricity price in Germany / Spain / Norway today".

输入参数zone必填

find_net_company

Find the Danish net company

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

输入参数lat必填lng必填

版本历史

1
  1. v1.1.0最新Nov 3, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分