geographic-data
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@geographic-dataShow demographics for 10001"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@gener8v/mcp-geographic-data
MCP server for the loc8n Geographic Data API. Exposes U.S. demographics, housing, mortgage, migration, employment, and geographic data as tools for any MCP-compatible client (Claude Desktop, Claude Code, Cursor, etc.).
Quick Start
npm install -g @gener8v/mcp-geographic-dataSet your API key:
export LOC8N_API_KEY="your-api-key"Get a key at loc8n.com.
Related MCP server: Census MCP Server
Usage
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"geographic-data": {
"command": "mcp-geographic-data",
"env": {
"LOC8N_API_KEY": "your-api-key"
}
}
}
}Claude Code
Add to your project's .mcp.json:
{
"mcpServers": {
"geographic-data": {
"command": "mcp-geographic-data",
"env": {
"LOC8N_API_KEY": "your-api-key"
}
}
}
}Hosted SSE (no install required)
Connect any MCP-compatible client directly to the hosted server at mcp.loc8n.com. Pass your API key as a query parameter or Authorization header:
SSE endpoint: https://mcp.loc8n.com/sse?apiKey=YOUR_API_KEYOr with a Bearer token:
GET https://mcp.loc8n.com/sse
Authorization: Bearer YOUR_API_KEYEach connection gets an isolated session — your API key is used for all requests and usage is tracked against your account.
Cursor
Add to your Cursor MCP settings:
{
"mcpServers": {
"geographic-data": {
"url": "https://mcp.loc8n.com/sse?apiKey=YOUR_API_KEY"
}
}
}Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"geographic-data": {
"serverUrl": "https://mcp.loc8n.com/sse?apiKey=YOUR_API_KEY"
}
}
}Self-Hosted SSE
Run the server locally for development or custom deployments:
mcp-geographic-data --transport sse --port 3100Endpoints:
SSE:
http://localhost:3100/sseMessages:
http://localhost:3100/messagesHealth:
http://localhost:3100/health
Tools (23)
Geographic Lookup
Tool | Description |
| Get details for a ZIP code (city, county, state, coordinates) |
| Find ZIP codes for a city/state |
| Find ZIP codes within a radius of a point |
| Calculate distance between two ZIP codes |
| Search counties, states, or metro areas by name |
Demographics
Tool | Description |
| Full demographic profile (population, income, education, etc.) |
| Single demographic category in detail |
| Year-over-year demographic trends |
| Side-by-side comparison of two areas |
Housing & Market Data
Tool | Description |
| HUD Fair Market Rent by bedroom count |
| Fair Market Rent trends over time |
Mortgage & Lending
Tool | Description |
| HMDA mortgage origination summary |
| Mortgage lending trends over time |
| Side-by-side mortgage comparison of two areas |
Migration
Tool | Description |
| IRS SOI migration inflows/outflows |
| Top origin/destination flows for an area |
| Migration trends across year pairs |
Employment
Tool | Description |
| LODES employment profile (jobs, sectors, wages) |
| Employment trends over time |
| Side-by-side employment comparison |
| Top commute origins/destinations |
Geocoding
Tool | Description |
| Convert address to coordinates and FIPS codes |
| Convert coordinates to address and area identifiers |
Resources (7)
URI | Description |
| Available years for ACS demographics data |
| Available years for HUD Fair Market Rent data |
| Available years for HMDA mortgage data |
| Available year pairs for IRS migration data |
| Available years for LODES employment data |
| Subscription tier definitions and permissions |
| Current API key tier, permissions, and rate limits |
Environment Variables
Variable | Required | Default | Description |
| Yes | — | API key for the loc8n Geographic Data API |
| No |
| API base URL |
CLI Options
mcp-geographic-data [options]
--transport <stdio|sse> Transport protocol (default: stdio)
--port <number> Port for SSE transport (default: 3100)
--help, -h Show helpLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gener8v/gener8v.mcp.geographic-data'
If you have feedback or need assistance with the MCP directory API, please join our Discord server