usaspending-mcp
@flothjl
About usaspending-mcp
mcp server to interact with usaspending.gov api
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
4Search for awards for a given agency id for a given year
Get information about a given award. Requires the generated unique award ID.
Broad search for given keywords for a given year.
Get a list of all agencies and associated data needed for other calls (i.e. agency id)
Overview
What is usaspending-mcp?
usaspending-mcp is an MCP server that provides tools, endpoints, and data processing utilities for AI agents to access and interact with the USAspending.gov API, enabling retrieval and analysis of U.S. government spending data.
How to use usaspending-mcp?
Configure usaspending-mcp as a stdio extension in Goose using the provided YAML block, specifying the command uvx with --from git+https://github.com/flothjl/usaspending-mcp@main usaspending-mcp and setting the model to gpt-4o-mini with OpenAI as the provider.
Key features of usaspending-mcp
- Provides four tools to query USAspending.gov data
- GetSpendingAwardsByAgencyId searches awards by agency and year
- GetAwardInfoByAwardId retrieves details for a specific award
- SearchByKeywords performs broad keyword searches for a year
- GetAgencies lists all agencies and their IDs for other calls
- Runs as a stdio MCP server via uvx
Use cases of usaspending-mcp
- A government analyst queries spending awards for a specific agency and year
- A researcher retrieves detailed information about a known award
- A journalist searches for spending related to keywords like “infrastructure” in a given year
- An application dynamically fetches the list of agencies to populate a dropdown
- An AI assistant answers questions about U.S. federal spending using real API data
FAQ from usaspending-mcp
What tools does usaspending-mcp provide?
The server offers four tools: GetSpendingAwardsByAgencyId, GetAwardInfoByAwardId, SearchByKeywords, and GetAgencies.
How do I configure usaspending-mcp with Goose?
Use the provided YAML extension configuration, setting cmd to uvx, args to ["--from", "git+https://github.com/flothjl/usaspending-mcp@main", "usaspending-mcp"], and specifying GOOSE_MODEL: gpt-4o-mini and GOOSE_PROVIDER: openai.
What data source does usaspending-mcp connect to?
It connects to the USAspending.gov API to retrieve U.S. government spending data.
What transport does usaspending-mcp use?
usaspending-mcp uses the stdio transport protocol, as indicated by the Goose configuration’s type: stdio.
Frequently asked questions
What tools does usaspending-mcp provide?
The server offers four tools: GetSpendingAwardsByAgencyId, GetAwardInfoByAwardId, SearchByKeywords, and GetAgencies.
How do I configure usaspending-mcp with Goose?
Use the provided YAML extension configuration, setting `cmd` to `uvx`, `args` to `["--from", "git+https://github.com/flothjl/usaspending-mcp@main", "usaspending-mcp"]`, and specifying `GOOSE_MODEL: gpt-4o-mini` and `GOOSE_PROVIDER: openai`.
What data source does usaspending-mcp connect to?
It connects to the USAspending.gov API to retrieve U.S. government spending data.
What transport does usaspending-mcp use?
usaspending-mcp uses the stdio transport protocol, as indicated by the Goose configuration’s `type: stdio`.
Basic information
More Other MCP servers
Mobile Mcp
mobile-nextModel Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
Nginx UI
0xJackyYet another WebUI for Nginx

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.
Production-ready MCP integrations for AI applications
Klavis-AIKlavis AI: MCP integration platforms that let AI agents use tools reliably at any scale
Comments