census_block

Pack: fcc · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/census_block for the schema, then POST the same URL with its arguments for the data.

Resolve a US latitude/longitude (decimal degrees) to its Census block, county, and state FIPS codes and names. Returns the 15-digit block FIPS, 5-digit county FIPS, 2-digit state FIPS, state code/name, and a bounding box. Pairs with the US Census API (FIPS codes are its join keys). Coordinates outside the US yield null FIPS values.

Parameters

NameTypeRequiredDescription
latnumberyesLatitude in decimal degrees (e.g. 38.8976).
lonnumberyesLongitude in decimal degrees (e.g. -77.0365).
censusYearstringnoCensus vintage for the block geography: “2020” (default) or “2010”.

Example call

Arguments

{
  "lat": 38.8976,
  "lon": -77.0365
}

curl

curl -X POST https://gateway.pipeworx.io/fcc/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"census_block","arguments":{"lat":38.8976,"lon":-77.0365}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('census_block', {
  "lat": 38.8976,
  "lon": -77.0365
});

More examples

{
  "lat": 40.7128,
  "lon": -74.006,
  "censusYear": "2010"
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the fcc pack
{
  "mcpServers": {
    "fcc": {
      "url": "https://gateway.pipeworx.io/fcc/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 15, 2026