sam_search_opportunities
ActiveTool of Samgov
Search active federal contract opportunities by keyword, NAICS code (e.g., "541512"), set-aside type, posting date range, and procurement type. Returns titles, solicitation numbers, deadlines, and agencies. SAM.gov requires a posting date range — if you omit posted_from/posted_to, we default to the last 30 days. Accepts query / q / keywords as aliases for keyword.
Parameters schema
{
"type": "object",
"examples": [
{
"limit": 20,
"naics": "541512",
"_apiKey": "your-samgov-api-key",
"keyword": "software development",
"posted_to": "12/31/2024",
"posted_from": "01/01/2024"
},
{
"ptype": "o",
"_apiKey": "your-samgov-api-key",
"keyword": "IT services",
"set_aside": "WOSB"
}
],
"required": [
"keyword",
"_apiKey"
],
"properties": {
"q": {
"type": "string",
"description": "Alias for keyword."
},
"limit": {
"type": "number",
"description": "Number of results to return (1-100, default 10)"
},
"naics": {
"type": "string",
"description": "NAICS code to filter by (e.g., \"541512\" for computer systems design)"
},
"ptype": {
"type": "string",
"description": "Procurement type filter: p (presolicitation), o (solicitation), k (combined synopsis/solicitation), a (award notice)"
},
"query": {
"type": "string",
"description": "Alias for keyword."
},
"offset": {
"type": "number",
"description": "Result offset for pagination (default 0)"
},
"_apiKey": {
"type": "string",
"description": "SAM.gov API key"
},
"keyword": {
"type": "string",
"description": "Search term for opportunity title or description. query, q, keywords accepted as aliases."
},
"keywords": {
"type": "string",
"description": "Alias for keyword."
},
"posted_to": {
"type": "string",
"description": "End of posting date range in MM/dd/yyyy format. Defaults to today if omitted."
},
"set_aside": {
"type": "string",
"description": "Small business set-aside type: SBA (Small Business), SDVOSB (Service-Disabled Veteran), HUBZone, 8AN (8(a)), WOSB (Women-Owned), EDWOSB (Economically Disadvantaged Women-Owned)"
},
"posted_from": {
"type": "string",
"description": "Start of posting date range in MM/dd/yyyy format. Defaults to 30 days ago if omitted."
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Samgov
https://github.com/pipeworx-io/mcp-samgov
1/7 registries