How to Use the USAspending (Federal Spending) MCP in Claude Code
Script USAspending (Federal Spending) workflows with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect USAspending (Federal Spending) MCP to Claude Code
Create your Vinkius account to connect USAspending (Federal Spending) to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Run spending analysis scripts with the MCP Server.
Start a CI/CD script by calling `search_spending_by_geography` to filter awards based on location codes. The output is clean data you can pipe directly into a reporting engine or database write command. You also run budget checks using `get_agency_budgetary_resources`. This allows your shell script to check if an agency has sufficient funds before initiating a major spending process, all from the terminal.
Automate USAspending (Federal Spending) award lookups.
Need details on a specific contract? Run `get_award` via a command line script. This returns structured data that you can immediately parse with standard Unix tools like `jq`. You then follow up by running `search_new_awards_over_time` to track trends over months. To verify funding, pipe an award ID into a request for `get_award_funding`, giving your automation step the exact financial context required.
Download and manage USAspending (Federal Spending) data flows.
Set up a cron job that executes `bulk_download_awards` to generate an award ZIP file nightly. The script then checks the download status using `get_download_status` before sending a completion notification. If you only want subaward details, run `get_subawards` against a parent ID and pipe the resulting list directly into another processing utility.
Set up USAspending (Federal Spending) MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeusaspending-federal-spending-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest USAspending (Federal Spending) transactions." It will automatically discover and invoke the available USAspending (Federal Spending) tools.
claude mcp add --transport http usaspending-federal-spending-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about USAspending (Federal Spending) MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the USAspending (Federal Spending) MCP today
We host it, we monitor it, we maintain it. You just paste one token.