SAM gov US Federal Contracts & Grants Scraper (Keyless)
SAM.gov US Federal Contracts & Grants Scraper (Keyless + MCP Server)
Extract, filter, and normalize active US federal contract opportunities, government RFPs, solicitations, NAICS codes, and contracting officer contacts directly from SAM.gov — with zero API key required, available both as an HTTP-only Apify Actor and as a Standby MCP Server for AI agents.
Designed for Pay-Per-Event (PPE) cost efficiency with zero headless browsers (runs smoothly on 256 MB RAM).
Why Use This Keyless SAM.gov Scraper & MCP Server?
No SAM.gov API Key Required: Queries SAM.gov's public
hal+jsonendpoints directly over HTTP with automatic retries (429/5xx).256 MB RAM, Zero Browser Overhead: Fast execution and maximum PPE margin.
Structured Agency Hierarchy & Deadlines: Extracts
department,agency,office,solicitationNumber,noticeType,publishedDate, andresponseDeadline.Optional Deep Enrichment (
includeDetails): FetchesnaicsCodes,classificationCode, andpointOfContact(contracting officer name, email, and phone).Dual Mode (Batch + Standby MCP): Connect n8n, Make, Claude Desktop, or Cursor directly.
Related MCP server: samgov-mcp
Input Examples (Copy-Paste)
1. Active Software & IT Federal Solicitations
{
"query": "software",
"noticeTypes": ["o", "k"],
"activeOnly": true,
"includeDetails": true,
"maxItems": 25
}2. Department of Defense Opportunities with Upcoming Deadlines
{
"departments": ["DEFENSE"],
"activeOnly": true,
"minDeadline": "2026-12-01",
"maxItems": 50
}Standby MCP Server for AI Agents
Connect Cursor, Claude Desktop, or any Streamable HTTP MCP client to:
https://mr-wolf-1--us-sam-tenders-mcp-server.apify.actor/mcpExposed MCP Tools
search_us_contracts(query, noticeTypes, departments, activeOnly, publishedFrom, minDeadline, includeDetails, maxItems)get_opportunity_details(opportunityId)
See docs/integrations/mcp-clients.md for client configuration snippets.
Automation Integrations (n8n & Make)
n8n workflow template:
docs/integrations/n8n-workflow.jsonMake.com scenario blueprint:
docs/integrations/make-scenario.json
Pay-Per-Event (PPE) Pricing
apify-actor-start: Standard Actor startup event.tender-extracted: Charged once per normalized opportunity pushed to the dataset in batch mode.mcp-query: Charged once per MCP tool invocation in Standby mode.
Frequently Asked Questions (FAQ)
Do I need a GSA / SAM.gov API key to run this Actor? No. It works out of the box without any SAM.gov account or API key.
Can I extract contracting officer emails and NAICS codes?
Yes. Set "includeDetails": true in batch mode, or call the get_opportunity_details MCP tool with any opportunityId.
Does it require proxies or a headless browser?
No. It runs HTTP-only on 256 MB RAM.
Local Development
npm run typecheck && npm run lint && npm test && npm run build
apify run --purgeRelated Actors by mrWolf
EU Public Tenders & Grants Monitor (TED Europa + MCP) — Extract and filter active European public procurement notices from TED Europa.
Tech & Startup Jobs Scraper (Greenhouse, Lever, Ashby, SmartRecruiters + MCP) — Extract live tech jobs, salaries, and B2B hiring signals.
B2B Domain Intelligence & Email Verifier + MCP — Detect tech stack, DNS/MX/SPF/DMARC readiness, and company contacts.
Quick REST API Call
curl -X POST "https://api.apify.com/v2/acts/mr.wolf~us-sam-tenders-mcp-server/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d {}Related HTTP-Only MCP Actors by Mr. Wolf
All Actors run HTTP-only (< 512 MB RAM, zero headless browsers) with Pay-Per-Event pricing and Streamable HTTP Standby MCP endpoints:
Actor | Use Case | Apify Store | Source |
Shopify Store Intel, Apps & Catalog | Themes, 28+ apps & pixels, BNPL payments, /products.json | ||
Global KYB Entity, LEI & EU VAT | GLEIF LEI parent trees, EU VIES VAT, French SIRENE | ||
FDA Recalls, 510(k) & Clinical Trials | openFDA recalls, 510(k) clearances, ClinicalTrials.gov v2 | ||
SEC EDGAR Filings & XBRL Financials | 10-K, 10-Q, 8-K, Form 4 & US-GAAP XBRL metrics | ||
Tech & Startup Jobs (4 ATS APIs) | Greenhouse, Lever, Ashby, SmartRecruiters + hiring signals | ||
B2B Domain Intel & Email Verifier | DNS/MX/SPF/DMARC deliverability, tech stack & contacts | ||
EU Public Tenders & Grants (TED Europa) | European procurement notices by CPV, country & budget |
Available Tools
2 toolsget_opportunity_detailsAInspect
Fetch full details for a specific SAM.gov opportunity ID, including NAICS codes and contracting officer contact info.
Inputs: opportunityId (required).
search_us_contractsBInspect
Search active US federal contract opportunities, RFPs, and solicitations on SAM.gov without an API key.
Inputs: query, maxItems, activeOnly, departments, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools split cleanly along the standard list-vs-detail boundary: one searches, one fetches by ID. There is no realistic way an agent could confuse them.
Both names follow the same verb_noun pattern (search_us_contracts, get_opportunity_details) with snake_case throughout. Consistent and self-explanatory.
Two tools is thin for a data-source server; a search/details pair is a legitimate minimum but leaves no room for agency, NAICS, or grant-specific lookups. It sits at the borderline of under-scoped.
Search plus detail fetch covers the core read path, and read-only is appropriate for a scraper with no write access. However, the server title promises 'Contracts & Grants' while only contract search exists, and there is no way to browse agencies, filter by NAICS, or paginate results explicitly.
Maintenance
Related MCP Connectors
Monitor federal SAM.gov contract solicitations and leads in real time. Zero proxies.
Search US federal RFPs, contract awards, and SEC EDGAR filings via Apify MCP tools
Open SAM.gov notices and top past winners. Apify token needed. 0.0025 USD a notice plus start fee
SAM.gov federal contract opportunities: solicitations, awards, sources sought. API, no login.
Related MCP Servers
- AlicenseAqualityNot gradedmaintenanceSearch official US government data from any MCP client: building permits from 10 city open-data portals, federal contract opportunities from SAM.gov with contracting-officer contacts, and the CMS NPI healthcare-provider registry. Open-source TypeScript server; data delivered via Apify's pay-per-result actors using your own Apify token.3MIT
- AlicenseAqualityDmaintenanceMCP server for querying SAM.gov federal contract opportunities, providing precise search, retrieval, and attachment tools with full source traceability and explicit abstention when data is absent.5MIT
- AlicenseAqualityBmaintenanceEnables searching and retrieving public-sector opportunity data — US federal contract opportunities, grants, and awards, UK and EU tenders, and city council agendas and votes — with official source links on every record. Runs as a hosted remote MCP server via Apify's gateway, so clients can query these feeds and pull run results through natural language.61MIT
- AlicenseBqualityBmaintenanceHTTP & DNS-only Apify Actor & Streamable HTTP MCP server for B2B lead enrichment: tech stack detection, DNS/MX/SPF/DMARC email readiness, social links, emails, and key company pages.23MIT