ClearPostcode
uk.co.clearpostcode/postcodes
Live UK postcode data for AI: look up, validate, find nearest, council, ward, constituency. Free.
- Website
- clearpostcode.co.uk/mcp
- Server address
https://api.clearpostcode.co.uk/mcp(streamable-http)- Version
- 1.0.2
- Author
- clearpostcode.co.uk (namespace verified by the registry)
- Source
- Official MCP registry (updated Nov 28, 2026)
How to install it
The server optionally accepts a header: Authorization. Replace YOUR_KEY with your key.
Claude Code
In a terminal:
claude mcp add --transport http postcodes https://api.clearpostcode.co.uk/mcp \
--header "Authorization: Bearer YOUR_KEY"Claude (app and claude.ai)
Open Settings, then Connectors, and add a custom connector with this address. If the server asks you to sign in, Claude will walk you through it.
https://api.clearpostcode.co.uk/mcpChatGPT
In Settings, Apps & Connectors section, turn on developer mode, then create a connector with this address.
https://api.clearpostcode.co.uk/mcpCursor ~/.cursor/mcp.json
Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in the project):
{
"mcpServers": {
"postcodes": {
"url": "https://api.clearpostcode.co.uk/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}VS Code .vscode/mcp.json
Add this to your project’s .vscode/mcp.json:
{
"servers": {
"postcodes": {
"type": "http",
"url": "https://api.clearpostcode.co.uk/mcp",
"headers": {
"Authorization": "Bearer YOUR_KEY"
}
}
}
}These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
Responds The server speaks MCP and lists its tools.
- Date
- Nov 29, 2026, 08:22 (test run by L’Atlas)
- Response time
- 192 ms (whole test)
- Tools found
- 8
- Announced name
- clearpostcode 1.0.0
- Protocol
- MCP 2025-11-25
- Next test
- Dec 6, 2026
See the tools (8)
lookup_postcode
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 clasvalidate_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.nearest_postcodes
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
Straight-line distance between two UK postcodes in kilometres and miles, with the compass direction.area_info
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.find_place
Finds UK cities, towns, villages and neighbourhoods by name and returns each one's postcode district, council and coordinates (OS Open Names).search
Search UK postcodes, districts and places. Returns ids to pass to fetch.fetch
Fetch the full record for an id returned by search.
What the test does: it opens an MCP session (initialize) and asks for the tool list (tools/list), with no key or account. No tool is ever called. Learn more
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/uk.co.clearpostcode/postcodes)HTML
<a href="https://lagora.dev/en/entry/uk.co.clearpostcode/postcodes"><img src="https://lagora.dev/badge/uk.co.clearpostcode/postcodes.svg?lang=en" alt="uk.co.clearpostcode/postcodes on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.