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 分