Search SAM.gov contract opportunities
search_opportunitiesSearch active federal contract opportunities on SAM.gov: solicitations, presolicitations, sources sought, RFIs, and award notices - filterable by keywords, NAICS, set-aside (SDVOSB, 8(a), HUBZone, WOSB, small business), notice type, agency, and posted-date range (max 1 year). Call this when the user wants to find federal bidding opportunities or market intelligence on what agencies are buying. Uses a shared daily budget unless the caller supplies their own free SAM.gov key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results (default 10) | |
| agency | No | Department/agency name filter | |
| keywords | No | Free-text keywords, e.g. "CMMC compliance" | |
| posted_to | No | YYYY-MM-DD (default: today) | |
| set_aside | No | Set-aside codes: SDVOSBC/SDVOSBS (SDVOSB), VSA/VSS (VOSB), SBA/SBP (small business), 8A/8AN, HZC/HZS (HUBZone), WOSB/EDWOSB | |
| naics_codes | No | NAICS codes, e.g. ["541512"] | |
| notice_type | No | o=solicitation, p=presolicitation, r=sources sought, k=combined synopsis, g=surplus, s=special notice, a=award notice, i=intent to bundle, u=J&A | |
| posted_from | No | YYYY-MM-DD (default: 90 days ago; SAM allows at most a 1-year window) | |
| sam_api_key | No | Optional: your own free SAM.gov API key (from sam.gov → Account Details). With it you spend your own 1,000/day quota and skip the shared budget. Can also be sent once as the X-Sam-Api-Key header on the MCP connection. |