UK PostcodeKit logo

UK PostcodeKit

by OllyWebsiteUpdated Nov 23, 2026

UK postcode lookup: geocode a postcode to latitude/longitude, resolve the nearest postcodes to a location, and compute distances between postcodes - all in one HTTPS call. Exposed as a streamable-HTTP MCP server so AI agents call it directly via MCP tools, with the same endpoint serving a REST playground for human developers.

How to pay

Subscribe

Monthly billing

$9.99/month

Predictable monthly cost with included usage. Best for steady, high-volume traffic.

  • Unlimited tools within plan limits
  • One API key, billed once a month
  • Cancel any time

UK PostcodeKit — Postcode Geocoding, Nearest Postcodes & Distance (MCP)

UK PostcodeKit exposes a single HTTPS endpoint that turns a UK postcode into geography you can use: geocode a postcode to latitude/longitude, find the nearest postcodes to a given location, and compute the distance between any two postcodes — all in one call. Exposed as a fully streamable-HTTP MCP server so AI agents call it directly via MCP tools — the same endpoint also serves a REST playground for human developers.

What you get per call

  • Geocoding: send a postcode, get back its precise latitude and longitude.
  • Nearest postcodes: send a location (lat/lng or a postcode) and a radius/count, get the closest postcodes ranked by distance.
  • Distance: send two postcodes and get the distance between them.

How it fits your stack

  • AI agents call it as an MCP server over streamable-HTTP. Auth is a single X-Upstream-Key header, so one header is all an agent needs to be authorized.
  • Human developers hit the same endpoint as a plain HTTPS call from curl, a script, or the REST playground.
  • Hosted on Google Cloud Run and fronted by MCPize. The Cloud Run service reads X-Upstream-Key to authorize the call.

Who it's for

  • UK-focused agents and assistants that need real geospatial context (local search, routing, coverage-area checks, "near me" logic).
  • Apps that resolve postcodes for shipping, service areas, field-sales territories, or distance-based eligibility.
  • Developer tooling that converts postcodes into coordinates for downstream GIS / mapping.

Runbooks, pricing and support

  • Runbooks and the public docs live on the Dev.to post linked as this server's Website.
  • Priced per call under four plans (Free 200, Starter 20,000, Pro 200,000, Business 2,000,000 monthly requests) with hard limits and no overage.
  • Support and issues via the publisher profile at mcpize.com/developers/ollymcbride4.

Notes

  • Coverage is the United Kingdom. Postcodes outside the UK return a not-found / unknown result.
  • Distances are returned as straight-line (as-the-crow-flies) figures, not road routing.
  • Auth is enforced by X-Upstream-Key. Calls without the correct key return an auth error from the upstream (no MCPize rate-limit / 429 behaviour).

How will you use UK PostcodeKit?

In an AI agent

Claude, Codex, Cursor, VS Code… Choose →

From the terminal

mcpize CLI, pipelines, Skills. Choose →

In your code

TypeScript, Python, cURL. Choose →