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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。