Labsco
MCP SERVER

USA Spending MCP

by thsmale

Ask questions about US federal spending and get answers from USASpending.gov's own data.

Government, Legal & Legislative Records
Summary
Federal spending questions, answered against the government's own figures.

The tools follow the way the question is usually asked — how much, to whom, through which account, and how it changed — so 'what does the Department of Education spend on staff' resolves in a call or two instead of a session with the API docs open.

What it is

A server over the USASpending.gov API — the official record of federal awards and agency budgets — running as a stateless streamable-HTTP endpoint.

What you get
  • Spending over time for a period you choose
  • Award-level spending, filtered down to the subset you care about
  • The federal accounts an agency receives and spends its congressional funding through
  • Every budget function, ordered by title, so one policy area can be set against another
  • Major object class breakdowns — what an agency spends on pay and benefits versus everything else
  • The list of top-tier agencies, and the total budgetary resources behind them
Requirements

No account and no key — USASpending.gov is open data. Run it locally with uv, from PyPI with uvx, or from the Docker image on port 8000; the host and port it binds to are both overridable through the environment. Clients without streamable HTTP reach it through mcp-remote.

Setup effort

One command — uvx --from usaspending-mcp-server@latest usaspending-mcp-server