geographic-data
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOC8N_API_KEY | Yes | API key for the loc8n Geographic Data API. | |
| LOC8N_API_BASE_URL | No | API base URL. | https://api.loc8n.com |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| lookup_zip_codeA | 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. |
| search_zip_codes_by_cityA | Search for all ZIP codes in a given city and state. Returns the full list of matching ZIP codes with details. |
| find_zip_codes_in_radiusA | Find all ZIP codes within a given radius of a center ZIP code. Returns each nearby ZIP with its distance from the center. |
| calculate_zip_code_distanceA | Calculate the distance between two ZIP codes using either the Haversine or Vincenty formula. Returns origin/destination details and the computed distance. |
| search_areasA | Search for geographic areas by name across all boundary types (county, state, CBSA, census tract, ZIP). Uses trigram matching for fuzzy name search. |
| get_demographicsA | 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. |
| get_demographics_categoryA | 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. |
| get_demographics_trendA | Retrieve historical demographic data across multiple years for a single geographic area, useful for analysing population growth, income changes, or housing trends over time. |
| compare_demographicsA | Compare demographics side by side for two to ten ZIP codes. Returns each ZIP's demographic profile plus summary comparison ranges (population, income, housing). |
| get_fair_market_rentA | 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, which can be hundreds of records. Use ZIP or county lookups when only a single area is needed. Source: U.S. Dept. of Housing & Urban Development, Fair Market Rents. |
| get_fmr_trendA | 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 ZIP-level records, not a single time series. Source: U.S. Dept. of Housing & Urban Development, Fair Market Rents. |
| get_mortgage_summaryA | 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/FFIEC HMDA. |
| get_mortgage_trendsA | 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. |
| compare_mortgageA | 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 breakdowns for each area. Source: CFPB/FFIEC HMDA. |
| get_migration_summaryA | 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 dollars). Year is specified as a year pair (e.g., '2021-2022') representing tax filing year transitions. Source: IRS Statistics of Income. |
| get_migration_flowsA | 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, exemptions, and AGI (in thousands of dollars). Some flow entries may be suppressed by the IRS for privacy when returns fall below the disclosure threshold. Source: IRS Statistics of Income. |
| get_migration_trendsA | 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. Source: IRS Statistics of Income. |
| get_employmentA | 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 jobs held by the area's residents regardless of where they work (residence, RAC data). |
| get_employment_trendA | 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. |
| compare_employmentA | 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. |
| get_commute_flowsA | 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, All Other Services). Note: this uses OD data with a coarser industry breakdown than the 20-sector NAICS detail available in single-area employment summaries. Not available at the tract level. |
| geocode_addressA | 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) results toward the given country. |
| reverse_geocodeA | Convert a latitude/longitude coordinate pair into a street address. Returns the best-match formatted address, address components, and coordinates. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| analyze-area | Generate a comprehensive analysis of a geographic area covering demographics, housing costs, mortgage lending, employment, and migration patterns. |
| compare-areas | Compare two or more geographic areas across demographics, housing, and economic indicators. |
| market-analysis | Analyze the real estate market for a geographic area using housing costs, mortgage trends, demographics, and migration data. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Demographics Available Years | Available data years for demographics data (American Community Survey 5-Year Estimates). Use this to validate year parameters before calling demographics tools. |
| Fair Market Rent Available Years | Available data years for HUD Fair Market Rent data. Use this to validate year parameters before calling FMR tools. |
| Mortgage Available Years | Available data years for HMDA mortgage data. Use this to validate year parameters before calling mortgage tools. |
| Migration Available Years | Available year pairs for IRS SOI migration data. Migration data uses year pairs (e.g., 2021-2022) representing moves between consecutive tax filing years. |
| Employment Available Years | Available data years for LODES employment data. Requires Business tier or above (employment:read permission). |
| Tier & Permission Model | Platform tier definitions including permissions, rate limits, and features. Use this to understand what data each subscription tier can access. |
| Current API Key Context | Information about the current API key's tier, permissions, and rate limits. Use this to check what the current key can access before invoking tools. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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