utility_rates

Pack: nrel · Endpoint: https://gateway.pipeworx.io/nrel/mcp

Electricity utility rates ($/kWh) for a location: the serving utility plus average residential, commercial, and industrial rates. Example: utility_rates({ lat: 40.0, lon: -105.25 })

Parameters

NameTypeRequiredDescription
latnumberyesLatitude in decimal degrees, e.g. 40.0
lonnumberyesLongitude in decimal degrees, e.g. -105.25
_apiKeystringnoOptional — your own NREL / api.data.gov API key for higher limits; omit to use the shared Pipeworx key.

Example call

curl -X POST https://gateway.pipeworx.io/nrel/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"utility_rates","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "nrel": {
      "url": "https://gateway.pipeworx.io/nrel/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 6, 2026