A simple MCP server for interacting with the USAspending.gov API.
uv tool install git+https://github.com/GSA-TTS/arc-usa-spending-mcp-server-
Install dependencies:
poetry install
-
Activate the virtual environment:
poetry env activate
-
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": {} } } }
-
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
usa-spending-mcp-serverpoetry run usa-spending-mcp-serverThis 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 .
src/
usa_spending_mcp_server/
tests/
pyproject.toml
README.md