CodePostalPro

com.codepostalpro由 codepostalpro.com 發布官方發布者v1.1.0更新於 Oct 24, 2026

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

已驗證Streamable HTTP可網頁執行位置與生活資料與分析

概覽

AI 產生的概覽

遠端 MCP 伺服器,可查詢約 120 個國家的郵遞區號,並提供美國 ZIP 的區碼、氣候帶與人口等深入資料。

可以做什麼
查詢郵遞區號或美國 ZIP 碼,回傳該碼涵蓋的所有地點,包含城市、地區、座標、時區、電話區碼與植物耐寒區。依地名或部分郵遞區號搜尋地點,結果先按名稱完全相符、再依人口排序;也可依經緯度列出附近地點及距離。瀏覽地區及其下轄城市或行政區,並深入查看某城市、省、縣或郵局下的全部郵遞區號。將美國電話區碼解析為所在州、主要城市與疊加區碼。列出涵蓋國家及其郵遞區號格式、層級標籤、關鍵資訊與各國郵遞區號數量。
適用情境
適合需要把郵遞區號轉為地點、依地名查找郵遞區號、把座標解析為最近郵遞區號,或回答美國區碼與 ZIP 層級問題的情境。用於地址驗證、地理資訊補充或位置相關回答時值得加入,而非通用網頁搜尋。
執行需求
遠端 streamable HTTP 端點,無需本機執行環境或安裝套件。選用的免費 API 金鑰透過 X-Api-Key 請求標頭傳送,可將每日限額從 1,000 次提高到 5,000 次。需要能連線至服務商的 API。
安裝前請注意
查詢為唯讀操作,但每次請求都會送往第三方服務。未提供金鑰時每日呼叫限額較低;金鑰屬於憑證,應避免寫入共用設定。距離依來源資料中的地點中心點計算,而非精確地址,因此附近結果僅為近似值。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 CodePostalPro,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.codepostalpro%2Fpostal-codes/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "codepostalpro": {
      "type": "http",
      "url": "https://api.codepostalpro.com/mcp"
    }
  }
}

工具

7

lookup_postal_code

Postal code lookup

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.

輸入參數code必填country必填

search_places

Place search

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.

輸入參數limitquery必填country

nearby_places

Nearby postal codes

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.

輸入參數lat必填lon必填limitcountryradius_km

get_region

Region details

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".

輸入參數region必填country必填

get_group

City & district details

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`).

輸入參數group必填region必填country必填

area_code_lookup

US area code lookup

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.

輸入參數area_code必填

list_countries

Covered 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.

無需輸入參數。

版本歷史

2
  1. v1.1.0最新Sep 23, 2026
  2. v1.0.0Sep 22, 2026

評分

已滿足適用檢查項的 72%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。