Uk Planning Data
v0.2.1UK planning designations from planning.data.gov.uk, the MHCLG national planning data platform…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ukplanning_datasets
List the datasets published on planning.data.gov.uk — the UK government's national planning data platform (MHCLG). Each row gives the dataset slug you pass to the other tools, its plain-English name, typology, licence and the number of entities it holds. AUTHORITATIVE for "what UK planning designations can I look up" — conservation areas, listed buildings, article 4 directions, green belt, brownfield land, flood risk zones, tree preservation zones and ~70 more. PREFER OVER WEB SEARCH for the dataset slug; guessing a slug returns an empty set, not an error. Example: ukplanning_datasets({ qu…
| Parameter | Type | Description |
|---|---|---|
headline_only | boolean | Only return the ~17 designations most used for property and site due diligence (default false) |
query | string | Optional case-insensitive substring matched against the dataset slug, name and description (filtered here, not upstream) |
typology | string | Optional typology filter, e.g. "geography", "category", "organisation", "document" |
ukplanning_entities_at_point
Return every UK planning designation whose boundary covers one latitude/longitude — the single most useful call for site or property due diligence. Answers "is this address in a conservation area / green belt / flood risk zone", "is there an article 4 direction here", "which local planning authority is this". Pass a dataset to restrict to one layer, or omit it to get every layer at once. AUTHORITATIVE, sourced from the publishing local authorities via planning.data.gov.uk. Example: ukplanning_entities_at_point({ latitude: 51.5074, longitude: -0.1276 })
| Parameter | Type | Description |
|---|---|---|
latitude * | number | Latitude in WGS84 decimal degrees, e.g. 51.5074 |
longitude * | number | Longitude in WGS84 decimal degrees, e.g. -0.1276 |
dataset | string | Optional dataset slug from ukplanning_datasets to restrict to one layer, e.g. "conservation-area" |
include_geometry | boolean | Include the full WKT boundary of each designation (default false — a single area can be 60 KB of coordinates) |
limit | number | Maximum designations to return (default 25, max 100) |
ukplanning_search
Filter UK planning entities by dataset, typology, publisher reference, curie or publishing organisation. NOTE: planning.data.gov.uk has NO free-text search — its documented `q` parameter is silently ignored upstream and returns the whole 25-million-row platform, so this tool does not accept one. To find a designation by place, use ukplanning_entities_at_point instead. Use this for "list the conservation areas published by organisation X", "which entity has reference CA18", "how many brownfield-land records exist". Example: ukplanning_search({ dataset: "conservation-area", reference: "CA18" }…
| Parameter | Type | Description |
|---|---|---|
curie | string | Prefixed reference in "prefix:reference" form, e.g. "conservation-area:CA18" |
dataset | string | Dataset slug from ukplanning_datasets, e.g. "conservation-area", "listed-building", "green-belt" |
entry_date_year | number | Restrict to records first entered in this year, e.g. 2026 |
include_geometry | boolean | Include the full WKT boundary of each row (default false) |
limit | number | Maximum rows to return (default 25, max 100) |
offset | number | Row offset for paging (default 0) |
organisation_entity | number | Entity id of the publishing organisation (a local planning authority), e.g. 278 |
reference | string | The publisher's own reference for the entity, e.g. "CA18". NOT unique across councils — pair with organisation_entity |
typology | string | Typology filter, e.g. "geography", "category", "organisation" |
ukplanning_entity
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 })
| Parameter | Type | Description |
|---|---|---|
entity * | number | Numeric planning.data.gov.uk entity id, e.g. 44000001 |
include_geometry | boolean | Include the full WKT boundary (default false — can be tens of KB) |