usaspending-mcp logo

usaspending-mcp

by flothjl

usaspending-mcp is an MCP server designed to facilitate AI agents in accessing and interacting with the USAspending.gov API. It provides tools, endpoints, and data processing utilities to streamline the retrieval and analysis of U.S. government spending data.

View on GitHub

Last updated: N/A

usaspending-mcp

usaspending-mcp is an MCP (Modular Computing Platform) 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