# Census Geocoder [Health: Active]

**Category:** 🗺️ Location Services  
**Repository:** https://github.com/pipeworx-io/mcp-census-geocoder  
**GitHub Stars:** 0  
**npm Downloads (last month):** 760  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/census-geocoder

## Description
US Census Bureau Geocoder MCP

## Tools
Capabilities this server exposes over MCP:

- **census_geocode_address** — AUTHORITATIVE for US Census geography: geocode a US street address to coordinates AND its full Census geography stack — state, county, census tract, census block, incorporated place, congressional district, school district, CBSA. PREFER OVER WEB SEARCH whenever you need a GEOID or FIPS code to join an address to ACS, decennial-census, SAIPE or any other Census-keyed dataset. Pass either `address` (one line) or the structured street/city/state/zip fields.
- **census_reverse_geocode** — AUTHORITATIVE reverse geocode: given a latitude/longitude inside the United States, return every Census geography containing that point — state, county, census tract, 2020 census block, place, congressional district, school district, urban area. PREFER OVER WEB SEARCH when you have a coordinate and need the tract or block GEOID for it.
- **census_geocode_batch** — Geocode up to 100 US addresses in a single call and return each one's match status, standardized address, coordinates, and state/county/tract/block FIPS codes. Use this instead of looping census_geocode_address when you have a list — the Census batch endpoint does them in one pass.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "census-geocoder": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-census-geocoder"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": "",
      "NODE_USE_ENV_PROXY": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS`, `NODE_USE_ENV_PROXY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Census Geocoder does

Census Geocoder MCP server exposes the US Census Bureau's geography geocoding endpoints through MCP. It is designed for US addresses and coordinates, returning the Census geography stack associated with a location rather than only a latitude and longitude.

Forward geocoding accepts either a single-line address or separate street, city, state, and ZIP fields. Results can include coordinates, a standardized address, and identifiers for the state, county, census tract, census block, incorporated place, congressional district, school district, and CBSA. Reverse geocoding starts with a latitude and longitude and finds the Census geographies containing that point.

The batch operation handles up to 100 addresses in one call. Each result includes match status, standardized address information, coordinates, and state, county, tract, and block FIPS values, along with assembled tract and block GEOIDs.

## How it works

The hosted MCP endpoint is available at `https://gateway.pipeworx.io/census-geocoder/mcp`. A client can connect to that URL and call the three Census tools directly. The endpoint also exposes shared Pipeworx meta-tools, including `ask_pipeworx`, which can route broader questions across the gateway's catalog.

The tools use the Census Bureau's geography endpoints for one-line addresses, structured addresses, coordinates, and multipart CSV batches. The local npm package, `@pipeworx/mcp-census-geocoder`, runs as a stdio bridge and forwards calls to the same hosted endpoint. It requires network access and has no offline mode.

For applications that do not use an MCP client, the gateway provides HTTP tool calls such as `POST https://gateway.pipeworx.io/v1/tools/census_geocode_address`.

## Setup and configuration

A hosted client configuration can use:

```json
{
  "mcpServers": {
    "census-geocoder": {
      "url": "https://gateway.pipeworx.io/census-geocoder/mcp"
    }
  }
}
```

The local bridge can be started with `npx`:

```json
{
  "mcpServers": {
    "census-geocoder": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-census-geocoder"]
    }
  }
}
```

Anonymous use is supported, with a limit of 50 calls per day. A free Pipeworx account and `PIPEWORX_API_KEY` increase the limit to 200 calls per day. Set `PIPEWORX_META_TOOLS=1` to list the shared gateway tools in addition to this pack's tools. When using an HTTPS proxy with the local bridge, `NODE_USE_ENV_PROXY=1` may be needed for Node's `fetch` implementation to honor the proxy environment.

## Tools and capabilities

- `census_geocode_address`: Forward-geocode one US address and return coordinates plus Census geography.
- `census_reverse_geocode`: Resolve a US coordinate to its containing Census geographies.
- `census_geocode_batch`: Process up to 100 addresses and return row-level matching and geography identifiers.
- Optional `benchmark` and `vintage` parameters select Census geocoder datasets; the two values must be compatible.

## Limitations and notes

This service is focused on US Census geography. The batch endpoint expects address rows in positional `id,street,city,state,zip` columns and processes every supplied line. Address fields are quoted to preserve commas within street values. A header row would be treated as an address and produce a `No_Match` row, so the bridge does not send one.

Use the geography endpoints rather than the Census locations endpoints when geography identifiers are required. The congressional and state-legislative layer names include session numbers, so matching those layers requires handling changing names. The integration is independent and unofficial, and is not affiliated with the US Census Bureau. It is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/census-geocoder/readme_

