
loc8n Geographic Data
Connects Claude to the loc8n Geographic Data API for U.S. census, housing, and employment queries. You get 23 tools covering ACS demographics, HUD Fair Market Rent, HMDA mortgage originations, IRS migration flows, and LODES employment data. Works across ZIP codes, counties, metro areas, and states with trend analysis, side-by-side comparisons, and geocoding. Runs via stdio or SSE, with a hosted option at mcp.loc8n.com if you don't want to install anything. Useful when you're building location intelligence features, analyzing real estate markets, or need population and economic data without writing API clients. Requires a loc8n API key.
- tools
- 23
- auth
- Secret needed
- transport
- STDIO, SSE
- env var
- 1
- last updated
- Mar 31, 2026
Tools
23 toolsPublic tool metadata for what this MCP can expose to an agent.
lookup_zip_codeLook up full details for a single 5-digit US ZIP code, including city, state, county, timezone, coordinates, area codes, land/water area, and elevation.1 params
Look up full details for a single 5-digit US ZIP code, including city, state, county, timezone, coordinates, area codes, land/water area, and elevation.
zipCodestringsearch_zip_codes_by_citySearch for all ZIP codes in a given city and state. Returns the full list of matching ZIP codes with details.2 params
Search for all ZIP codes in a given city and state. Returns the full list of matching ZIP codes with details.
citystringstatestringfind_zip_codes_in_radiusFind all ZIP codes within a given radius of a center ZIP code. Returns each nearby ZIP with its distance from the center.5 params
Find all ZIP codes within a given radius of a center ZIP code. Returns each nearby ZIP with its distance from the center.
limitintegerradiusnumbersortstringdistance · zipdefault: distanceunitstringmiles · kilometersdefault: mileszipCodestringcalculate_zip_code_distanceCalculate the distance between two ZIP codes using either the Haversine or Vincenty formula. Returns origin/destination details and the computed distance.4 params
Calculate the distance between two ZIP codes using either the Haversine or Vincenty formula. Returns origin/destination details and the computed distance.
fromstringmethodstringhaversine · vincentydefault: haversinetostringunitstringmiles · kilometers · meters · feet · nautical_milesdefault: milessearch_areasSearch for geographic areas by name across all boundary types (county, state, CBSA, census tract, ZIP). Uses trigram matching for fuzzy name search.3 params
Search for geographic areas by name across all boundary types (county, state, CBSA, census tract, ZIP). Uses trigram matching for fuzzy name search.
limitintegerquerystringtypesarrayget_demographicsRetrieve a full demographic profile (population, income, housing, education, employment, households) for a single geographic area such as a ZIP code, county, state, place, CBSA, census tract, or block group.3 params
Retrieve a full demographic profile (population, income, housing, education, employment, households) for a single geographic area such as a ZIP code, county, state, place, CBSA, census tract, or block group.
area_codestringarea_typestringzip · county · state · place · cbsa · tractdata_yearintegerget_demographics_categoryRetrieve specific demographic categories (e.g. population, income, housing) for a geographic area. Use this instead of get_demographics when you only need a subset of categories to keep the response concise.4 params
Retrieve specific demographic categories (e.g. population, income, housing) for a geographic area. Use this instead of get_demographics when you only need a subset of categories to keep the response concise.
area_codestringarea_typestringzip · county · state · place · cbsa · tractcategoriesarraydata_yearintegerget_demographics_trendRetrieve historical demographic data across multiple years for a single geographic area, useful for analysing population growth, income changes, or housing trends over time.4 params
Retrieve historical demographic data across multiple years for a single geographic area, useful for analysing population growth, income changes, or housing trends over time.
area_codestringarea_typestringzip · county · state · place · cbsa · tractend_yearintegerstart_yearintegercompare_demographicsCompare demographics side by side for two to ten ZIP codes. Returns each ZIP's demographic profile plus summary comparison ranges (population, income, housing).3 params
Compare demographics side by side for two to ten ZIP codes. Returns each ZIP's demographic profile plus summary comparison ranges (population, income, housing).
categoriesarraydata_yearintegerzip_codesarrayget_fair_market_rentLook up HUD Fair Market Rent (FMR) rates for a geographic area by ZIP code, county FIPS, CBSA/metro code, or state FIPS. Returns monthly rent estimates by bedroom count (efficiency through 4-bedroom). Note: State-level queries return all ZIP-level FMR records within the state,...3 params
Look up HUD Fair Market Rent (FMR) rates for a geographic area by ZIP code, county FIPS, CBSA/metro code, or state FIPS. Returns monthly rent estimates by bedroom count (efficiency through 4-bedroom). Note: State-level queries return all ZIP-level FMR records within the state,...
area_codestringarea_typestringzip · county · cbsa · stateyearintegerget_fmr_trendRetrieve Fair Market Rent data across multiple years for a single area. Returns an array of yearly FMR records with rent values by bedroom count. Supports ZIP, county, and CBSA area types. State-level trends are not supported because state queries return aggregated lists of ZI...4 params
Retrieve Fair Market Rent data across multiple years for a single area. Returns an array of yearly FMR records with rent values by bedroom count. Supports ZIP, county, and CBSA area types. State-level trends are not supported because state queries return aggregated lists of ZI...
area_codestringarea_typestringzip · county · cbsaend_yearintegerstart_yearintegerget_mortgage_summaryRetrieve the mortgage lending summary for a single geographic area (census tract, county, or state) from HMDA data. Returns origination count, denial rate, median loan amount, median interest rate, loan purpose mix, and loan type mix (conventional, FHA, VA, USDA). Source: CFPB...3 params
Retrieve the mortgage lending summary for a single geographic area (census tract, county, or state) from HMDA data. Returns origination count, denial rate, median loan amount, median interest rate, loan purpose mix, and loan type mix (conventional, FHA, VA, USDA). Source: CFPB...
area_typestringtract · census_tract · county · stategeoidstringyearintegerget_mortgage_trendsRetrieve multi-year mortgage lending data for a single area across all available HMDA years. Returns an array of yearly summaries including origination count, denial rate, median loan amount, median interest rate, and loan purpose/type breakdowns. Source: CFPB/FFIEC HMDA.2 params
Retrieve multi-year mortgage lending data for a single area across all available HMDA years. Returns an array of yearly summaries including origination count, denial rate, median loan amount, median interest rate, and loan purpose/type breakdowns. Source: CFPB/FFIEC HMDA.
area_typestringtract · census_tract · county · stategeoidstringcompare_mortgageCompare mortgage lending metrics across 2-5 geographic areas for a single HMDA data year. All areas must be the same geographic level (tract, county, or state). Returns side-by-side summaries including origination count, denial rate, median loan amount, and loan type/purpose b...3 params
Compare mortgage lending metrics across 2-5 geographic areas for a single HMDA data year. All areas must be the same geographic level (tract, county, or state). Returns side-by-side summaries including origination count, denial rate, median loan amount, and loan type/purpose b...
area_typestringtract · census_tract · county · stategeoidsarrayyearintegerget_migration_summaryRetrieve migration summary for a county or state showing aggregate inflows, outflows, and net migration. Returns net returns (positive = net in-migration, negative = net out-migration), net exemptions (proxy for people), and net AGI (adjusted gross income in thousands of dolla...3 params
Retrieve migration summary for a county or state showing aggregate inflows, outflows, and net migration. Returns net returns (positive = net in-migration, negative = net out-migration), net exemptions (proxy for people), and net AGI (adjusted gross income in thousands of dolla...
fipsstringlevelstringcounty · stateyearstringget_migration_flowsRetrieve top inflow or outflow areas for a county or state, ranked by number of tax returns or AGI. Inflows show where people moved from (into this area); outflows show where people moved to (out of this area). Returns an array of flow records with FIPS, area name, returns, ex...6 params
Retrieve top inflow or outflow areas for a county or state, ranked by number of tax returns or AGI. Inflows show where people moved from (into this area); outflows show where people moved to (out of this area). Returns an array of flow records with FIPS, area name, returns, ex...
directionstringinflow · outflowfipsstringlevelstringcounty · statelimitintegersortstringreturns · agiyearstringget_migration_trendsRetrieve migration summary data across all available year pairs for a county or state. Returns an array of yearly migration summaries sorted by year pair, each including net returns, net exemptions, net AGI, and inflow/outflow breakdowns. AGI values are in thousands of dollars...2 params
Retrieve migration summary data across all available year pairs for a county or state. Returns an array of yearly migration summaries sorted by year pair, each including net returns, net exemptions, net AGI, and inflow/outflow breakdowns. AGI values are in thousands of dollars...
fipsstringlevelstringcounty · stateget_employmentRetrieve employment data for a single geographic area. Returns total jobs, industry mix by NAICS sector, earnings distribution, and age breakdown. The 'perspective' parameter controls whether data reflects jobs physically located in the area (workplace, WAC data — default) or...4 params
Retrieve employment data for a single geographic area. Returns total jobs, industry mix by NAICS sector, earnings distribution, and age breakdown. The 'perspective' parameter controls whether data reflects jobs physically located in the area (workplace, WAC data — default) or...
area_typestringtract · county · stategeoidstringperspectivestringworkplace · residenceyearintegerget_employment_trendRetrieve employment data across all available years for a single area. Returns an array of yearly metrics (total jobs, industry mix, earnings, age breakdown) ordered ascending by year. Use 'perspective' to choose workplace (default) or residence.3 params
Retrieve employment data across all available years for a single area. Returns an array of yearly metrics (total jobs, industry mix, earnings, age breakdown) ordered ascending by year. Use 'perspective' to choose workplace (default) or residence.
area_typestringtract · county · stategeoidstringperspectivestringworkplace · residencecompare_employmentCompare employment data for multiple areas side by side (2-10 areas). All geoids must share the same area type. Returns per-area metrics including total jobs, industry mix, earnings, and age breakdown.4 params
Compare employment data for multiple areas side by side (2-10 areas). All geoids must share the same area type. Returns per-area metrics including total jobs, industry mix, earnings, and age breakdown.
area_typestringtract · county · stategeoidsstringperspectivestringworkplace · residenceyearintegerget_commute_flowsRetrieve commute flow (origin-destination) data for a county or state. Shows where workers come from (inbound) or where residents commute to (outbound). Returns top flow pairs with job counts and a 3-supersector industry breakdown (Goods Producing, Trade/Transport/Utilities, A...6 params
Retrieve commute flow (origin-destination) data for a county or state. Shows where workers come from (inbound) or where residents commute to (outbound). Returns top flow pairs with job counts and a 3-supersector industry breakdown (Goods Producing, Trade/Transport/Utilities, A...
area_typestringcounty · statedirectionstringinbound · outboundgeoidstringlimitintegermin_jobsintegeryearintegergeocode_addressConvert a street address or place name into geographic coordinates. Returns up to 'limit' candidate results with coordinates, formatted address, address components, confidence score, and provider name. The optional 'country' parameter biases (but does not strictly filter) resu...3 params
Convert a street address or place name into geographic coordinates. Returns up to 'limit' candidate results with coordinates, formatted address, address components, confidence score, and provider name. The optional 'country' parameter biases (but does not strictly filter) resu...
addressstringcountrystringlimitintegerreverse_geocodeConvert a latitude/longitude coordinate pair into a street address. Returns the best-match formatted address, address components, and coordinates.2 params
Convert a latitude/longitude coordinate pair into a street address. Returns the best-match formatted address, address components, and coordinates.
latitudenumberlongitudenumberSponsors
Configuration
LOC8N_API_KEY*secretAPI key for the loc8n Geographic Data API
Readme
@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-data
Set your API key:
export LOC8N_API_KEY="your-api-key"
Get a key at loc8n.com.
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:
Details
- Repository
- github.com/gener8v/gener8v.mcp.geographic-data
- Category
- Data & Analytics
- Package
@gener8v/mcp-geographic-data- Transport
- STDIO, SSE
- Auth
- Required
- Registry
- MCP registry, active