CodePostalPro

Postal lookups for 120 countries with cited sources; deep US tier: demographics, climate, area codes

使うべきか

品質と安全性

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

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

コンテキストコスト

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

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

インストール

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

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

{
  "mcpServers": {
    "postal-codes": {
      "url": "https://api.codepostalpro.com/mcp"
    }
  }
}

リモートエンドポイント

https://api.codepostalpro.com/mcpstreamable-http

できること

ツール一覧

ツール(7)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢lookup_postal_code(country, code)

Look up a postal code or US ZIP code. Returns every locality that carries the code with its city, county/administrative division, region (state, département, wilaya…), coordinates, IANA time zone, US telephone area codes, USDA 2023 plant hardiness / planting zone (e.g. 7b with its temperature band), and US Census demographics (population, density and land area, median household and per-capita income, median age, households, housing units, median home value, median gross rent — measured for the ZCTA, the Census approximation of the ZIP area). Each record lists its `sources` and a `verification` status (cross-checked | source-single | conflict | unverified); on `conflict`, `alternate_codes` gives the competing values and their sources — never pick one silently; tell the user both. Curated coverage (full records): United States (ZIP), Germany, Austria, Spain, France, Algeria, Tunisia, Morocco. All other countries (~115 more: GB, CA, IN, JP, MX, BR…) return bulk-tier records — place name, admin areas and coordinates from GeoNames, marked `tier: "bulk"` and single-source, without demographics.

入力スキーマ

{
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 code: US, FR, DZ, TN or MA"
    },
    "code": {
      "type": "string",
      "description": "The postal / ZIP code exactly as written, e.g. \"90210\", \"75001\", \"16000\""
    }
  },
  "required": [
    "country",
    "code"
  ]
}
🟢search_places(query, country, limit)

Find localities by name, city name, or the beginning of a postal code. Use this when the user gives a place name and wants its postal code(s), or has a partial code. Results are ranked exact-name-first, then by population. Returns the same full records as lookup_postal_code. Restrict with `country` whenever it is known — names repeat across countries and states (there are many Springfields). With a non-curated `country` (GB, CA, JP…), searches the bulk GeoNames tier by place name or postal-code prefix.

入力スキーマ

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "Place name or postal-code prefix, at least 2 characters"
    },
    "country": {
      "type": "string",
      "description": "Optional ISO code to restrict the search (US, FR, DZ, TN, MA)"
    },
    "limit": {
      "type": "integer",
      "description": "Max results, 1–100 (default 20)"
    }
  },
  "required": [
    "query"
  ]
}
🟢nearby_places(lat, lon, radius_km, country, limit)

List localities around a latitude/longitude, nearest first, each with `distance_km`. Use it for "what ZIP codes are near…", "postal codes within 10 km of…", or to resolve coordinates to the closest postal code (the first result). Distances are to the locality centroid from the source data, not to a boundary.

入力スキーマ

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number"
    },
    "lon": {
      "type": "number"
    },
    "radius_km": {
      "type": "number",
      "description": "0.5–200, default 25"
    },
    "country": {
      "type": "string",
      "description": "Optional ISO code filter"
    },
    "limit": {
      "type": "integer",
      "description": "1–100, default 20"
    }
  },
  "required": [
    "lat",
    "lon"
  ]
}
🟢get_region(country, region)

A state, région, wilaya or governorate with the list of its cities / départements / delegations (names, slugs and their postal codes), plus for US states every telephone area code in use. Use the slugs it returns to call get_group or get_place. Region slugs are lower-case hyphenated names: "texas", "ile-de-france", "alger".

入力スキーマ

{
  "type": "object",
  "properties": {
    "country": {
      "type": "string"
    },
    "region": {
      "type": "string",
      "description": "Region slug"
    }
  },
  "required": [
    "country",
    "region"
  ]
}
🟢get_group(country, region, group)

A city (US), département (France), province (Morocco), post office (Algeria) or delegation (Tunisia) with all its localities / ZIP codes. For a US city this is the complete list of its ZIP codes with coordinates, time zone and area codes. Needs the region slug and the group slug (both from get_region or from any record's `region.slug` / `group.slug`).

入力スキーマ

{
  "type": "object",
  "properties": {
    "country": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "group": {
      "type": "string"
    }
  },
  "required": [
    "country",
    "region",
    "group"
  ]
}
🟢area_code_lookup(area_code)

Where a US telephone area code is used: the state(s) it serves, the cities with the most ZIPs listing it, total ZIP and city counts, and `overlay_codes` — codes assigned to the same territory (e.g. 310 and 424 in west Los Angeles). Use it for "where is area code 310", "what area code is Denver" (via the city’s ZIPs instead), or to sanity-check a phone number’s geography. Caveat to relay: NANPA assigns codes to rate centres, matched here to cities — city-level accuracy, not a legal boundary, and a mobile number keeps its code when its owner moves.

入力スキーマ

{
  "type": "object",
  "properties": {
    "area_code": {
      "type": "string",
      "description": "Three-digit NANPA area code, e.g. \"310\""
    }
  },
  "required": [
    "area_code"
  ]
}
🟢list_countries

Coverage overview: the eight curated countries with postal-code format, hierarchy labels (e.g. state › city › ZIP), key facts (capital, population, area, currency, calling code) and time zones — plus `bulk_tier` with per-country postal-code counts for the ~115 additional countries served from GeoNames. Call it once if unsure whether a country is covered.

入力スキーマ

{
  "type": "object",
  "properties": {}
}

推奨プロンプト

list_items
List all [items] available in CodePostalPro
想定されるツール: list_countries
retrieve_data
Get details about [item] from CodePostalPro
想定されるツール: get_region
fetch_info
Fetch [information type] using CodePostalPro
想定されるツール: get_region
search_research
Search for information about [topic] using CodePostalPro
想定されるツール: search_places
find_specific
Find [specific item] using CodePostalPro
想定されるツール: search_places

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

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