ofgem_dataset_rows

Pack: ofgem · Endpoint: https://gateway.pipeworx.io/ofgem/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ofgem_dataset_rows for the schema, then POST the same URL with its arguments for the data.

Return the full underlying table for one Ofgem Data Portal dataset as rows and columns — the numbers behind the published chart, not an image. Get the dataset id from ofgem_datasets. Use for “give me the monthly GB day-ahead gas price series”, “Ofgem supplier market share by year”. Sourced from Ofgem’s Data Portal. Example: ofgem_dataset_rows({ dataset_id: “qRvAxIgho”, limit: 12, latest_first: true })

Parameters

NameTypeRequiredDescription
dataset_idstringyesDataset id from ofgem_datasets, e.g. “qRvAxIgho”
limitnumbernoMaximum rows to return (default 50, max 1000; 0 returns every row)
latest_firstbooleannoReturn the last rows of the table first — these series run oldest-first (default false)

Example call

Arguments

{
  "dataset_id": "qRvAxIgho",
  "limit": 3,
  "latest_first": true
}

curl

curl -X POST https://gateway.pipeworx.io/ofgem/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ofgem_dataset_rows","arguments":{"dataset_id":"qRvAxIgho","limit":3,"latest_first":true}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('ofgem_dataset_rows', {
  "dataset_id": "qRvAxIgho",
  "limit": 3,
  "latest_first": true
});

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "ofgem": {
      "url": "https://gateway.pipeworx.io/ofgem/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 18, 2026