get_migration_flows

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 (i...

Server loc8n Geographic Data gener8v/gener8v.mcp.geographic-data
Category Read
Risk class Low
Parameters 63 required

What get_migration_flows does on loc8n Geographic Data

AI agents call get_migration_flows to retrieve information from loc8n Geographic Data without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
fips string Yes FIPS code — 5 digits for county, 2 for state
sort string Ranking metric: 'returns' (household count) or 'agi' (income). Default: 'returns'.
year string Year pair (e.g., '2021-2022'). Defaults to most recent available.
level string Yes Geographic level: county or state
limit integer Number of top flow areas to return (1-50, default: 10)
direction string Yes Flow direction: inflow (moved into area) or outflow (moved out of area)

Parameters from the server's own tool schema.

Why get_migration_flows needs a policy

This tool queries and retrieves demographic and migration statistics from a public data source (IRS). It has no side effects, cannot modify data, and presents no execution or destructive risks. The aggregated nature of the data (ranked by returns/AGI across areas) and IRS suppression of low-volume entries indicate the output is sanitized public information.

From the tool's definition Tool description explicitly states 'Retrieve' migration flow data and returns aggregated statistics (FIPS, area name, returns, exemptions, AGI). No modification, deletion, or execution of external operations occurs.

Questions about get_migration_flows

What does the get_migration_flows tool do? +

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. It is categorised as a Read tool in the loc8n Geographic Data MCP Server, which means it retrieves data without modifying state.

What parameters does get_migration_flows accept? +

get_migration_flows accepts 6 parameters: fips, sort, year, level, limit, direction. Required: fips, level, direction. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on get_migration_flows? +

Register the loc8n Geographic Data MCP server in PolicyLayer and add a rule for get_migration_flows: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches loc8n Geographic Data. Nothing to install.

What risk level is get_migration_flows? +

get_migration_flows is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit get_migration_flows? +

Yes. Add a rate_limit block to the get_migration_flows rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block get_migration_flows completely? +

Set action: deny in the PolicyLayer policy for get_migration_flows. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides get_migration_flows? +

get_migration_flows is provided by the loc8n Geographic Data MCP server (gener8v/gener8v.mcp.geographic-data). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.