urdb_utilities_for_location
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_utilities_for_location for the schema, then POST the same URL with its arguments for the data.
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
address | string | no | US address or ZIP |
latitude | number | no | Latitude in WGS84 decimal degrees (use with longitude) |
longitude | number | no | Longitude in WGS84 decimal degrees (use with latitude) |
filter | string | no | Instead of a location: case-insensitive substring to search utility names in the OpenEI directory |
_apiKey | string | no | Your own free NREL API key. Optional — the shared DEMO_KEY works at a low rate limit. |
Example call
Arguments
{
"latitude": 37.5202,
"longitude": -122.2758
}
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_utilities_for_location","arguments":{"latitude":37.5202,"longitude":-122.2758}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('urdb_utilities_for_location', {
"latitude": 37.5202,
"longitude": -122.2758
});
More examples
{
"filter": "duke energy"
}
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.