# Uk Planning Data [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/pipeworx-io/mcp-uk-planning-data  
**GitHub Stars:** 0  
**npm Downloads (last month):** 707  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/uk-planning-data

## Description
UK planning designations from planning.data.gov.uk, the MHCLG national planning data platform…

## Tools
Capabilities this server exposes over MCP:

- **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({ query: "conservation" })
- **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 })
- **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" })
- **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 })

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "uk-planning-data": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-uk-planning-data"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Uk Planning Data does

Uk Planning Data exposes selected planning.data.gov.uk capabilities through MCP. The upstream platform is the UK government’s national planning data platform, with data published by local planning authorities and other organisations. Available records cover designations such as conservation areas, listed buildings, Article 4 directions, green belt, brownfield land, flood risk zones, and tree preservation zones.

The server is intended for structured lookups rather than general web search. It can identify which designations cover a coordinate, enumerate the datasets that exist, filter entities by known fields, and fetch a complete record by numeric entity ID. Results can include publisher references, dataset information, dates, documentation links, and optional WKT boundaries.

## How it works

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/uk-planning-data/mcp`. A client can also run the npm package as a local stdio process; that bridge forwards requests to the same gateway and therefore requires network access. The full Pipeworx gateway is another connection option, with this pack’s tools available through the broader gateway setup.

The `ukplanning_datasets` tool should normally be used first when the dataset slug is unknown. Its output includes the slug, human-readable name, typology, licence, and entity count. That slug can then be supplied to the other planning tools.

Point lookups use latitude and longitude and default to an intersection check. Omitting the dataset returns matching designations across all available layers. Entity searches use structured filters such as dataset, typology, publisher reference, CURIE, publishing organisation, and entry-date year.

## Setup and configuration

A hosted MCP client can use this configuration:

```json
{
  "mcpServers": {
    "uk-planning-data": {
      "url": "https://gateway.pipeworx.io/uk-planning-data/mcp"
    }
  }
}
```

For a local stdio connection, run the package with `npx`:

```json
{
  "mcpServers": {
    "uk-planning-data": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-uk-planning-data"]
    }
  }
}
```

Anonymous calls are supported, with a daily limit. Setting `PIPEWORX_API_KEY` adds an account key, while `PIPEWORX_META_TOOLS=1` makes the gateway-wide tools available alongside the planning tools. The local bridge does not provide offline operation. HTTP proxy users may need `NODE_USE_ENV_PROXY=1` with a compatible Node.js release.

## Tools and capabilities

- `ukplanning_datasets` lists datasets and supports filtering by query, typology, and headline status.
- `ukplanning_entities_at_point` returns designations covering a coordinate, optionally restricted to one dataset and optionally including geometry.
- `ukplanning_search` filters entities by structured identifiers and organisation fields, with limit and offset controls.
- `ukplanning_entity` retrieves one entity by numeric ID and can include its WKT geometry.

Geometry is excluded from list responses by default because WKT multipolygons can be large. Request it only when boundary data is needed.

## Limitations and notes

The upstream API does not provide working free-text search. Its documented `q` parameter is ignored, so the server does not accept or forward it. Use a point lookup for place-based questions, or use dataset, CURIE, reference, and organisation filters for structured searches.

Publisher references are not globally unique. A reference such as `CA18` can match records from multiple councils; combine it with the publishing organisation or use the prefixed CURIE where available.

Response field names from the upstream service use hyphens, while query parameters exposed by the tools use underscores. The hosted pack endpoint also lists shared Pipeworx meta-tools in addition to the planning tools. This is an independent integration and is not affiliated with the upstream provider.

_Full upstream README: https://allmcps.com/mcp/uk-planning-data/readme_

