MCP.so
登录

usaspending-mcp

@flothjl

关于 usaspending-mcp

mcp server to interact with usaspending.gov api

基本信息

分类

其他

传输方式

stdio

发布者

flothjl

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

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)

概览

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.

评论

其他 分类下的更多 MCP 服务器