U.S. demographics, housing, mortgage, migration, and employment data via loc8n API
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.).
Set your API key:
Get a key at loc8n.com.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Add to your project's .mcp.json:
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:
Or with a Bearer token:
Each connection gets an isolated session โ your API key is used for all requests and usage is tracked against your account.
Add to your Cursor MCP settings:
Add to ~/.codeium/windsurf/mcp_config.json:
Run the server locally for development or custom deployments:
Endpoints:
http://localhost:3100/ssehttp://localhost:3100/messageshttp://localhost:3100/health| Tool | Description |
|---|---|
lookup_zip_code | Get details for a ZIP code (city, county, state, coordinates) |
search_zip_codes_by_city | Find ZIP codes for a city/state |
find_zip_codes_in_radius | Find ZIP codes within a radius of a point |
calculate_zip_code_distance | Calculate distance between two ZIP codes |
search_areas | Search counties, states, or metro areas by name |
| Tool | Description |
|---|---|
get_demographics | Full demographic profile (population, income, education, etc.) |
get_demographics_category | Single demographic category in detail |
get_demographics_trend | Year-over-year demographic trends |
compare_demographics | Side-by-side comparison of two areas |
| Tool | Description |
|---|---|
get_fair_market_rent | HUD Fair Market Rent by bedroom count |
get_fmr_trend | Fair Market Rent trends over time |
| Tool | Description |
|---|---|
get_mortgage_summary | HMDA mortgage origination summary |
get_mortgage_trends | Mortgage lending trends over time |
compare_mortgage | Side-by-side mortgage comparison of two areas |
| Tool | Description |
|---|---|
get_migration_summary | IRS SOI migration inflows/outflows |
get_migration_flows | Top origin/destination flows for an area |
get_migration_trends | Migration trends across year pairs |
| Tool | Description |
|---|---|
get_employment | LODES employment profile (jobs, sectors, wages) |
get_employment_trend | Employment trends over time |
compare_employment | Side-by-side employment comparison |
get_commute_flows | Top commute origins/destinations |
| Tool | Description |
|---|---|
geocode_address | Convert address to coordinates and FIPS codes |
reverse_geocode | Convert coordinates to address and area identifiers |
| URI | Description |
|---|---|
data://demographics/available-years | Available years for ACS demographics data |
data://fmr/available-years | Available years for HUD Fair Market Rent data |
data://mortgage/available-years | Available years for HMDA mortgage data |
data://migration/available-years | Available year pairs for IRS migration data |
data://employment/available-years | Available years for LODES employment data |
data://tiers | Subscription tier definitions and permissions |
data://auth/context | Current API key tier, permissions, and rate limits |
| Variable | Required | Default | Description |
|---|---|---|---|
LOC8N_API_KEY | Yes | โ | API key for the loc8n Geographic Data API |
LOC8N_API_BASE_URL | No | https://api.loc8n.com | API base URL |
MIT
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/loc8n-geographic-data)<a href="https://allmcps.com/mcp/loc8n-geographic-data"><img src="https://allmcps.com/api/badge/loc8n-geographic-data?style=directory" alt="Loc8n Geographic Data on AllMCPs" /></a>