mcpField
P
planwire-mcp

planwire-mcp

Local
planwire.ioLegal & Government0Updated 8w ago

About planwire-mcp

planwire-mcp wraps PlanWire’s UK planning application API as tools for MCP clients. It supports searching records, looking up applications near a location, fetching an individual record, and listing covered councils.

Key features

  1. 01Search by keyword, council, postcode, and filters
  2. 02Find applications near coordinates
  3. 03Fetch an application by ID
  4. 04List supported councils

Use cases

  1. 01Searching recent applications in a council area
  2. 02Finding applications near a location
  3. 03Retrieving a specific planning application
  4. 04Checking which councils are covered

MCP support

The stdio MCP server connects to PlanWire using the user's API key and returns structured planning data to MCP clients. It exposes search, nearby lookup, application retrieval, and council listing tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"beshogun-planwire": {
"command": "npx",
"args": [
"-y",
"planwire-mcp"
],
"env": {
"PLANWIRE_API_KEY": "<PLANWIRE_API_KEY>"
}
}
}
}
Run commandnpx -y planwire-mcp
Environment variables to set
PLANWIRE_API_KEYSecretYour PlanWire API key. Get a free sandbox key at https://planwire.io/?utm_source=mcp_registry&utm_medium=directory&utm_campaign=mcp.

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npmplanwire-mcp0.1.4

Tools

4

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
qstringNoFull-text search across address, description, and reference.
pageintegerNoPage number (default 1).
typestringNoApplication type, e.g. 'Householder', 'Full', 'Listed Building'.
limitintegerNoResults per page (paid keys up to 100; free keys 10).
statusenumNoFilter by decision status.Pending | Approved | Refused | Withdrawn
councilstringNoCouncil ID, e.g. 'camden', 'oxford'.
date_tostringNoLatest application date, YYYY-MM-DD.
postcodestringNoPostcode or postcode prefix, e.g. 'OX1' or 'SW1A 1AA'.
date_fromstringNoEarliest application date, YYYY-MM-DD.

Details

From the project README

PlanWire MCP Server

Use UK planning application data inside Claude, Cursor, and any MCP client.

PlanWire exposes fresh, normalised UK planning application data through a public API. This MCP server wraps that API as agent tools so an assistant can search applications, inspect a specific record, look near a location, and list supported councils without you writing API calls by hand.

Get a free sandbox API key at https://planwire.io/?utm_source=npm&utm_medium=mcp_readme&utm_campaign=mcp.

What MCP Is

Model Context Protocol (MCP) is a standard way for AI tools to call external services. You run this package locally through npx; it talks to PlanWire using your own API key and returns structured planning data to the MCP client.

This server uses stdio transport. It does not store credentials or run a hosted proxy.

Install

You need Node.js 18+ and a PlanWire API key.

npx -y planwire-mcp

Use the package name exactly as shown: planwire-mcp. If an MCP directory shows an install command for beshogun-planwire-mcp, that directory has stale generated metadata and the install will fail.

The server expects PLANWIRE_API_KEY in the environment. Optional: set PLANWIRE_API_BASE to override the default https://api.planwire.io.

Claude Desktop

Add this to claude_desktop_config.json:

{
  "mcpServers": {
    "planwire": {
      "command": "npx",
      "args": ["-y", "planwire-mcp"],
      "env": {
        "PLANWIRE_API_KEY": "your_planwire_key_here"
      }
    }
  }
}

Restart Claude Desktop after saving the config.

Claude Code

Add this to your project .mcp.json:

{
  "mcpServers": {
    "planwire": {
      "command": "npx",
      "args": ["-y", "planwire-mcp"],
      "env": {
        "PLANWIRE_API_KEY": "your_planwire_key_here"
      }
    }
  }
}

Cursor

Add the same server command in Cursor's MCP settings:

{
  "mcpServers": {
    "planwire": {
      "command": "npx",
      "args": ["-y", "planwire-mcp"],
      "env": {
        "PLANWIRE_API_KEY": "your_planwire_key_here"
      }
    }
  }
}

Tools

ToolWhat it does
search_planning_applicationsSearch by keyword, council, postcode, status, type, or date range.
nearby_planning_applicationsFind applications near a latitude/longitude point.
get_planning_applicationFetch one application by PlanWire application id.
list_councilsList covered councils and their IDs.

Example Prompts

  • "Search PlanWire for recent planning applications in Camden."
  • "Find refused householder extensions in OX1 from the last year."
  • "What planning applications are within 1km of 51.5074, -0.1278?"
  • "List the councils PlanWire covers."
  • "Find planning applications mentioning HMOs in Manchester."

Limits And Pricing

Free sandbox keys are suitable for testing and are capped on daily calls and result size. Paid plans increase limits for production use.

Pricing: https://planwire.io/?utm_source=npm&utm_medium=mcp_readme&utm_campaign=mcp#pricing

Troubleshooting

If the tool says PLANWIRE_API_KEY is not set, add your key to the MCP client config and restart the client.

If PlanWire returns 401, check that the key is correct and active.

If PlanWire returns 429, the key has reached its rate limit. Use fewer calls or upgrade at https://planwire.io/?utm_source=npm&utm_medium=mcp_readme&utm_campaign=mcp#pricing.

Development

npm install
npm run build
npm start

MIT licensed. Built by PlanWire: https://planwire.io/?utm_source=npm&utm_medium=mcp_readme&utm_campaign=mcp

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.