aemo-mcp
v0.4.20Query the AEMO NEM in plain English — 5-min prices, demand, generation, rooftop PV.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_datasets
Fuzzy-search the 7 curated AEMO NEM datasets. Use this when you don't know the exact dataset_id. The 7 curated datasets cover ~95% of typical NEM analytic queries — spot prices, demand, generation, rooftop PV, interconnector flows, forecasts. Examples: # Find the dataset that publishes the spot price results = await search_datasets("spot price") # → [{id: 'dispatch_price', name: 'NEM Dispatch Price ...', ...}] # Discover what's available on rooftop solar results = await search_datasets("rooftop pv", limit=5) Returns: List of DatasetSummary (id, name, description…
| Parameter | Type | Description |
|---|---|---|
query * | string | Free-text search query. Matches against dataset IDs, names, descriptions, filter keys, region values, and search keywords. Case-insensitive. |
limit | integer | Maximum number of results to return, ranked by relevance. |
describe_dataset
Describe one NEM dataset — schema, filters, cadence, source URL. Examples: detail = await describe_dataset("dispatch_price") # → filters: [{key: "region", values: ["NSW1", "QLD1", ...]}] # → metrics: {rrp: "$/MWh"} # → cadence: "5 min" Returns: DatasetDetail with id, name, description, filters, units, source URL, and example invocation strings.
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | Dataset ID like 'dispatch_price', 'generation_scada'. Use the search endpoint or search tool to discover, or the list-curated endpoint/tool to enumerate. Case-insensitive. |
get_data
Query an AEMO NEM dataset and return observations. Examples: # Latest NSW dispatch price (preferred over latest() if you want # a window) resp = await get_data("dispatch_price", filters={"region": "NSW1"}) # Whole-day NSW dispatch price for a specific day resp = await get_data( "dispatch_price", filters={"region": "NSW1"}, start_period="2026-05-13", end_period="2026-05-13" ) # Generation by fuel for QLD, current resp = await get_data("generation_scada", filters={"region": "QLD1"}) # All 6 interconnectors right now resp…
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | Dataset ID like 'dispatch_price'. Use the search endpoint or search tool to discover. |
end_period | Inclusive end. Same format as start_period. | |
filters | Dict of filter key → value(s). Common filters: 'region' (NSW1/QLD1/SA1/TAS1/VIC1), 'interconnector' (V-SA/Basslink/...), 'duid' (unit ID), 'fuel' (black_coal/gas/wind/solar/battery/...). Each datase… | |
format | string | Response shape. 'records' (default): flat list of observations. 'series': observations grouped by dimensions. 'csv': returns the result as a CSV string in the `csv` field. |
start_period | Inclusive start of the period window in AEMO market time (UTC+10). Accepts 'YYYY', 'YYYY-MM', 'YYYY-MM-DD', or 'YYYY-MM-DD HH:MM'. Defaults to None which fetches just the most recent NEMWEB file for t… |
latest
Return the most recent interval(s) for a NEM dataset. For 5-min feeds (dispatch_price, dispatch_region, interconnector_flows, generation_scada): returns the most recent 5-minute interval, typically 1-2 minutes after the interval close. For 30-min feeds (rooftop_pv, predispatch_30min): the most recent half-hour. For daily feeds (daily_summary): yesterday's data. Examples: # Current NSW spot price resp = await latest("dispatch_price", filters={"region": "NSW1"}) # Current generation mix in QLD resp = await latest("generation_scada", filters={"region": "QLD1"}) # Current…
| Parameter | Type | Description |
|---|---|---|
dataset_id * | string | Dataset ID like 'dispatch_price'. Use the search endpoint or search tool to discover. |
filters | Optional filter dict. Same shape as get_data — narrow to a region, interconnector, fuel, etc. Also accepts a JSON-encoded string (e.g. '{"region": "NSW1"}') for MCP clients that serialize object arg… |
list_curated
List every curated AEMO NEM dataset ID. These cover the great majority of typical NEM analytic queries: spot prices, regional demand and generation, interconnector flows, unit-level SCADA, rooftop PV (actual + forecast), 30-min predispatch forecasts, dispatch constraints, FCAS ancillary-service prices, trading (settlement) prices, and daily-settled summaries. Call this tool to get the live list rather than assuming a fixed count — the registry grows over time as new curated datasets are added. Example: ids = list_curated() # → ['daily_summary', 'dispatch_constraints', 'dispatch_p…