aria-mcp-elpriser

aria-mcp-elpriser

MCP server for fetching Danish electricity spot prices (DK1/DK2) using the free elprisenligenu.dk API, providing tools to get current price, cheapest hours, and price summaries.

Category
访问服务器

README

aria-mcp-elpriser

MCP server exposing Danish electricity spot prices (DK1/DK2) — keyless, open-source.

Designed for use with ARIA, Kim Hjort's personal AI assistant, but works with any MCP-compatible client.

What it does

Provides four tools to fetch real-time and day-ahead Danish electricity spot prices from elprisenligenu.dk, which publishes Nord Pool spot prices sourced via Energi Data Service.

Important: All prices are raw Nord Pool spot prices and exclude Danish taxes, tariffs (Energinet, network operator), and transport costs. The total consumer price on your electricity bill is significantly higher.

Tools

Tool Description
get_prices Hourly spot prices for a date (24 entries with local Copenhagen timestamps)
get_current_price Spot price for the current hour
get_cheapest_hours The N cheapest hours for a date, sorted ascending by price
get_price_summary Min / max / avg + cheapest and most expensive hour for a date

get_prices({ area?, date? })

Returns an array of 24 hourly { DKK_per_kWh, time_start_local, time_end_local } entries.

get_current_price({ area? })

Returns the single entry covering the current Europe/Copenhagen hour.

get_cheapest_hours({ area?, date?, count? })

Returns the count cheapest hours (default 3) sorted by price ascending. Use this to advise on the best time to run the dishwasher or charge an EV.

get_price_summary({ area?, date? })

Returns { area, date, min_DKK_per_kWh, max_DKK_per_kWh, avg_DKK_per_kWh, cheapest_hour, most_expensive_hour }.

Common parameters

  • area"DK1" (West Denmark, postal codes > 4999) or "DK2" (East Denmark). Defaults to the DEFAULT_PRICE_AREA env var, or "DK2" if not set.
  • date"today" (default), "tomorrow", or "YYYY-MM-DD".

Tomorrow's prices

Tomorrow's prices are published by Nord Pool around 13:00 CET. Before that, the API returns 404 and the tools return a clear message asking to try again later.

Data source & attribution

Requirements

  • Node.js >= 20 (uses global fetch and Intl.DateTimeFormat)

Environment variables

Variable Default Description
DEFAULT_PRICE_AREA DK2 Default price area when the area parameter is omitted. Set to DK1 for West Denmark.

ARIA configuration

Add to your ARIA McpServers configuration:

{
  "Name": "elpriser",
  "Command": "npx",
  "Args": ["-y", "aria-mcp-elpriser"],
  "Env": {
    "DEFAULT_PRICE_AREA": "DK2"
  }
}

Omit the Env block to use the default (DK2). Set DEFAULT_PRICE_AREA to DK1 if you are on West Denmark (postal codes above 4999, i.e. Jutland and Funen outside the Lillebælt bridge area).

Development

npm install
npm run build
npm test
node dist/index.js   # runs the stdio MCP server

License

MIT — see LICENSE.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选