MCP server exposing 4 tools for postcodes.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/postcodes/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
lookup_postcode — Get geographic details for a UK postcode (e.g., 'SW1A 1AA'). Returns coordinates, region, district, ward, and constituency.nearest_postcodes — Find nearby UK postcodes sorted by distance from a given postcode (e.g., 'SW1A 1AA'). Returns list with coordinates.validate_postcode — Validate a UK postcode format (e.g., 'SW1A 1AA'). Returns whether it's valid and format details.random_postcode — Get a random valid UK postcode with full geographic details. Returns coordinates, region, district, ward, and constituency.Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/postcodes/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io