Zip-Codes.com Location Intelligence: Spatial Analysis, Districts & 14+ Years of Demographics

com.zip-codes由 zip-codes.com 发布官方发布者v1.0.1更新于 Nov 3, 2026

验证并地理编码美国地址:人口统计、选区与学校。代理可通过MPP购买积分。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Validate & geocode a US address: demographics, districts & schools. Agents can buy credits via MPP.

已验证Streamable HTTP可网页运行位置与生活数据与分析

概览

Zip-Codes.com Location Intelligence: Spatial Analysis, Districts & 14+ Years of Demographics 的托管 MCP 服务(mcp.zip-codes.com),由 zip-codes.com 发布;可选 API 密钥;Streamable HTTP;12 个工具。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

发布者
zip-codes.com
端点
mcp.zip-codes.com
最近检查

安装

在 SourceWeft 中

  1. 打开 控制台中的 Zip-Codes.com Location Intelligence: Spatial Analysis, Districts & 14+ Years of Demographics,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.zip-codes%2Fapi/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "zip-codes-com-location-intelligence-spat": {
      "type": "http",
      "url": "https://mcp.zip-codes.com/mcp"
    }
  }
}

README

Zip-Codes.com Location Intelligence: Spatial Analysis, Districts & 14+ Years of Demographics

Location intelligence for US addresses and ZIP Codes, through the Model Context Protocol. Zip-Codes.com can validate a US street address and return its ZIP+4, census tract demographics, income, housing and school district in one call. It answers from current USPS data, updated monthly, and Census boundaries, so an agent looks addresses and ZIP Codes up instead of guessing them. Request the enrichments you need. The survey estimates describe the census tract and carry margins of error.

ZIP boundaries follow USPS carrier routes and are refreshed quarterly. Coverage includes PO Box and single-organization ZIP Codes that Census ZIP-area files leave out. Boundary enrichments show which counties and districts a ZIP overlaps, with shares measured by area. The USPS county assignment is available alongside the mapped counties.

For history, request Census TIGER/Line boundaries from 2010–2026. American Community Survey profiles use consistent field names across 2011–2024 releases for ZIP Code areas and 2022–2024 for tracts. A ZIP's survey estimates come from the Census ZCTA with the same code.

MPP-capable: an optional buy_credits tool lets an agent with an MPP wallet (such as Stripe Link) buy a prepaid API key or add credits to one; the wallet's owner approves each payment.

Connect

Server URL: https://mcp.zip-codes.com/mcp (Streamable HTTP).

Claude Code

bash
claude mcp add --transport http zip-codes https://mcp.zip-codes.com/mcpclaude mcp add --transport http zip-codes https://mcp.zip-codes.com/mcp --header "X-Api-Key: YOUR_KEY"

Cursor (~/.cursor/mcp.json) and other mcpServers clients

json
{  "mcpServers": {    "zip-codes": {      "url": "https://mcp.zip-codes.com/mcp",      "headers": {        "X-Api-Key": "YOUR_KEY"      }    }  }}

VS Code (.vscode/mcp.json)

json
{  "servers": {    "zip-codes": {      "type": "http",      "url": "https://mcp.zip-codes.com/mcp",      "headers": {        "X-Api-Key": "YOUR_KEY"      }    }  }}

Clients that only take a bearer token can send Authorization: Bearer YOUR_KEY instead.

Claude / Claude Desktop custom connector

Add https://mcp.zip-codes.com/mcp as a custom connector. It runs in demo mode unless the connector form has a Request headers section (a beta for a limited set of organizations): there, add x-api-key with your key.

Tools (12)

ToolTitleWhat it does
about_dataAbout this dataWhere this server's data comes from: for each dataset the authority behind it, the edition served where the source publishes editions (TIGER/Line, ACS, ZCTA), how often a new release is taken, and a ready-made citation string.
buy_creditsBuy creditsBuy a credit pack with a wallet that pays MPP (Machine Payments Protocol) challenges, such as Stripe Link.
city_name_rulesCity name rulesHow USPS names a ZIP Code, and which of those names may be used on mail.
county_referenceCounty referenceUS counties and county equivalents — all 3,235 of them — with their Census and USPS names, which disagree for over a hundred, plus ANSI code, legal type, land and water area, and USPS delivery footprint.
distanceDistance between two placesDistance between two places, in miles and kilometres, plus the compass bearing from the first to the second.
metro_area_referenceMetro area referenceUS metropolitan and micropolitan statistical areas (CBSAs) — all 935.
quick_zipQuick ZIP / ZIP+4 / reverse geocodeThe fast, small answer for a postal code.
radius_searchRadius searchFind every US ZIP Code and Canadian postal area within a radius of a centre point, with the distance to each.
suggest_placesPlace search (type-ahead)Search for a place by partial name, misspelled name, or partial code — the resolver that turns what a person typed into something the other tools can look up.
validate_addressValidate a US addressValidate and standardise a US street address and return its ZIP+4.
zip_factsZIP Code factsStatistics about US ZIP Codes and Canadian postal codes: how many exist, how they break down by type, delivery point and carrier route totals, per-state tables, and ranked lists such as the ZIP Codes with the most carrier routes.
zip_lookupZIP Code lookupThe full record for a postal code — the main location-intelligence tool.

Pricing

No key needed to start. A free key gives 2,500 credits a day; plans and credit packs: https://www.zip-codes.com/api/pricing

Support

Email [email protected]. Issues are turned off on this repository; email reaches the people who run the server.

Privacy policy: https://www.zip-codes.com/privacy-policy.asp

Links

License

Proprietary. All rights reserved; see LICENSE. Use of the server, API and data is governed by the Terms of Service: https://www.zip-codes.com/api/tos

来源:README.md,提交 977b1fb

工具

12

suggest_places

Place search (type-ahead)

Search for a place by partial name, misspelled name, or partial code — the resolver that turns what a person typed into something the other tools can look up. Fuzzy matching is built in: "beverley hills" finds Beverly Hills, "san fransisco" finds San Francisco, and a partial code like "902" finds the ZIP Codes starting with it. Matches US ZIP Codes, cities, USPS city names, counties, metropolitan areas, states, school districts, Canadian FSAs and Canadian postal codes, ranked, with the total number of matches. Reach for this FIRST when the place is vague, misspelled or partial, then pass the resolved code to zip_lookup, radius_search or distance. Restrict the kinds of place with types, or bias results towards a location with near. Coverage is broad rather than deep — it returns names and codes, not the full record.

输入参数q必填nearlimitstatetypesapi_keycountry

zip_lookup

ZIP Code lookup

The full record for a postal code — the main location-intelligence tool. Takes a US ZIP Code, a US ZIP+4, a Canadian FSA, a Canadian postal code, or a latitude,longitude pair, and returns the city, state or province, county, whether it spans more than one county, area codes, elevation, metro area and postal details (metro.msa and metro.pmsa are legacy 1999 definitions; the current metro area, the CBSA, comes with census). A ZIP+4 also returns its delivery-segment street ranges, and coordinates reverse-geocode to the code containing the point. Optional enrichments add timezone, census geography, congressional and state legislative districts (for the current year or any TIGER/Line year served), school districts, demographics, Medicare geography and American Community Survey estimates for every release served, all in one schema per year; for Canadian codes, Statistics Canada geography and federal electoral districts (statcan). Use quick_zip instead when only the code and its place are needed — same inputs, about half the payload, no enrichments beyond timezone. Without an API key the core identity fields are returned and everything else is withheld, with each withheld path named.

输入参数code必填api_keyincludeacs_years

zip_facts

ZIP Code facts

Statistics about US ZIP Codes and Canadian postal codes: how many exist, how they break down by type, delivery point and carrier route totals, per-state tables, and ranked lists such as the ZIP Codes with the most carrier routes. Every figure is generated from a stored query against the source data, with the date it was measured. Costs nothing and needs no key.

无需输入参数。

quick_zip

Quick ZIP / ZIP+4 / reverse geocode

The fast, small answer for a postal code. Takes a US ZIP Code, a US ZIP+4, a Canadian FSA, a Canadian postal code, or a latitude,longitude pair, and returns the code's city, state or province, county, and whether it spans more than one county. Given a ZIP+4 it also returns the street ranges making up that delivery segment; given coordinates it reverse-geocodes to the code containing the point. zip_lookup accepts exactly the same inputs and returns the same ZIP+4 detail — choose this one when the answer only needs to be the code and its place, because the payload is about half the size and only the timezone enrichment is available here. Use zip_lookup for census, demographic, district or American Community Survey enrichments.

输入参数code必填api_keyinclude

city_name_rules

City name rules

How USPS names a ZIP Code, and which of those names may be used on mail. Each ZIP Code has exactly one preferred city name plus alternates, and some alternates are NOT valid for addressing — for 08088 NJ, SHAMONG is valid while SHAMONG TOWNSHIP is not. Returns the rules, the counts and a worked example. Costs nothing and needs no key.

无需输入参数。

buy_credits

Buy credits

Buy a credit pack with a wallet that pays MPP (Machine Payments Protocol) challenges, such as Stripe Link. The credits go on the account or prepaid card of the API key you send. Without a key, the purchase makes a prepaid card: a new API key holding the credits, in the result's api_key; pass it as api_key on later calls, and keep it (it is shown again only while the card is unused, for 24 hours). Name the pack by pack, price_usd or credits (the packs: https://api.zip-codes.com/pricing.json). The first call answers Payment Required (-32042) with a challenge for that pack and charges nothing; a wallet that pays it sends the same call again with its credential and gets the purchase back: its purchase_id, the credits added and a receipt. The same payment sent again is never charged twice. A payment still clearing reads processing, with no credits yet: send the same call again later. Without a wallet, ask your human to buy at https://www.zip-codes.com/api/pricing. By paying you accept the Terms of Service: https://www.zip-codes.com/api/tos

输入参数packapi_keycreditsprice_usd

about_data

About this data

Where this server's data comes from: for each dataset the authority behind it, the edition served where the source publishes editions (TIGER/Line, ACS, ZCTA), how often a new release is taken, and a ready-made citation string. Costs nothing and needs no key.

无需输入参数。

distance

Distance between two places

Distance between two places, in miles and kilometres, plus the compass bearing from the first to the second. Each end takes a US ZIP Code, a US ZIP+4, a Canadian FSA, a Canadian postal code, or a latitude,longitude pair, and the two ends can be different kinds — a US ZIP to a Canadian postal code works, and so does a code to a coordinate. Time zone for both ends is included. This is a straight-line distance, not a driving route. Without an API key the distance itself is returned and the geography behind it is withheld.

输入参数to必填from必填api_key

validate_address

Validate a US address

Validate and standardise a US street address and return its ZIP+4. US ONLY — unlike the postal-code tools, this does not cover Canada. Send the address on one line in mailing order: number and street, then any unit (APT 4, STE 900, #9), then city, state and ZIP. It tolerates ordinary slips (a misspelling, a missing ZIP, state or directional), but it is not a puzzle to solve: a unit placed after the city or ZIP ("Pensacola FL #9") is ambiguous, a unit or a floor. Send what the user gave you, in proper order, once. If it does not match, report that; do not keep trying rewrites. Returns the address in USPS standard form split into its parts, the 5-digit ZIP and the +4 add-on, a confidence level of high, medium or low (low: the +4 may be withheld), and the county, carrier route, congressional district and census block group for the match, all for one credit. `include` appends more, one credit each: coordinates, the census geographies the address sits inside, its congressional and state legislative districts (now or as of any TIGER/Line year served), its school district, its time zone, and American Community Survey profiles for its census tract. The congressional district already in `details` is USPS's own code for the record; the `cd` append is the mapped district, with its number, name and the congress it belongs to. Always read `notices`. ZIP_CORRECTED means the match is in a different ZIP than the one supplied. SECONDARY_NEEDED means the building has multiple units and an apartment or suite number should be requested. SECONDARY_NOT_VERIFIED means a supplied unit could not be confirmed against known ranges. PARTIAL_MATCH means some details are unverified. A failed match returns success false, sometimes with no notice explaining why, so check success rather than assuming the data block is populated. Without an API key the standardised address is returned with the +4 masked.

输入参数address必填api_keyinclude

county_reference

County reference

US counties and county equivalents — all 3,235 of them — with their Census and USPS names, which disagree for over a hundred, plus ANSI code, legal type, land and water area, and USPS delivery footprint. Filter by state to get every county in that state: without a filter only the first 25 are returned, and they are FIPS-ordered, so an unfiltered call answers with Alabama rather than with whatever was asked about. Costs nothing and needs no key.

输入参数limitstate

metro_area_reference

Metro area reference

US metropolitan and micropolitan statistical areas (CBSAs) — all 935. Of those only 393 are metropolitan; the rest are micropolitan and are NOT metro areas, so do not treat a CBSA count as a metro count. Each carries its divisions, parent combined area, land area and delivery footprint, plus the CMS Medicare labor market area, which is a DIFFERENT geography that shares the same code space. Filter by state to get every area in that state: without a filter only the first 25 are returned, alphabetically, so an unfiltered call answers with Aberdeen. Costs nothing and needs no key.

输入参数limitstate

版本历史

2
  1. v1.0.1最新Nov 3, 2026
  2. v1.0.0Oct 20, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Zip-Codes 集成