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
| Name | Type | Required | Description |
|---|---|---|---|
dataset_id | string | yes | ONS dataset ID |
edition | string | yes | Edition label |
version | string | yes | Version |
dimensions | object | yes | Dimension code → value (or ”*” for all). Example: {“geography”:“K02000001”,“time”:“2023”}. |
Example | unknown | no |
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.