GSA-TTS/usa-spending-mcp-server-DEMO
If you are the rightful owner of usa-spending-mcp-server-DEMO and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The USA Spending MCP Server is a proof of concept server designed to interact with the USAspending.gov API, providing a simple interface for accessing federal spending data.
USA Spending MCP Server
⚠️ DISCLAIMER: This is a proof of concept and is not intended for production use.
A simple MCP server for interacting with the USAspending.gov API.
Requirements
Installation Options
Option 1: Install via uv (Recommended for quick setup)
uv tool install git+https://github.com/GSA-TTS/arc-usa-spending-mcp-server
Option 2: Development Setup with Poetry
-
Install dependencies:
poetry install
-
Activate the virtual environment:
poetry env activate
Simple way to connect to Claude
For uv installation:
-
Get the installed tool path:
which usa-spending-mcp-server
-
Copy the path into Claude MCP config:
{ "mcpServers": { "usa-spending": { "command": "/path/to/usa-spending-mcp-server", "args": [], "env": {} } } }
For Poetry development setup:
-
Get path:
➜ usa-spending-mcp-server git:(feature/award_spending) poetry run which usa-spending-mcp-server /Users/samuellevy/Library/Caches/pypoetry/virtualenvs/usa-spending-mcp-server-4uFFGwlz-py3.13/bin/usa-spending-mcp-server
-
Copy path into Claude MCP config:
{ "mcpServers": { "usa-spending": { "command": "/Users/samuellevy/Library/Caches/pypoetry/virtualenvs/usa-spending-mcp-server-4uFFGwlz-py3.13/bin/usa-spending-mcp-server", "args": [], "env": {} } } }
-
Anytime you need to update mcp server rerun:
poetry install
Running the Server
With uv:
usa-spending-mcp-server
With Poetry:
poetry run usa-spending-mcp-server
Code Formatting
This project uses black and isort for code formatting and import sorting.
-
Format code with black:
poetry run black .
-
Sort imports with isort:
poetry run isort .
Project Structure
src/
usa_spending_mcp_server/
tests/
pyproject.toml
README.md