• GEOGRAPHY
  • RECIPIENTS
  • DISTRICTS
  • HUMAN

How to audit federal spending by region with your AI

Connect your AI to USAspending to pull real-time geographic data. Once connected, your agent handles the heavy lifting of filtering and mapping fund distribution.

Ask AI about this page

Short answer

How can I audit federal spending by region using AI?

Your AI uses the USAspending MCP to pull specific spending records based on the locations you provide. It can filter data down to the state, county, or district level to show exactly where money is going. You'll get a clear breakdown of regional fund distribution.

Where the data goes.

Audit outcomes

The AI processes raw federal data into these specific views.

GEOGRAPHY

Regional maps

The agent uses location data to group spending by state or county. You get a clear picture of regional concentration.

RECIPIENTS

Entity tracking

Identify which organizations or agencies are receiving the most funds in a specific area. This highlights local economic impact.

DISTRICTS

Congressional analysis

Pinpoint exactly how much federal money is flowing into a specific congressional district. This is useful for local oversight.

HUMAN

Policy decisions

The AI provides the raw numbers and regional groupings, but you decide how that data informs your local policy or research.

The workflow

What your AI does when the request arrives.

The AI moves from broad location searches to specific recipient analysis.

  1. Locate the area

    The agent finds the correct geographic identifiers for the state, county, or district you want to investigate.

    autocomplete_location
  2. Pull regional data

    Once the location is set, the agent pulls all relevant spending records for that specific area.

    search_spending_by_geography
  3. Identify state recipients

    The agent can isolate spending based on the state where the recipient is headquartered.

    get_recipient_state
  4. Synthesize findings

    The agent aggregates the filtered data into a summary of total funds and top recipients.

    search_spending_by_geography

Try it

Copy these to start.

Use these prompts to kick off your audit.

Starting points

Swap out the bracketed locations for the specific areas you are investigating.

USAspending Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_SGqOxUwCS5vSVfgBiSV43hzg4gnIzYvjeGWqLvnr/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — USAspending capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "usaspending-federal-spending-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_SGqOxUwCS5vSVfgBiSV43hzg4gnIzYvjeGWqLvnr/mcp"
    }
  }
}
Copy into chat04
  • Show me the total federal spending in [County Name, State] for the last fiscal year.

  • Which agencies received the most funding in [Congressional District]?

  • List the top five recipients of federal funds in [State].

  • Compare federal spending in [County A] versus [County B].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect USAspending once, then ask.

One click connects your agent to the federal data. Your credentials stay encrypted, and you can start asking questions immediately.

Connect USAspending to your AI

FAQ

How this task behaves

  • 01

    Can the AI change the actual spending records?

    No. The AI can only read and analyze data from USAspending. It cannot modify federal records.

  • 02

    Can I audit spending by zip code?

    No. The current tools allow for searching by state, county, or congressional district, but not by individual zip code.

  • 03

    Does the AI provide the raw data files?

    The AI analyzes the data and presents it to you in chat. It does not download or export CSV files directly.

  • 04

    How does the AI know which county I mean?

    The agent uses a location autocomplete tool to ensure it is looking up the correct geographic identifier before searching.

  • 05

    Can the AI make decisions based on this data?

    No. The AI provides the analysis and the numbers, but all final conclusions and decisions remain with you.

  • More questions about USAspending? The Connector page answers them. See everything the USAspending Connector can do

Connect USAspending to Claude, Cursor, ChatGPT & more