← clearpostcode.co.uk

INDIVIDUAL MCP TOOL

postcode_distance

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

clearpostcode.co.uknone authenticationAvailability not checked

LIVE ENDPOINT

https://clearpostcode.co.uk/mcp

No auth detected

Connect to this endpoint to inspect the live schema for postcode_distance and invoke it with your own arguments.

Indexed input schema

{}

Risk classification

Inferred read-only · medium confidence · heuristic, not a guarantee.

  • No write-capable action terms were found; this is not proof that invocation has no side effects.

Parent server

clearpostcode.co.uk

CONNECT WITH APPROVAL

Client installation

Review this server and its permissions before adding it. Secret placeholders must be set locally.

Codex

~/.codex/config.toml

[mcp_servers.clearpostcode]
url = "https://clearpostcode.co.uk/mcp"
enabled = true
Claude Code

.mcp.json

{
  "mcpServers": {
    "clearpostcode": {
      "type": "http",
      "url": "https://clearpostcode.co.uk/mcp"
    }
  }
}
Claude Desktop

Settings → Connectors → Add custom connector

Name: clearpostcode
Remote MCP URL: https://clearpostcode.co.uk/mcp

Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.

Cursor

.cursor/mcp.json

{
  "mcpServers": {
    "clearpostcode": {
      "url": "https://clearpostcode.co.uk/mcp"
    }
  }
}
Visual Studio Code

.vscode/mcp.json

Add to Visual Studio Code
{
  "servers": {
    "clearpostcode": {
      "type": "http",
      "url": "https://clearpostcode.co.uk/mcp"
    }
  }
}
Generic MCP

Client-specific MCP configuration

{
  "name": "clearpostcode",
  "transport": "streamable-http",
  "url": "https://clearpostcode.co.uk/mcp"
}
MCP Inspector

Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.

Related tools

  • lookup_postcode — 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.
  • validate_postcode — Checks a UK postcode: is the format right, is it in the current official data, and is it still in use.
  • nearest_postcodes — Live UK postcodes nearest a postcode or a latitude/longitude, closest first, with distances in metres.
  • area_info — Facts about a postcode area (e.
  • 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.
  • fetch — Fetch the full record for an id returned by search.