usaspending-mcp
@flothjl
usaspending-mcp について
mcp server to interact with usaspending.gov api
基本情報
設定
ツール
4Search 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 Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
FastMCP v2 🚀
jlowin🚀 The fast, Pythonic way to build MCP servers and clients.
Inbox Zero AI MCP
elie222The world's best AI personal assistant for email. Open source app to help you reach inbox zero fast.
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
コメント