MCP server
ClearPostcode Official
uk.co.clearpostcode/postcodes
Checked 28 Nov 2026, 11:13 UTC · Connected to it and listed its tools
Live UK postcode data for AI: look up, validate, find nearest, council, ward, constituency. Free.
Working at last checkVerified publisher: clearpostcode.co.ukAbout 951 tokens per request once connected8 tools
https://api.clearpostcode.co.uk/mcp
At a glance
- Type
- MCP server
- Publisher
- clearpostcode.co.uk (verified by the MCP Registry)
- Status
- Working at last check
- Tools
- 8
- Token cost
- About 951 tokens per request
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 28 Nov 2026, 11:13 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http postcodes https://api.clearpostcode.co.uk/mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.postcodes] url = "https://api.clearpostcode.co.uk/mcp"
Gemini CLI
{"mcpServers":{"postcodes":{"httpUrl":"https://api.clearpostcode.co.uk/mcp"}}}
Cursor
{"mcpServers":{"postcodes":{"url":"https://api.clearpostcode.co.uk/mcp"}}}
VS Code
{"servers":{"postcodes":{"type":"http","url":"https://api.clearpostcode.co.uk/mcp"}}}
Antigravity
agy mcp add postcodes https://api.clearpostcode.co.uk/mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"postcodes","server_url":"https://api.clearpostcode.co.uk/mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"postcodes","server_url":"https://api.clearpostcode.co.uk/mcp"}
Tools
area_info~112 tokens
Facts about a postcode area (e.g. "SW"), district ("SW1A") or sector ("SW1A 1"): how many postcodes, the councils, wards and constituencies it covers, its centre and places in it.fetch~58 tokens
Fetch the full record for an id returned by search.find_place~98 tokens
Finds UK cities, towns, villages and neighbourhoods by name and returns each one's postcode district, council and coordinates (OS Open Names).lookup_postcode~245 tokens
Everything about one UK postcode, or up to 100 at once (10 without an API key): whether it is live or terminated, latitude and longitude, and the council, ward, parish, constituency, county, region, police force, NHS board, rural-urban class and deprivation decile it sits in. Use for any question abnearest_postcodes~179 tokens
Live UK postcodes nearest a postcode or a latitude/longitude, closest first, with distances in metres. Use it to find the postcode for coordinates (reverse geocoding) or what is near an address.postcode_distance~85 tokens
Straight-line distance between two UK postcodes in kilometres and miles, with the compass direction.search~66 tokens
Search UK postcodes, districts and places. Returns ids to pass to fetch.validate_postcode~108 tokens
Checks a UK postcode: is the format right, is it in the current official data, and is it still in use. Northern Ireland (BT) postcodes are checked by format only.
Browse
Related MCP servers
- RenterCheck
Check a home to rent in England: rent, licensing, flood risk, energy rating and the free report. - BusinessRateChecker
Business rates data for England and Wales: rateable values, comparables, verdicts, tribunal cases - Agent Tools UK
Pay-per-use agent tools: screenshots, web to Markdown, PDF tables, OCR, UK company checks - Postcodes (Unofficial)
Unofficial Postcodes MCP — wraps postcodes.io UK postcode API (free, no auth) - Catchmently
England's schools and nurseries: Ofsted, exam results, offers and last distance offered. - GetMovely
Search homes for sale and off-market, sold prices, EPC, stamp duty: 25m homes in England and Wales. - WhereToLive London open data
London postcodes and districts from official open data: prices, crime, schools, rents, commutes - UK Property Data
UK property data — Land Registry comps, EPC, Rightmove, rental yields, stamp duty, Companies House
Badge for your README
[](https://aptlynx.net/servers/uk.co.clearpostcode/postcodes)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents