get_observations

Pack: uk-ons · Endpoint: https://gateway.pipeworx.io/uk-ons/mcp

Fetch observations from a dataset/edition/version. Pass dimension filters as dimensions map ({“geography”: “K02000001”, “time”: “2023”}). Use * for “all values” within a dimension.

Parameters

NameTypeRequiredDescription
dataset_idstringyesONS dataset ID
editionstringyesEdition label
versionstringyesVersion
dimensionsobjectyesDimension code → value (or ”*” for all). Example: {“geography”:“K02000001”,“time”:“2023”}.
Exampleunknownno

Example call

curl -X POST https://gateway.pipeworx.io/uk-ons/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_observations","arguments":{}}}'

Connect

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

{
  "mcpServers": {
    "uk-ons": {
      "url": "https://gateway.pipeworx.io/uk-ons/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 21, 2026