MCP.so
Sign In

usaspending-mcp

@flothjl

About usaspending-mcp

mcp server to interact with usaspending.gov api

Basic information

Category

Other

Transports

stdio

Publisher

flothjl

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

4

Search 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.

Comments

More Other MCP servers