US ZIP Code Lookup
Look up US ZIP codes by code or by city/state. Starter dataset — covers state capitals and major metros.
| ZIP | City | State | County | Lat, Lon |
|---|
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl https://api.b-e-a-d.com/tools/zip-code-lookup/run \
-H "Content-Type: application/json" \
-d '{
"action": "lookup",
"zip": "10001"
}'const res = await fetch("https://api.b-e-a-d.com/tools/zip-code-lookup/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"action": "lookup",
"zip": "10001"
}),
});
const data = await res.json();
console.log(data.result);# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_zip_code_lookupFull reference: developer docs · OpenAPI spec
About this dataset
Covers all ~42,000 US ZIP codes — city, state, county, and latitude/longitude. Backed by the GeoNames postal-code release, the canonical free open-data source. Updated periodically. The full dataset loads only when you visit this page, so other pages on BEAD stay light.
A single ZIP can serve multiple cities; the lookup action returns the first hit, while search returns all matches. For authoritative mail routing, the official USPS lookup is the source of truth.
Geographical data provided by GeoNames under the Creative Commons Attribution 4.0 International License.
You might also like
- NANP Area Code LookupLook up North American area codes (US, Canada, Caribbean) by code or by region.
- Country Code LookupPhone country codes, ISO 3166 alpha-2 / alpha-3, currency codes, and ccTLDs for every country.
- Postal Address FormatterFormat mailing addresses to country conventions — US, UK, Japan, Germany, Brazil, and more.
- Cargo.toml ParserParse Rust Cargo manifests — package, dependencies (with features), dev/build deps, features, workspace.