USAspending (Federal Spending) MCP Server for OpenAI Agents SDKGive OpenAI Agents SDK instant access to 32 tools to Autocomplete Awarding Agency, Autocomplete Glossary, Autocomplete Location, and more
The OpenAI Agents SDK enables production-grade agent workflows in Python. Connect USAspending (Federal Spending) through Vinkius and your agents gain typed, auto-discovered tools with built-in guardrails. no manual schema definitions required.
Ask AI about this MCP Server for OpenAI Agents SDK
The USAspending (Federal Spending) MCP Server for OpenAI Agents SDK is a standout in the Industry Titans category — giving your AI agent 32 tools to work with, ready to go from day one.
Vinkius delivers Streamable HTTP and SSE to any MCP client
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with MCPServerStreamableHttp(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
) as mcp_server:
agent = Agent(
name="USAspending (Federal Spending) Assistant",
instructions=(
"You help users interact with USAspending (Federal Spending). "
"You have access to 32 tools."
),
mcp_servers=[mcp_server],
)
result = await Runner.run(
agent, "List all available tools from USAspending (Federal Spending)"
)
print(result.final_output)
asyncio.run(main())
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About USAspending (Federal Spending) MCP Server
Connect to the official USAspending database and gain unprecedented transparency into how the United States government allocates its budget. This server allows any AI agent to query real-time federal financial data, from high-level agency overviews to specific contract details.
The OpenAI Agents SDK auto-discovers all 32 tools from USAspending (Federal Spending) through native MCP integration. Build agents with built-in guardrails, tracing, and handoff patterns. chain multiple agents where one queries USAspending (Federal Spending), another analyzes results, and a third generates reports, all orchestrated through Vinkius.
What you can do
- Agency Insights — Retrieve comprehensive overviews of toptier agencies, including their budgetary resources and obligations.
- Award Tracking — Search and filter through millions of federal awards, contracts, and grants using advanced criteria.
- Geographic Analysis — Break down spending by state, county, or congressional district to see where the money is going.
- Sub-Agency Breakdown — List specific offices and sub-agencies within a department to identify internal spending distribution.
- Historical Trends — Analyze spending and new award counts over time to identify fiscal patterns.
The USAspending (Federal Spending) MCP Server exposes 32 tools through the Vinkius. Connect it to OpenAI Agents SDK in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
All 32 USAspending (Federal Spending) tools available for OpenAI Agents SDK
When OpenAI Agents SDK connects to USAspending (Federal Spending) through Vinkius, your AI agent gets direct access to every tool listed below — spanning federal-spending, budget-analysis, transparency, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.
Autocomplete awarding agency on USAspending (Federal Spending)
Awarding agencies matching search text
Autocomplete glossary on USAspending (Federal Spending)
Glossary terms matching search text
Autocomplete location on USAspending (Federal Spending)
Locations based on search text
Autocomplete recipient on USAspending (Federal Spending)
Recipient names and UEI based on search text
Bulk download awards on USAspending (Federal Spending)
Generates ZIP file of award data in CSV
Download search on USAspending (Federal Spending)
ZIP file for Awards, Subawards, and Transactions
Get agency awards on USAspending (Federal Spending)
Get summary of transactions and obligations for an agency
Get agency awards count on USAspending (Federal Spending)
Count of award types for agencies in a fiscal year
Get agency budgetary resources on USAspending (Federal Spending)
Get budgetary resources and obligations by fiscal year
Get agency overview on USAspending (Federal Spending)
Get agency overview for details page
Get agency sub agencies on USAspending (Federal Spending)
List sub-agencies and offices with obligated amounts
Get award on USAspending (Federal Spending)
Get details about a specific award
Get award funding on USAspending (Federal Spending)
Federal account and agency funding info for an award
Get award types on USAspending (Federal Spending)
Map of award types by grouping
Get data dictionary on USAspending (Federal Spending)
JSON structure of the Rosetta Crosswalk Data Dictionary
Get disaster agency spending on USAspending (Federal Spending)
Insights on agencies receiving disaster funding
Get disaster award amount on USAspending (Federal Spending)
Obligation and outlay aggregations for disaster awards
Get disaster overview on USAspending (Federal Spending)
Overview of disaster/emergency funding and spending
Get download status on USAspending (Federal Spending)
Current status of a requested download job
Get glossary on USAspending (Federal Spending)
List of glossary terms and definitions
Get recipient on USAspending (Federal Spending)
Individual recipient details
Get recipient children on USAspending (Federal Spending)
Recipient details based on identifier
Get recipient state on USAspending (Federal Spending)
Basic information about a specified state
Get subawards on USAspending (Federal Spending)
Subawards related to a specific parent award
Get toptier agencies on USAspending (Federal Spending)
All toptier agencies and relevant data
Get transactions on USAspending (Federal Spending)
Transactions related to a specific parent award
List recipients on USAspending (Federal Spending)
List of recipients in the database
Search new awards over time on USAspending (Federal Spending)
List of time periods with new awards
Search spending by award on USAspending (Federal Spending)
Search and filter awards
Search spending by category on USAspending (Federal Spending)
g., agency, recipient, CFDA). Grouped spending data for visualizations
Search spending by geography on USAspending (Federal Spending)
Spending by state, county, or congressional district
Search spending over time on USAspending (Federal Spending)
Aggregated transaction amounts over time
Connect USAspending (Federal Spending) to OpenAI Agents SDK via MCP
Follow these steps to wire USAspending (Federal Spending) into OpenAI Agents SDK. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.
Install the SDK
pip install openai-agents in your Python environmentReplace the token
[YOUR_TOKEN_HERE] with your Vinkius token from cloud.vinkius.comRun the script
python agent.pyExplore tools
Why Use OpenAI Agents SDK with the USAspending (Federal Spending) MCP Server
OpenAI Agents SDK provides unique advantages when paired with USAspending (Federal Spending) through the Model Context Protocol.
Native MCP integration via `MCPServerSse`, pass the URL and the SDK auto-discovers all tools with full type safety
Built-in guardrails, tracing, and handoff patterns let you build production-grade agents without reinventing safety infrastructure
Lightweight and composable: chain multiple agents and MCP servers in a single pipeline with minimal boilerplate
First-party OpenAI support ensures optimal compatibility with GPT models for tool calling and structured output
USAspending (Federal Spending) + OpenAI Agents SDK Use Cases
Practical scenarios where OpenAI Agents SDK combined with the USAspending (Federal Spending) MCP Server delivers measurable value.
Automated workflows: build agents that query USAspending (Federal Spending), process the data, and trigger follow-up actions autonomously
Multi-agent orchestration: create specialist agents. one queries USAspending (Federal Spending), another analyzes results, a third generates reports
Data enrichment pipelines: stream data through USAspending (Federal Spending) tools and transform it with OpenAI models in a single async loop
Customer support bots: agents query USAspending (Federal Spending) to resolve tickets, look up records, and update statuses without human intervention
Example Prompts for USAspending (Federal Spending) in OpenAI Agents SDK
Ready-to-use prompts you can give your OpenAI Agents SDK agent to start working with USAspending (Federal Spending) immediately.
"Get the agency overview for the Department of Energy using toptier code 089."
"List all sub-agencies and their obligated amounts for the Department of Justice (toptier code 015)."
"Search for spending by geography for the state of Texas in fiscal year 2023."
Troubleshooting USAspending (Federal Spending) MCP Server with OpenAI Agents SDK
Common issues when connecting USAspending (Federal Spending) to OpenAI Agents SDK through Vinkius, and how to resolve them.
MCPServerStreamableHttp not found
pip install --upgrade openai-agentsAgent not calling tools
USAspending (Federal Spending) + OpenAI Agents SDK FAQ
Common questions about integrating USAspending (Federal Spending) MCP Server with OpenAI Agents SDK.
How does the OpenAI Agents SDK connect to MCP?
MCPServerSse(url=...) to create a server connection. The SDK auto-discovers all tools and makes them available to your agent with full type information.Can I use multiple MCP servers in one agent?
MCPServerSse instances to the agent constructor. The agent can use tools from all connected servers within a single run.Does the SDK support streaming responses?
Explore More MCP Servers
View all →
MACD & RSI Oscillator Engine
1 toolsCalculate exact MACD and Relative Strength Index (RSI) technical indicators local for quantitative analysis.

Peerbie
16 toolsOrchestrate your entire team's workspace, from Kanban boards to calendar events, completely driven by AI.

IBGE Agregados (SIDRA)
5 toolsAccess official Brazilian statistical data from IBGE SIDRA — query surveys, metadata, variables, and geographic levels directly.

Vadoo
6 toolsHost and optimize video content for the web with AI-powered SEO, automatic subtitles, and engagement analytics for creators.
