nemcp
Enables Home Assistant to use Australian NEM wholesale electricity price data to intelligently schedule appliances based on market prices.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
nemcp
An MCP server that lets AI assistants query, and explain, Australian National Electricity Market (NEM) data from nemweb.com.au.
What it can do for you
Find market patterns from natural language queries. Search any region and date range for price spikes, long runs of negative prices, and violated constraints, ranked by intensity.
Run a postmortem on price spikes. Ask "why did SA hit $19,000/MWh at 7:30pm on 26 January?" and get findings computed from AEMO data: interconnector limits, binding network constraints, which fuels ramped up or ran out, and whether any constraint was violated.
See the grid's plumbing. Interconnector flows against their limits, the constraint setting each limit (with AEMO's own description), and generation by fuel or by unit (gas, wind, solar, batteries, coal, hydro).
Give live updates on if you should run your dishwasher. Hook your agent up to
nemcpand Home Assistant, and intelligently schedule your appliances based on wholesale electricity prices.Reveal which units and companies make the most on bids.
get_generationby unit, multiplied by price, gives revenue per station. Group byparticipant_idand you have revenue per company. One caveat: hedge contracts aren’t in the data, so this is pool revenue, not profit.Fact check outside analysis. Every response states its time convention, units, caveats, and data freshness, and links back to the exact AEMO file it came from.
Related MCP server: EIA MCP Server
Installation
Requirements: Node 22+, pnpm, unzip on your PATH, and roughly 5–10 GB of disk for a year of data.
git clone https://github.com/OWNER/nemcp.git
cd nemcp
pnpm install
pnpm testLoad data: a year of prices and demand, unit reference data, and fuel types.
pnpm backfill --from=2025-10 --to=2026-09
pnpm backfill --tables=DUDETAILSUMMARY,STATION --from=2025-10 --to=2026-09
pnpm fuel # AEMO registration list; if the download is blocked, pass a downloaded .xlsx pathOptional deeper data, for constraints, interconnectors and unit output (large downloads, so pick months):
pnpm backfill --tables=DISPATCHINTERCONNECTORRES,DISPATCHCONSTRAINT,DISPATCH_UNIT_SCADA --from=2026-01 --to=2026-01
pnpm backfill --tables=GENCONDATA,SPDINTERCONNECTORCONSTRAINT,SPDCONNECTIONPOINTCONSTRAINT --from=2024-01 --to=2026-09Connect it to Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"nem": {
"command": "/path/to/node",
"args": ["/path/to/nemcp/node_modules/tsx/dist/cli.mjs", "/path/to/nemcp/src/server/index.ts"],
"env": { "NEM_DATA_DIR": "/path/to/nemcp/data", "NEM_INGEST": "1" }
}
}
}NEM_INGEST=1 keeps live 5-minute data flowing while the server runs. Don't also run pnpm ingest --watch at the same time.
Or with Claude Code:
claude mcp add nem -e NEM_DATA_DIR="$PWD/data" -e NEM_INGEST=1 -- pnpm --dir "$PWD" tsx src/server/index.tsRestart the client, then try: "Call get_coverage, then explain the biggest SA price spike in January 2026."
Disclaimer
This was vibe coded: built quickly in conversation with an AI assistant, tested against real data, but not audited. Expect rough edges, check anything important against AEMO's own reports, and open an issue if you find something wrong.
Not affiliated with AEMO. Market data © AEMO, used under its Copyright Permissions Notice. Nothing here is financial or trading advice. Wholesale "energy value" figures are pool estimates, not what consumers pay.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Query Australia's electricity market (NEM/AEMO): prices, generation, FCAS, interconnectors, bids.
Australian NEM battery (BESS) data for AI agents: revenue, dispatch, FCAS, events. Free, no auth.
AEMO National Electricity Market regional prices.
Live US power market prices, load, generation, weather and permits for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides AI models with real-time data about New England's power grid through a Model Context Protocol interface, enabling questions about current power generation, fuel mix, and marginal fuels.1MIT
- FlicenseAqualityDmaintenanceProvides access to U.S. Energy Information Administration (EIA) data, covering electricity grid operations, retail sales, and natural gas production metrics. It enables natural language querying of energy market statistics, infrastructure profiles, and real-time balancing authority data.146-
- AlicenseAqualityFmaintenanceOne-call Australian energy-market plumbing via AEMO — cited, structured responses for market data and analysis, not a data broker.5129 PyPIMIT
- AlicenseNot gradedqualityCmaintenanceEnables real-time access to US electricity generation, fuel mix, and demand data through natural language queries.277 npmMIT