# Pjm [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/pipeworx-io/mcp-pjm  
**GitHub Stars:** 0  
**npm Downloads (last month):** 309  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/pjm

## Description
Real-time electricity market data from PJM Interconnection, the largest US grid operator (13…

## Tools
Capabilities this server exposes over MCP:

- **pjm_feeds** — List the feeds published by PJM Data Miner 2 — the catalog of every market-data dataset PJM exposes (LMPs, load, generation, ancillary services, capacity, transmission). Returns each feed's name and metadata so you can fetch it. Use to discover what PJM data exists before querying it. Requires a PJM API key.
- **pjm_lmp_realtime** — PJM real-time five-minute locational marginal prices (LMP $/MWh) by pricing node, with the total price and its congestion and marginal-loss components. PJM is the largest US grid operator (13 states + DC, ~65M people). Use for "PJM power price right now", "PJM Western Hub price", "which PJM nodes are congested". Requires a PJM API key.
- **pjm_load_forecast** — PJM seven-day load forecast — forecast electricity demand in MW by forecast area (each transmission zone plus the RTO total), hour by hour. Use for "what will PJM demand be tomorrow", "PJM peak forecast this week", capacity and demand-response planning. Requires a PJM API key.
- **pjm_generation_fuel_mix** — PJM generation by fuel type — MW generated and percentage of total from coal, natural gas, nuclear, wind, solar, hydro, oil, storage and other, per published interval. Use for "what is PJM burning right now", "PJM nuclear share", "PJM coal vs gas". Requires a PJM API key.

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

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

## Documentation

## What Pjm does

Pjm exposes selected PJM Interconnection Data Miner 2 datasets through MCP. The integration focuses on four areas: discovering the available feed catalog, retrieving real-time five-minute locational marginal prices, reading hourly seven-day load forecasts, and examining generation by fuel type. PJM covers 13 states and Washington, DC.

The feed catalog tool also provides a broader route into PJM data. By supplying an exact feed name, it can fetch datasets beyond the dedicated tools, including feeds such as day-ahead hourly LMPs and instantaneous load. Returned records preserve the field structure published by PJM.

## How it works

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/pjm/mcp`. A client can connect directly using a standard MCP configuration, or use the full Pipeworx gateway at `https://gateway.pipeworx.io/mcp`. The pack endpoint lists its PJM tools along with shared Pipeworx gateway tools, including routing and discovery functions.

A local npm bridge is also available as `@pipeworx/mcp-pjm`. An MCP client starts it with `npx`, and the bridge forwards requests to the hosted endpoint, so it requires network access and has no offline mode. The same tools can be called over HTTP through the Pipeworx tools API.

## Setup and configuration

PJM access uses an `Ocp-Apim-Subscription-Key` header. Obtain a free key by registering at the PJM API portal and subscribing the account to the Data Miner 2 product. Registration alone is insufficient; the subscription must also be enabled for the feed.

For the hosted endpoint, add the MCP URL to a compatible client. For the local bridge, configure the command as `npx` with `-y @pipeworx/mcp-pjm`. Anonymous bridge use is limited to 50 calls per day. Setting `PIPEWORX_API_KEY` with a Pipeworx account key raises the limit to 200 calls per day. `PIPEWORX_META_TOOLS=1` adds the gateway-wide meta-tools to the local bridge's tool list.

## Tools and capabilities

- `pjm_feeds` lists the Data Miner 2 catalog or retrieves any feed by exact name. It accepts pagination parameters.
- `pjm_lmp_realtime` returns node-level five-minute LMPs, including total price, congestion, and marginal-loss components. Nodes can be selected by ID or name, with an optional time filter.
- `pjm_load_forecast` returns hourly demand forecasts for transmission zones and the RTO total over seven days.
- `pjm_generation_fuel_mix` returns megawatts and percentage of total generation by fuel type and published interval.

## Limitations and notes

PJM time values use Eastern Prevailing Time, including daylight-saving changes. Date-range filters follow Data Miner 2's `M/D/YYYY HH:MM to M/D/YYYY HH:MM` syntax rather than ISO 8601.

The integration requests JSON explicitly because Data Miner 2 uses another representation by default. It normalizes the documented response envelope containing `totalRows`, `items`, and `links`, while leaving individual item fields unchanged.

A PJM HTTP 401 response cannot distinguish an absent key from an invalid or unsubscribed key. A successful response with zero rows is treated as an error because it commonly indicates that the requested date range falls outside the feed's published data range. The integration is independent and unofficial, and is not affiliated with PJM Interconnection.

_Full upstream README: https://allmcps.com/mcp/pjm/readme_

