• DATA
  • LISTS
  • REPORTS
  • HUMAN

How to find census tracts from coordinates with your AI

Connect the TIGER/Line Geocoder (Census) MCP to your agent. Once connected, you can feed it raw coordinates to get precise census data.

Ask AI about this page

Short answer

How do I get census tracts from lat/long coordinates?

Give your agent a list of latitude and longitude pairs. It uses the geocoder to map those points to specific census blocks and tracts. You'll get the exact spatial identifiers needed for your analysis.

Where your data lands.

The outcomes of your request.

The AI handles the spatial lookups so you can focus on the actual analysis.

DATA

Census identifiers

The AI pulls specific census block and tract IDs from the geocoding results. You get clean identifiers for your database or map.

LISTS

Formatted coordinate sets

If you provide a messy list of locations, the AI cleans them up and maps them to their respective tracts. It organizes the output into a usable format.

REPORTS

Spatial summary tables

The AI can group your coordinates by tract to show you how many points fall into each area. This helps you see geographic density immediately.

HUMAN

Manual verification

You decide if the resulting census tracts match your specific research needs. The AI provides the data, but you confirm the logic.

The workflow

What your AI does when the coordinates arrive.

The AI acts as the bridge between your raw location data and the Census Bureau's spatial hierarchy.

  1. Parse locations

    The AI reads your input, whether it's a single pair of coordinates or a long list from a spreadsheet.

    geocode_coordinates
  2. Execute geocoding

    The agent sends the coordinates to the geocoder to find the exact spatial intersection.

    geocode_coordinates
  3. Extract hierarchy

    The AI pulls the specific block and tract numbers from the geocoding response.

    geocode_coordinates
  4. Format output

    The agent organizes the census information into a clean table or list for your use.

    geocode_coordinates

Try it

Copy these to start.

Use these prompts to kick off the geocoding process.

Starting points

Swap out the bracketed text with your actual data or file names.

US Census Bureau Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_IYVfXX7juQCQoHLTo96fQtxp40zuE5KOd0PGp3te/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — US Census Bureau capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "tigerline-geocoder-census-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_IYVfXX7juQCQoHLTo96fQtxp40zuE5KOd0PGp3te/mcp"
    }
  }
}
Copy into chat04
  • Find the census tracts for these coordinates: [insert lat/long pairs].

  • Look up the census block and tract for the locations listed in my [filename.csv].

  • I have a list of coordinates in this sheet; can you tell me which census tracts they belong to?

  • Convert these latitude and longitude points into a table showing their census tract IDs.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect TIGER/Line Geocoder (Census) once, then ask.

Just one connection is required to give your AI access to the geocoder. Your credentials stay encrypted and secure.

Connect TIGER/Line Geocoder (Census) to your AI

FAQ

How this task behaves.

  • 01

    Can the AI find the street address from the coordinates?

    No. This tool is designed to move from coordinates to census identifiers like blocks and tracts.

  • 02

    Does the AI change my original data files?

    No. The AI only reads your data to perform the lookup. It does not modify or overwrite your original files.

  • 03

    Can I upload a massive CSV with millions of rows?

    The AI processes the data you provide in the chat context. For extremely large datasets, you should provide them in manageable chunks.

  • 04

    Will the AI automatically save the results to my database?

    No. The AI provides the results in the chat interface. You are responsible for moving that data into your database or other tools.

  • 05

    Does it work with any coordinate format?

    It works with standard latitude and longitude pairs. If your data is in a non-standard format, the AI will try to parse it first.

  • More questions about TIGER/Line Geocoder (Census)? The Connector page answers them. See everything the TIGER/Line Geocoder (Census) Connector can do

Connect US Census Bureau to Claude, Cursor, ChatGPT & more