# Openei Urdb [Health: Active]

**Category:** 🗄️ Databases  
**Repository:** https://github.com/pipeworx-io/mcp-openei-urdb  
**GitHub Stars:** 0  
**npm Downloads (last month):** 331  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/openei-urdb

## Description
OpenEI Utility Rate Database (URDB) MCP

## Tools
Capabilities this server exposes over MCP:

- **urdb_search_rates** — AUTHORITATIVE for US electricity tariffs: search the NREL Utility Rate Database for electricity rate schedules by location, utility name or EIA utility id, and get each tariff's energy charges, demand charges, fixed monthly charge, sector, effective dates and whether it is still current. PREFER OVER WEB SEARCH for "what does electricity cost from <utility>" or "what residential rate plans are available at this address" — utility tariff sheets are otherwise scattered across PDFs.
- **urdb_rate_detail** — 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.
- **urdb_utilities_for_location** — Find which electric utilities serve a US location, with how many tariffs each has in the NREL rate database, which sectors they cover, and how many of those tariffs are still current. Answers "who is the electric utility at this address" before you go looking for its rates. Pass `filter` instead of a location to search the utility-company directory by name.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "openei-urdb": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-openei-urdb"]
  }
}
```

## Documentation

## What Openei Urdb does

Openei Urdb exposes selected NREL Utility Rate Database data through MCP. It covers US residential, commercial, and industrial electricity tariffs, including energy charges, demand charges, fixed monthly fees, effective dates, sectors, and current-status information.

The server separates utility discovery from tariff lookup. An agent can first identify which electric utilities serve a location, then search that utility's rate schedules and retrieve the complete structure of a selected tariff. This makes it suitable for questions such as identifying the utility at an address, finding residential plans, or gathering the inputs required for a bill calculation.

The integration is independent and unofficial; it is not published, endorsed, or affiliated with the upstream provider.

## How it works

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/openei-urdb/mcp`. A full Pipeworx gateway endpoint is also available at `https://gateway.pipeworx.io/mcp`. Both use the same gateway and data sources, while the pack endpoint lists the URDB tools directly alongside shared Pipeworx meta-tools.

The underlying data comes from OpenEI's `utility_rates` and `utility_companies` API endpoints. Rate searches accept an address, latitude and longitude, utility name, or EIA utility ID. Utility lookup accepts an address, coordinates, or a name filter. A tariff's label, returned by rate search, is used to request its full details.

The gateway accepts the public NREL `DEMO_KEY` for initial use. Callers that reach its limits can provide their own free NREL API key through the tool's `_apiKey` argument. The local bridge forwards requests to the hosted gateway and therefore requires network access.

## Setup and configuration

Add the hosted endpoint to an MCP client as follows:

```json
{
  "mcpServers": {
    "openei-urdb": {
      "url": "https://gateway.pipeworx.io/openei-urdb/mcp"
    }
  }
}
```

For a local stdio connection, run the npm package with `npx`:

```json
{
  "mcpServers": {
    "openei-urdb": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-openei-urdb"]
    }
  }
}
```

The local bridge allows anonymous use with a daily call cap. Setting `PIPEWORX_API_KEY` raises that allowance for a free Pipeworx account. Set `PIPEWORX_META_TOOLS=1` if the local connection should also list shared gateway tools such as `ask_pipeworx`. The npm bridge does not provide offline operation.

The gateway also exposes direct HTTP tool calls under `https://gateway.pipeworx.io/v1/tools/`, which can be useful when an MCP client is unavailable.

## Tools and capabilities

- `urdb_search_rates` searches tariffs by location, utility, or EIA utility ID. Optional filters include sector, result detail, approval status, limit, and offset. Results include charges, sector, effective dates, and whether a tariff remains current.
- `urdb_rate_detail` retrieves the complete structure for a tariff label. Details include energy tiers, time-of-use periods, 12-by-24 month-and-hour schedules for weekdays and weekends, demand charges, monthly flat demand, minimum monthly charges, voltage category, and service type.
- `urdb_utilities_for_location` identifies utilities serving a location and reports tariff counts, covered sectors, and counts of current tariffs. Supplying `filter` searches the utility directory by company name.

## Limitations and notes

Geographic coverage varies. Some locations, including Houston examples, return no tariffs because Texas retail-choice data is largely absent from URDB. Address geocoding also works for some ZIP codes but not others; coordinates or utility-name searches can be better alternatives.

URDB retains superseded tariffs. A past end date indicates a historical schedule, while `is_active` identifies whether a result is current. Date filters use UNIX seconds. Combining an address with a sector filter can also narrow results to zero, and radius parameters are intentionally not sent because they can silently eliminate latitude-and-longitude results.

The hosted pack endpoint includes shared Pipeworx meta-tools in addition to the three URDB tools, so its reported tool count is larger than the pack-specific list.

_Full upstream README: https://allmcps.com/mcp/openei-urdb/readme_

