Skip to content
MCP server

Usaspending MCP Server

Search US federal awards, recipients, agencies and spending from USAspending.gov

Answered our latest tool-list check 3 days ago with 18 tools. It will be marked verified after 3 successful checks in 7 days.

Usaspending MCP Server is an open-source MCP server for legal and government. It can run locally on your machine or as a hosted remote server.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally or Remotely
What it can do
Read-only
Version
0.7.4
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add --transport http usaspending-mcp-server https://usaspending.caseyjhand.com/mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "usaspending-mcp-server": {
      "type": "http",
      "url": "https://usaspending.caseyjhand.com/mcp"
    }
  }
}

Claude Code setup guide

In Customize → Connectors → Add → Add custom connector

https://usaspending.caseyjhand.com/mcp

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "usaspending-mcp-server": {
      "url": "https://usaspending.caseyjhand.com/mcp"
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "usaspending-mcp-server": {
      "type": "http",
      "url": "https://usaspending.caseyjhand.com/mcp"
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

In chatgpt.com → Plugins → + → Add custom MCP server

https://usaspending.caseyjhand.com/mcp

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

ChatGPT setup guide

Add with the CLI

Run in a terminal

codex mcp add usaspending-mcp-server --url https://usaspending.caseyjhand.com/mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.usaspending-mcp-server]
url = "https://usaspending.caseyjhand.com/mcp"

Codex setup guide

Add to Grok Bot desktop app → Connect apps → Add a custom connector

https://usaspending.caseyjhand.com/mcp

Enter a Name (for example "Usaspending MCP Server"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

Full Grok Bot setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "usaspending-mcp-server": {
      "type": "http",
      "url": "https://usaspending.caseyjhand.com/mcp"
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "usaspending-mcp-server": {
          "httpUrl": "https://usaspending.caseyjhand.com/mcp"
        }
      }
    }

    Or run: gemini mcp add -s user --transport http usaspending-mcp-server https://usaspending.caseyjhand.com/mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "usaspending-mcp-server": {
          "serverUrl": "https://usaspending.caseyjhand.com/mcp"
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "usaspending-mcp-server": {
          "url": "https://usaspending.caseyjhand.com/mcp",
          "transport": "http"
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "usaspending-mcp-server": {
          "type": "streamableHttp",
          "url": "https://usaspending.caseyjhand.com/mcp"
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "usaspending-mcp-server": {
          "url": "https://usaspending.caseyjhand.com/mcp"
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "usaspending-mcp-server": {
          "url": "https://usaspending.caseyjhand.com/mcp"
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "usaspending-mcp-server": {
          "url": "https://usaspending.caseyjhand.com/mcp"
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "usaspending-mcp-server": {
          "url": "https://usaspending.caseyjhand.com/mcp"
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

Configuration

  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').
  • MCP_TRANSPORT_TYPESelects the HTTP transport.
  • MCP_HTTP_HOSTThe hostname for the HTTP server.
  • MCP_HTTP_PORTThe port to run the HTTP server on.
  • MCP_HTTP_ENDPOINT_PATHThe endpoint path for the MCP server.
  • MCP_AUTH_MODEAuthentication mode to use: 'none', 'jwt', or 'oauth'.
  • MCP_LOG_LEVELSets the minimum log level for output (e.g., 'debug', 'info', 'warn').

About Usaspending MCP Server

USAspending covers how federal money is spent, and this server wraps 18 tools around it. You can find an award, then drill into its transactions, subawards, child orders under an IDV and the Treasury federal accounts that funded it. Recipients and agencies each have profile tools, and spending can be aggregated by geography, category, fiscal period or disaster appropriation.

A lookup tool turns free text into the codes the other tools need: NAICS, PSC, assistance listing, disaster emergency fund, agency, recipient and location. The README notes that NAICS matching works on official title text, so 'software' resolves where 'cybersecurity' does not. Award search accepts filters such as keyword, awarding or funding agency, award type, place of performance and a date range starting 2007-10-01.

It runs over stdio or streamable HTTP from the npm package, and a public hosted endpoint is listed. A bundled research guide covers recipient research, award-to-account funding traces and comparisons across periods and emergency appropriations.

Tools this server provides (18)

Read directly from the server.

The server marks all 18 tools read-only.

From the server's own tool labels and tool names; not verified by us.

usaspending_list_agenciesSays read-only
List top-tier federal agencies with toptier codes, agency slugs, budget authority amounts, and obligation totals for the latest reported period. Returns the full directory unless limit is supplied; optional pagination slices the provider-sorted directory. Use this as the entry point for agency navigation — toptier codes and agency slugs are required inputs for usaspending_get_agency and agency-bas
usaspending_autocomplete_filtersSays read-only
Look up valid code values for filter fields by searching free-text descriptions. Use the type parameter to select the lookup table: naics (NAICS industry codes), psc (product/service codes), cfda (CFDA/Assistance Listing program numbers), def_code (Disaster/Emergency Funding codes by code, appropriation title, or public law), awarding_agency (agency and sub-agency names, each with its tier and top
usaspending_search_awardsSays read-only
Search federal awards by keyword, recipient, agency, award type, NAICS code, assistance listing (CFDA) number, PSC, DEF code, location, or date range. Location filters by place of performance (location_filter, or filters.place_of_performance_location, which overrides it) or by where the recipient is based (filters.recipient_location). Returns ranked award summaries including recipient names, amoun
usaspending_get_awardSays read-only
Fetch full details of a federal award by its generated unique award ID. Returns contract or assistance award data including recipient identity (UEI, parent organization, business categories), agency hierarchy, period of performance, place of performance with its county code, Assistance Listings with the obligation under each, loan face value and subsidy cost for loans, funding account linkages (ac
usaspending_get_award_transactionsSays read-only
List individual transactions (contract modifications, grant amendments) on a federal award. Each transaction represents a change event — obligation modifications, performance period extensions, scope changes, etc. Use this to trace the spending history and obligation changes over the life of an award. Award IDs come from usaspending_search_awards (generated_internal_id field).
usaspending_get_award_subawardsSays read-only
List subaward contracts or grants under a prime federal award. Reveals the sub-contractor or sub-grantee layer — the organizations that actually perform the work. Each row shows the subaward number, amount, description, action date, and recipient. Check subaward_count on usaspending_get_award first to confirm subawards exist before calling this tool.
usaspending_get_award_federal_accountsSays read-only
List the Treasury federal accounts that funded an award, with the amount obligated from each and the funding agency behind it. This is the award → appropriation link: each row returns federal_account (AGENCY-MAIN format, e.g. 080-0120) to chain into usaspending_get_federal_account for the account budget detail. The award_id must be a generated_unique_award_id — from usaspending_search_awards (gene
usaspending_get_idv_awardsSays read-only
List child contracts and task/delivery orders placed under an IDV (Indefinite Delivery Vehicle) award. Each row includes the generated_unique_award_id to chain into usaspending_get_award for full detail. The award_id must be the generated_unique_award_id of the parent IDV — obtainable from usaspending_search_awards (generated_internal_id field) or from usaspending_get_award. IDV category awards re
usaspending_search_recipientsSays read-only
Search for organizations or individuals receiving federal funds by name, UEI (Unique Entity Identifier), or DUNS. Returns recipient hash IDs, UEI/DUNS identifiers, trailing-12-month obligations, and hierarchy level. Amounts come from USAspending's precomputed snapshot and may differ from trailing-12-month profile totals. Results are paginated — use page to retrieve matches beyond the first page; p
usaspending_get_recipientSays read-only
Fetch a recipient's full profile including address, business type codes, parent organizations, alternate names, and total transaction and loan amounts. A -P ID covers awards USAspending attributes to that parent, and historical attribution can vary. A -C ID covers the entity's own awards recorded with a parent, and a -R ID covers its own awards recorded without one. Use IDs returned by usaspending
usaspending_get_agencySays read-only
Fetch an agency's fiscal-year overview including mission, budgetary resources, obligation and outlay totals (for the most recent fiscal year with reported budget data), sub-agency count, and disaster/emergency funding codes. def_codes_fiscal_year names the fiscal year covered by def_codes, which follows the budget totals when available. budget_by_fiscal_year carries the same totals for every fisca
usaspending_spending_by_geographySays read-only
Aggregate federal spending by state, county, or congressional district. Useful for per-capita analysis, regional comparisons, and mapping federal investment patterns. Filter by keyword, award type, agency, recipient, NAICS code, Assistance Listing, PSC, DEF code, place of performance or recipient location, or date range. scope picks the location results are grouped by, separately from the location
usaspending_spending_by_categorySays read-only
Aggregate federal spending grouped by a specific dimension: NAICS industry code, PSC product/service code, awarding or funding agency or subagency, CFDA assistance program, recipient, federal account, or Disaster Emergency Fund Code (DEF). Returns top items with obligation amounts — useful for trend and breakdown analysis. Filter by keyword, award type, agency, recipient, NAICS code, Assistance Li
usaspending_spending_over_timeSays read-only
Fetch aggregated federal obligation amounts grouped by fiscal year, fiscal quarter, or fiscal month. All grouping is relative to the US government fiscal year (Oct–Sep), so fiscal month 1 is October, not January. Filter by award type, agency, recipient, keyword, NAICS code, Assistance Listing, PSC, DEF code, or location (place of performance or recipient) to trace spending trends in a specific are
usaspending_disaster_spendingSays read-only
Fetch disaster and emergency supplemental spending broken down by agency, CFDA assistance program, recipient, or geography, or request an overview. Find DEF codes in usaspending_autocomplete_filters with type def_code. Filter by those codes to select emergency appropriations, then check amount_coverage before interpreting amounts: award breakdowns and geography cover the provider COVID grouping, w
usaspending_get_federal_accountSays read-only
Fetch a federal account's budget data: total obligations, gross outlays, and budgetary resources, plus the per-Treasury-Account-Symbol (TAS) component breakdown in children. fiscal_year selects a reporting year; omit it for the current federal fiscal year. An empty year retains metadata and a notice, without substituting another year. Federal accounts connect appropriations law to actual agency sp
usaspending_get_federal_account_breakdownSays read-only
Fetch a federal account's obligations broken down by program activity (what the money funds) or object class (what it buys — personnel, supplies, contracts). Use the dimension parameter to select the axis. fiscal_year scopes financial reporting periods to the full October–September year, not award action dates; omit it for all available periods. Account codes are AGENCY-MAIN format and come from u
usaspending_search_federal_accountsSays read-only
List and keyword-search federal accounts by directory toptier code or title keyword. Returns account numbers, names, managing agencies, and budgetary resources. fiscal_year selects the resource amounts, not account membership; omit it for the latest available submission year. Search and detail totals use different calculations and can differ for the same year. Use account_number from results as in

What it does

Award tracing
Fetch an award, its transactions, subawards and funding accounts.
Code lookup
Resolve text to NAICS, PSC, CFDA, DEF and location codes.
Spending aggregates
Group spending by place, category or time period.
Disaster spending
Break down emergency supplemental funds by agency or recipient.
Recipient and agency profiles
Pull totals, parents, budgets and sub-agencies.
Federal accounts
Search accounts and break obligations down by object class.

Good for

  • Find contracts a company received from an agency
  • Trace which Treasury accounts funded a grant
  • Compare spending across fiscal years
  • Map federal spending by state or county
  • Look up disaster relief funding by program

Pricing

Open source

Usaspending MCP Server FAQ

Is there a hosted version?

Yes, the registry lists a public streamable HTTP endpoint at usaspending.caseyjhand.com/mcp.

How is Usaspending MCP Server installed?

Run the npm package @cyanheads/usaspending-mcp-server with npx over stdio, or use HTTP transport.

How far back does award search go?

The time period filter accepts dates from 2007-10-01.

Does Usaspending MCP Server look up cities or ZIP codes?

The location lookup returns states, counties and congressional districts, not cities or ZIP codes.

Is Usaspending MCP Server free?

Yes. Usaspending MCP Server is open source, so you can use and self-host it for free.

How do I add Usaspending MCP Server to Claude Code?

Run this command in your terminal: claude mcp add --transport http usaspending-mcp-server https://usaspending.caseyjhand.com/mcp

What are the best alternatives to Usaspending MCP Server?

The closest alternatives to Usaspending MCP Server are Agent-Native Analytics, dashboard-icons, Google Ads + Meta Ads + SEO/GEO MCP, Tapetide - Indian Stock Market MCP and Pitot.

Where this comes from

  • Description: written from the project's README.
  • Status and tools: checked automatically by AIPoweredBot on 24 November 2026.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers