Koskamo

Clear Postcode MCP

An official MCP server providing live UK postcode data for AI assistants. It supports lookups, validation, finding nearest postcodes, calculating distances, and retrieving area information such as councils, wards, and constituencies. The server is read-only and uses official data from the ONS and OS Open Names.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

Clear Postcode MCP logo, by Clear PostcodeVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-24Operated by Clear Postcode
You need:Add a free key as a Bearer token for your own 10,000 lookups a month
MCP endpoint (Streamable HTTP)
https://clearpostcode.co.uk/mcp
Vendor documentation

What its tools do

8 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

8 of 8 have a description · 8 of 8 declare behavior hints · 3 of 8 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to clearpostcode.co.uk ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 1 of 1 checks passed in 30 days

What you can do with it

  • Look up council, ward, and constituency for a UK postcode
  • Validate if a UK postcode is real and in use
  • Find nearest postcodes to a given location or coordinates
  • Calculate straight-line distance between two postcodes

Source and maintenance

Vendor evidenceRegistry 1.0.0

Protocol and capabilities

Server
clearpostcode 1.0.0
MCP protocol negotiated in check
2025-11-25
Tools
8 advertised
Resources
Not advertised
Resource templates
Not advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": false
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Use these tools for any question about a UK postcode: where it is, which council, ward, constituency or county it is in, whether it is real and still in use, what is nearby, distances between postcodes, and which postcode district a town or village is in. Data: the ONS Postcode Directory (August 2026 edition) and OS Open Names, covering Great Britain, the Channel Islands and the Isle of Man. Northern Ireland (BT) postcodes are checked by format only. Quote figures as given and link the Clear Postcode page from the result.

Tools

8 advertised

lookup_postcode — Look up UK postcodes
Advertised by the server during the last successful anonymous check.
Advertised read-only

Everything about one UK postcode, or up to 50 at once: 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.

lookup_postcode input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "fields": {
      "type": "string",
      "description": "Optional comma-separated fields to keep, e.g. \"location,local_authority\"."
    },
    "postcode": {
      "type": "string",
      "description": "A UK postcode, e.g. \"SW1A 1AA\" (any case, space optional)."
    },
    "postcodes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "maxItems": 50,
      "description": "Up to 50 postcodes instead of one."
    }
  },
  "additionalProperties": false
}
lookup_postcode output schema
{
  "type": "object",
  "additionalProperties": true
}
lookup_postcode annotations
{
  "title": "Look up UK postcodes",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
validate_postcode — Validate a UK postcode
Advertised by the server during the last successful anonymous check.
Advertised read-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.

validate_postcode input schema
{
  "type": "object",
  "required": [
    "postcode"
  ],
  "properties": {
    "postcode": {
      "type": "string",
      "description": "The postcode to check."
    }
  },
  "additionalProperties": false
}
validate_postcode output schema
{
  "type": "object",
  "additionalProperties": true
}
validate_postcode annotations
{
  "title": "Validate a UK postcode",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
nearest_postcodes — Postcodes near a place or point
Advertised by the server during the last successful anonymous check.
Advertised read-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.

nearest_postcodes input schema
{
  "type": "object",
  "required": [],
  "properties": {
    "limit": {
      "type": "integer",
      "maximum": 20,
      "description": "Default 5."
    },
    "latitude": {
      "type": "number"
    },
    "postcode": {
      "type": "string"
    },
    "radius_m": {
      "type": "integer",
      "maximum": 2000,
      "description": "Default 500."
    },
    "longitude": {
      "type": "number"
    }
  },
  "additionalProperties": false
}
nearest_postcodes output schema
{
  "type": "object",
  "additionalProperties": true
}
nearest_postcodes annotations
{
  "title": "Postcodes near a place or point",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
postcode_distance — Distance between two postcodes
Advertised by the server during the last successful anonymous check.
Advertised read-only

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

postcode_distance input schema
{
  "type": "object",
  "required": [
    "from",
    "to"
  ],
  "properties": {
    "to": {
      "type": "string"
    },
    "from": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
postcode_distance output schema
{
  "type": "object",
  "additionalProperties": true
}
postcode_distance annotations
{
  "title": "Distance between two postcodes",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
area_info — A postcode area, district or sector
Advertised by the server during the last successful anonymous check.
Advertised read-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.

area_info input schema
{
  "type": "object",
  "required": [
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "description": "An area, district or sector."
    }
  },
  "additionalProperties": false
}
area_info output schema
{
  "type": "object",
  "additionalProperties": true
}
area_info annotations
{
  "title": "A postcode area, district or sector",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
find_place — Find the postcode district of a place
Advertised by the server during the last successful anonymous check.
Advertised read-only

Finds UK cities, towns, villages and neighbourhoods by name and returns each one's postcode district, council and coordinates (OS Open Names).

find_place input schema
{
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "maximum": 20
    }
  },
  "additionalProperties": false
}
find_place output schema
{
  "type": "object",
  "additionalProperties": true
}
find_place annotations
{
  "title": "Find the postcode district of a place",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
search — Search Clear Postcode
Advertised by the server during the last successful anonymous check.
Advertised read-only

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

search input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
search annotations
{
  "title": "Search Clear Postcode",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}
fetch — Fetch a postcode or district
Advertised by the server during the last successful anonymous check.
Advertised read-only

Fetch the full record for an id returned by search.

fetch input schema
{
  "type": "object",
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
fetch annotations
{
  "title": "Fetch a postcode or district",
  "readOnlyHint": true,
  "openWorldHint": false,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

Not advertised

No resource definitions available.

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (13 of 13 checks answered)

  1. 2026-11-24: 2 of 2 checks answered
  2. 2026-11-25: 4 of 4 checks answered
  3. 2026-11-26: 4 of 4 checks answered
  4. 2026-11-27: 3 of 3 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
1 of 1 (100%)
Average latency
298 ms
95th percentile latency
298 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 298 ms · metadata changed · 8 tool(s)

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http clear-postcode-mcp https://clearpostcode.co.uk/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add clear-postcode-mcp --url https://clearpostcode.co.uk/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable clear-postcode-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "clear-postcode-mcp": {
      "url": "https://clearpostcode.co.uk/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "clear-postcode-mcp": {
      "type": "streamableHttp",
      "url": "https://clearpostcode.co.uk/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start clear-postcode-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "clear-postcode-mcp": {
      "type": "http",
      "url": "https://clearpostcode.co.uk/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http clear-postcode-mcp https://clearpostcode.co.uk/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://clearpostcode.co.uk/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "clear-postcode-mcp": {
      "serverUrl": "https://clearpostcode.co.uk/mcp"
    }
  }
}

Let your agent find its tools

Find servers like Clear Postcode MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run Clear Postcode MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing