ClearPostcode

Live UK postcode data for AI: look up, validate, find nearest, council, ward, constituency. Free.

使うべきか

品質と安全性

B
説明の品質
80%
スキーマの完全性
86%
命名の品質
90%
ポイズニングのリスク
100%
権限の一致
90%
プロトコルへの準拠
100%

検出事項(3)

  • LOWTool 'postcode_distance' description lacks action verbpostcode_distance 内
  • LOWTool 'area_info' description lacks action verbarea_info 内
  • LOWTool 'fetch' suggests web access but openWorldHint=falsefetch 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~1,103トークン数(ツール定義)
~671 B一般的なレスポンスサイズ
注意への影響は中程度(128k コンテキストの 0.86%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "postcodes": {
      "url": "https://clearpostcode.co.uk/mcp"
    }
  }
}

リモートエンドポイント

https://clearpostcode.co.uk/mcpstreamable-http

できること

ツール一覧

ツール(8)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢lookup_postcode(postcode, postcodes, fields)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "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."
    },
    "fields": {
      "type": "string",
      "description": "Optional comma-separated fields to keep, e.g. \"location,local_authority\"."
    }
  },
  "required": [],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "additionalProperties": true
}
🟢validate_postcode(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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "postcode": {
      "type": "string",
      "description": "The postcode to check."
    }
  },
  "required": [
    "postcode"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "additionalProperties": true
}
🟢nearest_postcodes(postcode, latitude, longitude, radius_m, limit)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "postcode": {
      "type": "string"
    },
    "latitude": {
      "type": "number"
    },
    "longitude": {
      "type": "number"
    },
    "radius_m": {
      "type": "integer",
      "maximum": 2000,
      "description": "Default 500."
    },
    "limit": {
      "type": "integer",
      "maximum": 20,
      "description": "Default 5."
    }
  },
  "required": [],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "additionalProperties": true
}
🟢postcode_distance(from, to)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    }
  },
  "required": [
    "from",
    "to"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "additionalProperties": true
}
🟢area_info(code)

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.

入力スキーマ

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "An area, district or sector."
    }
  },
  "required": [
    "code"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "additionalProperties": true
}
🟢find_place(name, limit)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "limit": {
      "type": "integer",
      "maximum": 20
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "additionalProperties": true
}
🟢search(query)

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

入力スキーマ

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
🟢fetch(id)

Fetch the full record for an id returned by search.

入力スキーマ

{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 8 件