Search / uk.co.clearpostcode/postcodes
ClearPostcode
R0· no sign-inLive UK postcode data for AI: look up, validate, find nearest, council, ward, constituency. Free.
v1.0.2 · active · website · descriptor JSON · versions
Search / uk.co.clearpostcode/postcodes
R0· no sign-inLive UK postcode data for AI: look up, validate, find nearest, council, ward, constituency. Free.
v1.0.2 · active · website · descriptor JSON · versions
{
"mcpServers": {
"postcodes": {
"type": "http",
"url": "https://api.clearpostcode.co.uk/mcp",
"headers": {
"Authorization": "Bearer ${POSTCODES_TOKEN}"
}
}
}
}claude mcp add --transport http postcodes https://api.clearpostcode.co.uk/mcp --header "Authorization: Bearer ${POSTCODES_TOKEN}"[mcp_servers.postcodes]
url = "https://api.clearpostcode.co.uk/mcp"
bearer_token_env_var = "POSTCODES_TOKEN"
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"postcodes": {
"type": "remote",
"url": "https://api.clearpostcode.co.uk/mcp",
"enabled": true,
"headers": {
"Authorization": "Bearer {env:POSTCODES_TOKEN}"
}
}
}
}{
"mcpServers": {
"postcodes": {
"type": "http",
"url": "https://api.clearpostcode.co.uk/mcp",
"headers": {
"Authorization": "Bearer ${POSTCODES_TOKEN}"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=postcodes&config=eyJ0eXBlIjoiaHR0cCIsInVybCI6Imh0dHBzOi8vYXBpLmNsZWFycG9zdGNvZGUuY28udWsvbWNwIiwiaGVhZGVycyI6eyJBdXRob3JpemF0aW9uIjoiQmVhcmVyICR7UE9TVENPREVTX1RPS0VOfSJ9fQ%3D%3D"
}{
"servers": {
"postcodes": {
"type": "http",
"url": "https://api.clearpostcode.co.uk/mcp",
"headers": {
"Authorization": "Bearer ${POSTCODES_TOKEN}"
}
}
},
"deeplink": "vscode:mcp/install?%7B%22name%22%3A%22postcodes%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fapi.clearpostcode.co.uk%2Fmcp%22%2C%22headers%22%3A%7B%22Authorization%22%3A%22Bearer%20%24%7BPOSTCODES_TOKEN%7D%22%7D%7D"
}{
"mcpServers": {
"postcodes": {
"httpUrl": "https://api.clearpostcode.co.uk/mcp",
"headers": {
"Authorization": "Bearer ${POSTCODES_TOKEN}"
}
}
}
}extensions:
"postcodes":
enabled: true
name: "postcodes"
type: streamable_http
uri: "https://api.clearpostcode.co.uk/mcp"
headers:
"Authorization": "Bearer ${POSTCODES_TOKEN}"
timeout: 300
Placeholders to fill from your own secret store: ${POSTCODES_TOKEN}. The registry never accepts secret values.
protocol.modernprotocol.statelessprotocol.transportprotocol.list_ttlauth.prm, auth.as_metadata, auth.cimdauth.secret_in_urltools.descriptionstools.description_lengthtools.schemastools.annotationstools.directory_hintstools.token_costtools.api_dumptools.hidden_texttools.poisoningstability.changes, stability.rug_pull, stability.new_linksdeps.known_vulns, deps.mcp_sdk_version, deps.resolvablesearchchangedtitle, annotationsno new versionFull history: list_changes · trend: quality JSON.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+dns-namespace +website +reachable +uptime-100% +updated-1d-ago -no-repository
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
| remote | auth | reachable | uptime 30d | p50 | p95 | protocol | last ok |
|---|---|---|---|---|---|---|---|
https://api.clearpostcode.co.uk/mcp streamable-http | none | yes | 100% | 305 ms | 431 ms | 2026-07-28, 2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05 | 2026-11-29 |
area_inforead-only | 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. |
fetchread-only | Fetch the full record for an id returned by search. |
find_placeread-only | Finds UK cities, towns, villages and neighbourhoods by name and returns each one's postcode district, council and coordinates (OS Open Names). |
lookup_postcoderead-only | 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. |
nearest_postcodesread-only | 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_distanceread-only | Straight-line distance between two UK postcodes in kilometres and miles, with the compass direction. |
searchread-only | Search UK postcodes, districts and places. Returns ids to pass to fetch. |
validate_postcoderead-only | 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. |
Schemas: list_tools.
{
"name": "uk.co.clearpostcode/postcodes",
"title": "ClearPostcode",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"remotes": [
{
"url": "https://api.clearpostcode.co.uk/mcp",
"type": "streamable-http",
"headers": [
{
"name": "Authorization",
"isSecret": true,
"description": "Optional API key as a Bearer token (Bearer <key>) to raise rate limits. Not needed for free use."
}
]
}
],
"version": "1.0.2",
"websiteUrl": "https://clearpostcode.co.uk/mcp",
"description": "Live UK postcode data for AI: look up, validate, find nearest, council, ward, constituency. Free."
}