openei-urdb
This server has a remotely hosted endpoint. Open its connector listing for connection details, authentication requirements, and setup instructions:
@pipeworx/openei-urdb
NREL's Utility Rate Database (URDB) — US electricity tariffs: residential, commercial and industrial rate schedules with their energy charges by tier and time-of-use period, demand charges, fixed monthly charges, net-metering treatment and effective dates, keyed to the utility's EIA id.
Part of Pipeworx — an MCP gateway connecting AI agents to 1867+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
Tools
urdb_search_rates(address? | latitude+longitude | utility | eia_id, sector?, detail?, approved_only?, limit?, offset?, _apiKey?)— search tariffs.urdb_rate_detail(label, _apiKey?)— the full structure of one tariff, including the 12x24 month-by-hour period schedules a bill calculation needs.urdb_utilities_for_location(address? | latitude+longitude | filter, _apiKey?)— which utilities serve a location, with tariff counts and how many are current.
Related MCP server: US ISO Grid MCP
Auth
The OpenEI API takes an api_key. NREL's public DEMO_KEY is accepted and
returns real rows (verified 2026-09-17), so this pack works with no
configuration at a low rate limit — it is not a gated pack.
Callers who exceed the DEMO_KEY limit pass their own free NREL key as
_apiKey. Free key: https://developer.nrel.gov/signup/
A platform key would be read from the injected _platformKey argument
(PLATFORM_NREL_KEY). It is not declared as platformKeyEnv in the pack
manifest and must not be until the secret actually exists: the gateway is at
Cloudflare's 250-text-binding cap, and declaring the flag without the secret
would route rate questions to a tool that could only refuse.
Data sources
https://api.openei.org/utility_rates?version=latest — rate search and detail.
https://api.openei.org/utility_companies?version=latest — utility name directory.
developer.nrel.gov/api/utility_rates/v3.json was not reachable from our
egress on 2026-09-17 (connection failure, not an HTTP error) and is not used.
Traps
Every one of these returns HTTP 200.
radiussilently zeroes a lat/lon search.lat=37.5202&lon=-122.2758alone returns PG&E rates; the identical call plus&radius=25returns nothing. This pack never sends it.Geographic lookup has real coverage holes. Houston returns zero rates by lat/lon and by ZIP 77002 — Texas retail-choice tariffs are largely absent from URDB. That is a coverage gap, not an error, and the tools say so instead of handing back a bare empty array.
addressis geocoded upstream and works for some ZIPs and not others. When it returns nothing, lat/lon orutilityusually works.sectorcombined withaddressnarrowed several queries to zero.startdate/enddateare UNIX seconds, and URDB keeps superseded tariffs. A rate whose end date has passed is historical;is_activesays so, and the tools warn when every result is superseded.
Quick Start
Add to your MCP client (Claude Desktop, Cursor, Windsurf, etc.):
{
"mcpServers": {
"openei-urdb": {
"url": "https://gateway.pipeworx.io/openei-urdb/mcp"
}
}
}What this endpoint actually serves
tools/list at https://gateway.pipeworx.io/openei-urdb/mcp returns the tools in the table
above plus the shared Pipeworx meta-tools — ask_pipeworx,
discover_tools, search_within, remember/recall and the rest of the
gateway-wide set. So the tool count you see is larger than this table: a
single-pack endpoint currently lists roughly 30 shared tools alongside the
pack's own. The connection's initialize response states its exact scope, and
is the authoritative answer for a given day.
This is deliberate, not multiplexing by accident. The meta-tools are what let a
scoped connection answer a question this pack does not cover — via
ask_pipeworx, which routes across the whole catalog — without you adding a
second MCP server. There is currently no way to mount a pack endpoint without
them; if the extra schemas cost you more context than the routing is worth,
connect to the full gateway once rather than to several pack endpoints.
Or connect to the full Pipeworx gateway to get every pack's tools listed directly, instead of just this one's:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}Both URLs reach the same gateway and the same 1867+ data sources. The
only difference is which pack's tools are listed directly; ask_pipeworx
reaches all of them from either one.
No MCP client? Call it over HTTP
curl -X POST https://gateway.pipeworx.io/v1/tools/urdb_search_rates \
-H 'Content-Type: application/json' \
-d '{"utility":"Pacific Gas & Electric Co","sector":"Residential","limit":5}'No account needed for the first calls. Inspect any tool: GET https://gateway.pipeworx.io/v1/tools/urdb_search_rates. Find one: POST https://gateway.pipeworx.io/v1/tools/search_packs with {"query":"..."}.
Run it from npm
@pipeworx/mcp-openei-urdb is a local stdio bridge to the Pipeworx gateway: your MCP client
starts it with npx, and it forwards every call to the same
https://gateway.pipeworx.io/openei-urdb/mcp endpoint shown above. It needs network access;
there is no offline mode.
{
"mcpServers": {
"openei-urdb": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-openei-urdb"]
}
}
}Without a key it calls anonymously, capped at 50 calls a day. A free account
raises that to 200 a day: get a key at https://pipeworx.io/signup and add
"env": { "PIPEWORX_API_KEY": "<your key>" } to the server entry.
The key is sent as a Bearer token, the same way a hosted connection sends it,
so calls are metered and billed exactly as they are there.
It lists only this pack's tools by default. Set PIPEWORX_META_TOOLS=1 to
also list ask_pipeworx and the other gateway-wide tools.
Behind an HTTPS proxy: Node's built-in fetch does not read HTTPS_PROXY by
default. Newer Node releases honour it when NODE_USE_ENV_PROXY=1 is set; check
your Node version's documentation.
Using with ask_pipeworx
Instead of calling tools directly, you can ask questions in plain English — this works on the pack endpoint above as well as on the full gateway:
ask_pipeworx({ question: "your question about Openei Urdb data" })The gateway picks the right tool and fills the arguments automatically.
More
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Live US retail electricity plans, utility price-to-compare rates, ZIP-to-utility lookup. Read-only.
US power plant, generation, price, curtailment and water data, with sources on every result.
Live US power market prices, load, generation, weather and permits for AI agents.
Energy data from EIA: electricity, fuel prices, and renewables
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceProvides electricity tariff queries and rate calculations for US utilities, enabling cost estimation and optimal charging schedules.1Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables real-time access to US electricity generation, fuel mix, and demand data through natural language queries.186 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to query UK energy tariffs and products via the Octopus Energy public API.619 npmMIT
- FlicenseNot gradedqualityBmaintenanceEnables exact residential electricity rates and itemized bills for Salt River Project, computed from filed tariffs with citations, via tools for listing plans, getting rates, and calculating bills.-