ClearPostcode
uk.co.clearpostcode/postcodes
MCP server OK 8 tools
Live UK postcode data for AI: look up, validate, find nearest, council, ward, constituency. Free.
Technical sheet
- Author
- clearpostcode.co.uk (registry namespace)
- Repository
- —
- Site
- clearpostcode.co.uk/mcp
- Version
- 1.0.2
- Transport
- Streamable HTTP
- Authentication
- None (observed by our test)
- Server address
- https://api.clearpostcode.co.uk/mcp Streamable HTTP
- Tools
- 8
- Categories
- —
- Last updated
- 28 Nov 2026
- Published
- 28 Nov 2026
Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/uk.co.clearpostcode/postcodes)<a href="https://latlas.dev/en/mcp/uk.co.clearpostcode/postcodes"><img src="https://latlas.dev/badge/fiche/uk.co.clearpostcode/postcodes.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://api.clearpostcode.co.uk/mcp
- Last result
- OK 29 Nov 2026, 08:22
- Response time
- 192 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- clearpostcode 1.0.0
- Tools
- 8
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 29 Nov 2026, 08:22 | OK | 192 ms | 8 |
Exposed tools (8, from tools/list, 29 Nov 2026)
lookup_postcode
Look up UK postcodes
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 about where a postcode is or which area it belongs to.
| Parameter | Type | Required | Description |
|---|---|---|---|
| postcode | string | no | A UK postcode, e.g. "SW1A 1AA" (any case, space optional). |
| postcodes | array<string> | no | Up to 100 postcodes instead of one (10 without an API key). |
| fields | string | no | Optional comma-separated fields to keep, e.g. "location,local_authority". |
validate_postcode
Validate a UK postcode
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| postcode | string | yes | The postcode to check. |
nearest_postcodes
Postcodes near a place or point
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| postcode | string | no | |
| latitude | number | no | |
| longitude | number | no | |
| radius_m | integer | no | Default 500; up to 20,000 for rural and island points (then up to 10 results). |
| limit | integer | no | Default 5. |
postcode_distance
Distance between two postcodes
Straight-line distance between two UK postcodes in kilometres and miles, with the compass direction.
| Parameter | Type | Required | Description |
|---|---|---|---|
| from | string | yes | |
| to | string | yes |
area_info
A postcode area, district or sector
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| code | string | yes | An area, district or sector. |
find_place
Find the postcode district of a place
Finds UK cities, towns, villages and neighbourhoods by name and returns each one's postcode district, council and coordinates (OS Open Names).
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | |
| limit | integer | no |
search
Search ClearPostcode
Search UK postcodes, districts and places. Returns ids to pass to fetch.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes |
fetch
Fetch a postcode or district
Fetch the full record for an id returned by search.
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://api.clearpostcode.co.uk/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http postcodes https://api.clearpostcode.co.uk/mcpCustomize > Connectors > + Add > Add custom connector ; Name : postcodes ; URL : https://api.clearpostcode.co.uk/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : postcodes ; Server URL : https://api.clearpostcode.co.uk/mcp ; Create as a plugin{
"mcpServers": {
"postcodes": {
"url": "https://api.clearpostcode.co.uk/mcp"
}
}
}{
"mcpServers": {
"postcodes": {
"type": "http",
"url": "https://api.clearpostcode.co.uk/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"postcodes": {
"url": "https://api.clearpostcode.co.uk/mcp"
}
}
}{
"mcpServers": {
"postcodes": {
"httpUrl": "https://api.clearpostcode.co.uk/mcp"
}
}
}[mcp_servers.postcodes]
url = "https://api.clearpostcode.co.uk/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
ClearPostcode · L’Atlas · Tested on
[ClearPostcode — L’Atlas](https://latlas.dev/en/mcp/uk.co.clearpostcode/postcodes)Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.