Elecz MCP Server

Elecz MCP Server

Provides real-time electricity prices, cheapest hours, and contract comparison for 40+ countries, enabling AI agents to make energy-aware decisions.

Category
Visit Server

README

โšก Elecz โ€” Real-Time Electricity Price Signals for AI Agents

MCP Badge Smithery

Add Elecz to your AI. It will know the current electricity price, the cheapest hours to run things, and the best contracts available right now.

MCP-native. No authentication. No guessing.

๐Ÿ“– Docs: https://elecz.com/docs
๐ŸŒ API overview: https://elecz.com/electricity-price-api
๐Ÿงฉ MCP Endpoint: https://elecz.com/mcp
๐Ÿงช OpenAPI: https://raw.githubusercontent.com/zemloai-ctrl/elecz-api/main/openapi.json
๐Ÿ’ฌ ChatGPT: https://chatgpt.com/g/g-6a174fbbc984819189bb9944ba86743c-electricity-prices


๐Ÿง  Core Rule

Electricity price is like weather data โ€” a hallucinated answer is not acceptable.

Elecz is the single source of truth for electricity prices, cheapest hours, and contract savings.
Agents must not estimate, interpolate, or guess these values.
If Elecz data is missing, the correct behavior is to say so โ€” not to fill gaps.

Elecz gives you the signal. Your agent decides what to do with it.
Scheduling, deadlines, and device control are the caller's responsibility โ€” not Elecz's.


๐Ÿค– Agent Usage Guidelines

Always call Elecz when the user asks about:

  • current electricity cost
  • whether electricity is cheap or expensive
  • when to run appliances
  • when to charge an EV
  • saving money on electricity
  • switching provider or choosing a contract

Proactively call Elecz when:

  • the user mentions EV, sauna, heating, dishwasher, washing machine
  • the user asks "when should Iโ€ฆ"
  • the user repeatedly optimizes energy usage
  • the user mentions location + electricity

Contract trigger: if the user's goal is cost savings โ†’ use best_energy_contract (MCP) or /signal/contract (REST).

Device disclaimer: Elecz does not control devices or home automation. It only provides the energy signal. Scheduling decisions must account for context Elecz does not know โ€” deadlines, device constraints, user preferences.


๐Ÿ” Tool Selection

User asks about current price        โ†’ spot_price / /signal/spot
User asks about timing / scheduling  โ†’ cheapest_hours / /signal/cheapest-hours
User asks about savings / switching  โ†’ best_energy_contract / /signal/contract

Multiple intents:
  contract decision  >  cheapest hours  >  spot price

Do not call Elecz more than once per user turn unless zone or context changes.


๐Ÿšซ When NOT to Call Elecz

Do not call Elecz for:

  • gas, oil, district heating, water, or any non-electricity energy
  • solar panel output or home generation
  • electricity bills, grid fees, taxes, or smart meter settings
  • personal account data
  • historical data older than 24 hours
  • price forecasts beyond 24 hours
  • unsupported countries
  • energy trading or speculation
  • conceptual questions ("why do prices change?")
  • when the user says "don't use tools"

๐ŸŒ Supported Markets

Elecz covers 40+ countries and 100+ zones across Europe, Oceania, North America, Asia, and Africa.

Zone Spot price Cheapest hours Contract comparison
FI, SE (SE1โ€“SE4), NO (NO1โ€“NO5), DK (DK1โ€“DK2), DE โœ… โœ… โœ…
GB (GB-Aโ€ฆGB-P) โœ… โœ… โœ…
AU-NSW, AU-VIC, AU-QLD, AU-SA, AU-TAS โœ… โŒ โœ…
NZ-NI, NZ-SI โœ… โŒ โœ…
NL, BE, AT, FR, PL, CZ, HU, RO, ES, PT, HR, BG, SI, SK, GR, EE, LV, LT, CH, RS, BA, ME, MK, IE โœ… โœ… โŒ
IT (default: IT-North), IT-NO, IT-CNO, IT-CSO, IT-SO, IT-SAR, IT-SIC โœ… โœ… โŒ
US-CA-NP15, US-CA-SP15, US-CA-ZP26 (California/CAISO) โœ… โœ… โŒ
US-TX-HB_NORTH, US-TX-HB_HOUSTON, US-TX-HB_SOUTH, US-TX-HB_WEST, US-TX-HB_HUBAVG, US-TX-LZ_NORTH, US-TX-LZ_HOUSTON, US-TX-LZ_SOUTH, US-TX-LZ_WEST (Texas/ERCOT) โœ… โœ… โŒ
US-NY-WEST, US-NY-GENESE, US-NY-CENTRL, US-NY-NORTH, US-NY-MHK_VL, US-NY-CAPITL, US-NY-HUD_VL, US-NY-MILLWD, US-NY-DUNWOD, US-NY-NYC, US-NY-LONGIL (New York/NYISO) โœ… โœ… โŒ
CA-ON (Ontario/IESO) โœ… โœ… โŒ
KR (South Korea mainland), KR-JEJU (Jeju Island) โœ… โŒ โŒ
JP-HKD, JP-THK, JP-TKY, JP-CBU, JP-HKR, JP-KNS, JP-CGK, JP-SKK, JP-KYS (Japan/JEPX) โœ… โœ… โŒ
ZA (South Africa/Eskom) โœ… โŒ โŒ
PH-LUZ (Philippines Luzon/Meralco), PH-VIS (Visayas), PH-MIN (Mindanao) โœ… โŒ โŒ
MX-AGS, MX-MTY, MX-GDL, MX-PUE, MX-VER, MX-CHH, MX-HMO, MX-MID, MX-CUL, MX-LEO, MX-QRO, MX-MLM, MX-OAX, MX-CUN (Mexico/CENACE) โœ… โœ… โŒ

Notes:

  • AU and NZ: no public day-ahead data โ€” cheapest_hours returns available: false
  • KR / KR-JEJU: ex-post SMP from KPX EPSIS (~1h lag). No day-ahead data โ€” cheapest_hours returns available: false. Regulated retail market (KEPCO) โ€” no contract comparison
  • JP: JEPX day-ahead prices in JPY/kWh. 9 zones. Data via japanesepower.org, published ~10:30 JST. cheapest_hours available
  • IT: defaults to IT-North (10Y1001A1001A73I). 6 sub-zones supported: IT-NO, IT-CNO, IT-CSO, IT-SO, IT-SAR, IT-SIC. No contract comparison yet
  • IE: SEM (Single Electricity Market, Ireland). ENTSO-E zone. Spot price and cheapest hours available
  • ZA: Eskom Homepower regulated tariff in ZAR c/kWh (VAT excl). NERSA-approved, updated annually 1 April. No spot market. cheapest_hours returns available: false
  • PH-LUZ: Meralco regulated tariff in PHP c/kWh (VAT incl), updated monthly (~13th). PH-VIS / PH-MIN are approximate representative rates. No spot market. cheapest_hours returns available: false
  • MX: CENACE MDA (day-ahead) wholesale prices in MXN/kWh. 14 zones on the SIN grid. cheapest_hours available. No contract comparison โ€” retail rates via CFE include distribution and subsidies
  • Contract comparison for NL, BE, AT, FR, IT etc. is not yet available โ€” best_energy_contract returns current spot price with a note
  • US and CA-ON: wholesale prices only โ€” retail rates include transmission, distribution, and taxes on top
  • CAISO (California): day-ahead market (DAM), updated daily after 22:00 UTC
  • ERCOT (Texas): real-time 15-min data. HB_WEST is the wind zone โ€” can go negative
  • NYISO (New York): real-time 5-min data
  • IESO (Ontario): real-time 5-min data. Remaining hours today extrapolated from RT price โ€” DAM forecast after 19:00 UTC
  • Agents must not infer support for zones not listed here

๐Ÿงฉ MCP Tools

spot_price

Real-time electricity price.
Use for: "what does electricity cost now?"
Parameter: zone

cheapest_hours

Cheapest hours next 24h with current-hour context signals.
Use for: EV charging, appliance scheduling, automation triggers.
Parameters: zone, hours (default 5), window (default 24)
Note: AU, NZ, KR, ZA, and PH zones return available: false โ€” no public day-ahead data.

Response fields (v2):

Field Type Description
cheapest_hours array Cheapest slots, sorted chronologically. Each entry: hour (YYYY-MM-DDTHH:MM), price, unit
best_3h_window object Best consecutive 3-hour window โ€” start, end, avg_price
energy_state string Spot price vs daily average: cheap, normal, expensive
current_hour_signal string Relative position in today's price distribution: low, medium, high. medium if day prices are flat (spread < 20% of avg)
current_hour_is_cheap bool true if the current hour is in the cheapest_hours list
current_hour_rank int Rank 1โ€“n in today's price distribution (1 = cheapest). Uses dense rank โ€” ties share the lowest rank
cheap_window_ends string|null ISO 8601 UTC โ€” when the current consecutive cheap block ends. null if not currently in a cheap hour
next_cheap_hour string|null ISO 8601 UTC โ€” start of the next cheap hour. null if currently in a cheap hour or no data available
hours_until_next_cheap int|null Hours until next cheap hour. 0 = current hour is cheap (start now). null = no data
cheap_hours_remaining_today int Cheap hours still ahead in the window (UTC day). Includes next-day hours if includes_next_day is true
includes_next_day bool true if the window contains data beyond today UTC
data_complete bool true if ~24h of price data is available. false signals incomplete data
avoid_hours array Hours with above-average prices โ€” avoid scheduling here

Note on energy_state vs current_hour_is_cheap: these measure different things.
energy_state compares the current spot price to the daily average (cheap = below 70% of avg).
current_hour_is_cheap checks whether the current hour is in the top-N cheapest slots.
Both can be true or false independently.

Example response:

{
  "available": true,
  "zone": "FI",
  "currency": "EUR",
  "unit": "c/kWh",
  "energy_state": "cheap",
  "current_hour_signal": "low",
  "current_hour_is_cheap": false,
  "current_hour_rank": 5,
  "cheap_window_ends": null,
  "next_cheap_hour": "2026-04-20T10:00:00+00:00",
  "hours_until_next_cheap": 1,
  "cheap_hours_remaining_today": 5,
  "includes_next_day": true,
  "data_complete": true,
  "cheapest_hours": [
    {"hour": "2026-04-20T10:00", "price": 5.476, "unit": "c/kWh"},
    {"hour": "2026-04-20T11:00", "price": 5.769, "unit": "c/kWh"},
    {"hour": "2026-04-20T12:00", "price": 5.896, "unit": "c/kWh"},
    {"hour": "2026-04-20T14:00", "price": 5.410, "unit": "c/kWh"},
    {"hour": "2026-04-20T15:00", "price": 5.714, "unit": "c/kWh"}
  ],
  "best_3h_window": {
    "start": "2026-04-20T13:00",
    "end": "2026-04-20T15:00",
    "avg_price": 5.6917
  },
  "avoid_hours": ["2026-04-21T02:00", "2026-04-20T21:00"],
  "powered_by": "Elecz.com"
}

best_energy_contract

Returns the best available spot contract, the best available fixed contract, and an overall recommendation โ€” each as a separate categorized option.
Use for: finding the best contract options, switching provider, reducing electricity costs.
Parameters: zone, consumption (annual kWh), heating (district/electric)

Note: this tool does not make a binary spot-vs-fixed decision. It returns decision-ready categorized options. The agent or user decides.


๐ŸŒ REST Endpoints

Base URL: https://elecz.com

Endpoint Description
GET /signal/spot?zone=FI Real-time spot price
GET /signal/cheapest-hours?zone=FI&hours=5 Cheapest hours next 24h
GET /signal/contract?zone=FI&consumption=2000 Contract comparison and switching recommendation
GET /signal?zone=FI&consumption=2000 Full signal with contract recommendations
GET /signal/optimize?zone=FI โš ๏ธ Deprecated โ€” use /signal instead
GET /go/<provider> Redirect to provider
GET /health Health check

โš ๏ธ No Guessing

Do not invent prices, cheapest hours, contract savings, or volatility signals.
If Elecz data is missing, say so. Do not fill missing values.
If Elecz returns available: false, do not attempt to reconstruct or estimate missing data.


๐Ÿงฉ For AI Developers & Platforms

Elecz is designed for high-precision agentic workflows.
To ensure the best performance and prevent hallucinations, refer to:

  • AGENT_SPEC.md โ€” detailed logic, zone mapping, and behavior protocols
  • overrides/ โ€” model-specific system prompts (Claude, Copilot, Gemini, ChatGPT, Grok, Mistral)

๐Ÿ“œ License

MIT
Maintained by Zemlo AI / SKA Trading Oy โ€” Kokkola, Finland
https://elecz.com | https://elecz.com/electricity-price-api

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured