ukplanning_entity
Pack: uk-planning-data · Endpoint: https://gateway.pipeworx.io/uk-planning-data/mcp
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/ukplanning_entity for the schema, then POST the same URL with its arguments for the data.
Fetch one UK planning entity by its numeric entity id (from ukplanning_search or ukplanning_entities_at_point). Returns the full record — name, dataset, publisher reference, start/end dates, the publisher’s documentation URL — and the WKT boundary when asked for. Example: ukplanning_entity({ entity: 44000001, include_geometry: false })
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
entity | number | yes | Numeric planning.data.gov.uk entity id, e.g. 44000001 |
include_geometry | boolean | no | Include the full WKT boundary (default false — can be tens of KB) |
Example call
Arguments
{
"entity": 44002870
}
curl
curl -X POST https://gateway.pipeworx.io/uk-planning-data/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ukplanning_entity","arguments":{"entity":44002870}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('ukplanning_entity', {
"entity": 44002870
});
More examples
{
"entity": 44000001,
"include_geometry": false
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"uk-planning-data": {
"url": "https://gateway.pipeworx.io/uk-planning-data/mcp"
}
}
}
See Getting Started for client-specific install steps.