what is usaspending-mcp?
usaspending-mcp is a Modular Computing Platform (MCP) server designed to facilitate AI agents in accessing and interacting with the USAspending.gov API, providing tools and utilities for retrieving and analyzing U.S. government spending data.
how to use usaspending-mcp?
To use usaspending-mcp, configure the server with the necessary parameters and utilize the provided endpoints to query spending data based on agency IDs, award IDs, or keywords.
key features of usaspending-mcp?
- Access to USAspending.gov API for government spending data
- Multiple endpoints for specific queries (e.g., by agency, award ID, keywords)
- Streamlined data retrieval and analysis tools
use cases of usaspending-mcp?
- Analyzing government spending trends by agency.
- Retrieving detailed information about specific awards.
- Conducting keyword-based searches for spending data.
FAQ from usaspending-mcp?
- What is the purpose of usaspending-mcp?
It serves as a server to interact with the USAspending.gov API, making it easier to access and analyze government spending data.
- How do I configure usaspending-mcp?
Configuration involves setting up the server with the appropriate parameters and using the provided YAML configuration format.
- Is usaspending-mcp open source?
Yes! The project is available on GitHub for public use and contributions.
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
