mcp server
usaspending-mcp
mcp server to interact with usaspending.gov api
Set up
Runs on your computer. Pick your agent and operating system.
Before you start
- uv (`curl -LsSf https://astral.sh/uv/install.sh | sh`)
{
"mcpServers": {
"usaspending-mcp": {
"command": "uvx",
"args": [
"usaspending-mcp"
]
}
}
}same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12
Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs
README
synced Oct 25, 2026usaspending-mcp
usaspending-mcp is an MCP server designed to facilitate AI agents in accessing and interacting with the USAspending.gov API. This project provides tools, endpoints, and data processing utilities to streamline the retrieval and analysis of U.S. government spending data.
Tools
- GetSpendingAwardsByAgencyId
- Search for awards for a given agency id for a given year
- GetAwardInfoByAwardId
- Get information about a given award. Requires the generated unique award ID.
- SearchByKeywords
- Broad search for given keywords for a given year.
- GetAgencies
- Get a list of all agencies and associated data needed for other calls (i.e. agency id)
Configuration
Goose
extensions:
usaspending-mcp:
args:
- --from
- git+https://github.com/flothjl/usaspending-mcp@main
- usaspending-mcp
cmd: uvx
enabled: true
envs: {}
name: usaspending
type: stdio
GOOSE_MODEL: gpt-4o-mini
GOOSE_PROVIDER: openai