L'Atlas / MCP servers / ClearPostcode
MCP server

ClearPostcode

uk.co.clearpostcode/postcodes

MCP server OK 8 tools

Get a review See pricing

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

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/uk.co.clearpostcode/postcodes.svg?lang=en)](https://latlas.dev/en/mcp/uk.co.clearpostcode/postcodes)
HTML
<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

DateResultResponseTools
29 Nov 2026, 08:22OK192 ms8

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.

ParameterTypeRequiredDescription
postcodestringnoA UK postcode, e.g. "SW1A 1AA" (any case, space optional).
postcodesarray<string>noUp to 100 postcodes instead of one (10 without an API key).
fieldsstringnoOptional 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.

ParameterTypeRequiredDescription
postcodestringyesThe 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.

ParameterTypeRequiredDescription
postcodestringno
latitudenumberno
longitudenumberno
radius_mintegernoDefault 500; up to 20,000 for rural and island points (then up to 10 results).
limitintegernoDefault 5.

postcode_distance

Distance between two postcodes

Straight-line distance between two UK postcodes in kilometres and miles, with the compass direction.

ParameterTypeRequiredDescription
fromstringyes
tostringyes

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.

ParameterTypeRequiredDescription
codestringyesAn 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).

ParameterTypeRequiredDescription
namestringyes
limitintegerno

search

Search ClearPostcode

Search UK postcodes, districts and places. Returns ids to pass to fetch.

ParameterTypeRequiredDescription
querystringyes

fetch

Fetch a postcode or district

Fetch the full record for an id returned by search.

ParameterTypeRequiredDescription
idstringyes

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport accepteddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Remote address used: https://api.clearpostcode.co.uk/mcp. Formats taken from each client’s documentation.

Claude Code
claude mcp add --transport http postcodes https://api.clearpostcode.co.uk/mcp
Claude (claude.ai, Claude Desktop, Cowork)
Customize > Connectors > + Add > Add custom connector ; Name : postcodes ; URL : https://api.clearpostcode.co.uk/mcp
ChatGPT (serveurs MCP personnalisés / plugins)
chatgpt.com/plugins > + > Add custom MCP server ; Name : postcodes ; Server URL : https://api.clearpostcode.co.uk/mcp ; Create as a plugin
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "postcodes": {
      "url": "https://api.clearpostcode.co.uk/mcp"
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "postcodes": {
      "type": "http",
      "url": "https://api.clearpostcode.co.uk/mcp",
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "postcodes": {
      "url": "https://api.clearpostcode.co.uk/mcp"
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "postcodes": {
      "httpUrl": "https://api.clearpostcode.co.uk/mcp"
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[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

Markdown
[ClearPostcode — L’Atlas](https://latlas.dev/en/mcp/uk.co.clearpostcode/postcodes)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.