Search federal government contract opportunities from SAM.gov via Claude
Free, searchable interface for U.S. federal contract award data sourced from USASpending.gov.
# Clone
git clone https://github.com/openclaw/awardopedia.git
cd awardopedia
# Database
psql -d your_db -f scripts/schema.sql
# API
cd api
cp ../.env.example .env # Edit with your values
npm install
npm run dev # Starts on :3001
# Frontend (separate terminal)
cd web
npm install
npm run dev # Starts on :3000, proxies /api to :3001
See .env.example for all required variables. At minimum for local dev:
DATABASE_URL=postgresql://localhost:5432/awardopedia
JWT_SECRET=any-dev-secret
PORT=3001
awardopedia/
├── api/ # Express API server
│ ├── src/
│ │ ├── db/ # Database connection + queries
│ │ ├── middleware/ # Auth, credits, rate limiting
│ │ ├── routes/ # API route handlers
│ │ └── services/ # Claude AI, Stripe, SendGrid
│ └── Dockerfile
├── web/ # React + Vite frontend
│ ├── src/
│ │ ├── components/ # Reusable UI components
│ │ ├── pages/ # Route pages
│ │ ├── styles/ # CSS tokens, global, components
│ │ └── utils/ # API client, formatters, SEO
│ └── public/
├── scripts/
│ ├── schema.sql # PostgreSQL schema
│ ├── ingest.py # Bulk CSV ingestion
│ └── sync.py # Weekly USASpending API sync
├── docs/
│ ├── api.md # API endpoint reference
│ ├── data-model.md # Database schema docs
│ └── deployment.md # Deployment guide
└── assets/ # Brand logos
All contract data is sourced from USASpending.gov, the official open data source of federal spending information maintained by the U.S. Department of the Treasury as mandated by FFATA.
python3 scripts/ingest.py --file contracts.csvpython3 scripts/sync.py (fetches last 7 days from USASpending API)Proprietary. Data sourced from USASpending.gov (public domain).
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y awardopedia-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-grayson-sys-awardopedia": {
"command": "npx",
"args": [
"-y",
"awardopedia-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceawardopedia-mcpnpmAwardopedia - Federal Contracts works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.