Endpoints
-
GETConcise endpoint index for AI agents
/llms.txt - Full reference: parameters and examples
-
POSTMCP JSON-RPC 2.0 endpoint — 16 tools, one per rates/energy REST endpoint (symbols, latest, historical, timeseries, fluctuation, ohlc, electricity_latest, electricity_hourly, electricity_pvpc, gas_latest, emissions_latest, coal_latest, carbon_intensity, forecast, cost_estimate, status)
/mcp - The 16 tools as JSON
Quick start
Add to your MCP client config
// e.g. Claude Desktop, Cursor .cursor/mcp.json { "mcpServers": { "energy-api": { "url": "https://mcp.energy-api.com/mcp?apikey=YOUR_KEY" } } }
No key yet? Sign up at https://energy-api.com/register (free trial available), then generate a key at https://energy-api.com/api-keys. Every tool requires a key — there is no free/unauthenticated tool.