urdb_rate_detail
Pack: openei-urdb · Endpoint: https://gateway.pipeworx.io/openei-urdb/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/urdb_rate_detail for the schema, then POST the same URL with its arguments for the data.
Get the FULL structure of one US electricity tariff by its URDB label — every energy-charge tier and time-of-use period, the 12x24 month-by-hour period schedules for weekdays and weekends, demand charges, flat demand by month, minimum monthly charge, voltage category and service type. This is what you need to actually compute a bill. Labels come from urdb_search_rates.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
label | string | yes | URDB rate label (24-char hex id) from urdb_search_rates, e.g. “539f6b25ec4f024411ec98c9” |
_apiKey | string | no | Your own free NREL API key. Optional — the shared DEMO_KEY works at a low rate limit. |
Example call
Arguments
{
"label": "539f6b25ec4f024411ec98c9"
}
curl
curl -X POST https://gateway.pipeworx.io/openei-urdb/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"urdb_rate_detail","arguments":{"label":"539f6b25ec4f024411ec98c9"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('urdb_rate_detail', {
"label": "539f6b25ec4f024411ec98c9"
});
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"openei-urdb": {
"url": "https://gateway.pipeworx.io/openei-urdb/mcp"
}
}
}
See Getting Started for client-specific install steps.