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...
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
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.
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.
Attacks that exploit this kind of access
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.
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.
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.
get_migration_flows is a Read tool with low risk. Read-only tools are generally safe to allow by default.
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.
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.
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.
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 →