SAM.gov Contract Opportunities MCP (keyless)

Recherchez les appels d’offres fédéraux américains en cours sur SAM.gov sans votre propre clé API : mots-clés, codes NAICS, réservations de marchés, types d’avis, agences et échéances, avec les coordonnées des responsables des marchés dans un schéma normalisé. Serveur MCP HTTP Streamable hébergé sur Apify, paiement par avis ; fonctionne également en local via stdio.

Serveur MCP hébergé

npx add-mcp 'https://mr-wolf-1--us-sam-tenders-mcp-server.apify.actor/mcp'

S’installe dans Claude Code, Codex, Cursor et plus

Documentation

SAM.gov US Federal Contract Opportunities + MCP

Keyless SAM.gov contract opportunities (solicitations, RFPs, sources sought, award notices) with agencies, deadlines, NAICS codes and contracting officer contacts, plus a Standby MCP server.

Mr-Wolf-Dev/us-sam-tenders-mcp-server 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+json endpoints 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, and responseDeadline.
  • Optional Deep Enrichment (includeDetails): Fetches naicsCodes, classificationCode, and pointOfContact (contracting officer name, email, and phone).
  • Dual Mode (Batch + Standby MCP): Connect n8n, Make, Claude Desktop, or Cursor directly.

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/mcp

Filter semantics

  • noticeTypes matches exactly (case-insensitive) the SAM notice type code (o Solicitation, p Presolicitation, k Combined Synopsis/Solicitation, r Sources Sought, s Special Notice, a Award Notice, ...) or the full type name. ["o"] does not match "Sources Sought" or "Special Notice".
  • maxItems counts items that pass all filters. The Actor keeps fetching SAM.gov pages until maxItems matches are found or the source is exhausted, capped at 40 pages (about 1000 notices inspected) to bound cost and time. Very selective filters may therefore return fewer than maxItems.

Exposed 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)


Output

One dataset item per SAM.gov opportunity (deduplicated by opportunityId, most recently modified first). Example item with includeDetails: true (description truncated, contact details masked here):

{
  "opportunityId": "17878c50e7734edf9371b6c03f867aa5",
  "solicitationNumber": "70FA3127I00000002",
  "title": "FIID Advanced Anti-Fraud and Risk-Modeling Proof of Concept",
  "noticeTypeCode": "r",
  "noticeType": "Sources Sought",
  "department": "HOMELAND SECURITY, DEPARTMENT OF",
  "agency": "FEDERAL EMERGENCY MANAGEMENT AGENCY",
  "office": "INFORMATION TECHNOLOGY DEVELOPMENT AND SUSTAINMENT",
  "isActive": true,
  "isCanceled": false,
  "publishedDate": "2026-11-27",
  "modifiedDate": "2026-11-27",
  "responseDeadline": "2026-12-11",
  "naicsCodes": ["541512"],
  "classificationCode": "DA10",
  "pointOfContact": [
    { "fullName": "<contracting officer>", "email": "<name>@fema.dhs.gov", "phone": "<phone>", "type": "primary" }
  ],
  "description": "FEMA&rsquo;s Fraud Investigations and Inspections Division (FIID), in coordination with the Office of the Chief...",
  "samUrl": "https://sam.gov/opp/17878c50e7734edf9371b6c03f867aa5/view"
}
FieldTypeDescription
opportunityIdstringSAM.gov notice ID (use it with get_opportunity_details).
solicitationNumberstring | nullSolicitation number.
titlestringOpportunity title.
noticeTypeCodestring | nullSAM notice type code (o, p, k, r, s, a, ...).
noticeTypestring | nullNotice type name (e.g. Solicitation, Sources Sought).
departmentstring | nullFederal department (level 1 of the organization hierarchy).
agencystring | nullSub-tier agency (level 2).
officestring | nullContracting office (last level).
isActivebooleanWhether SAM.gov marks the notice as active.
isCanceledbooleanWhether the notice was canceled.
publishedDatestring | nullPublication date (YYYY-MM-DD).
modifiedDatestring | nullLast modification date (YYYY-MM-DD).
responseDeadlinestring | nullResponse deadline (YYYY-MM-DD).
naicsCodesstring[]NAICS codes (only with includeDetails: true, otherwise []).
classificationCodestring | nullProduct/Service Code (only with includeDetails: true).
pointOfContactobject[]Contacts with fullName, email, phone, type (only with includeDetails: true, otherwise []).
descriptionstring | nullPlain-text description, truncated to 1,200 characters.
samUrlstringPublic SAM.gov page of the notice.

The SAM.gov Opportunities Overview table view in the Console shows the main columns; the full items are available as JSON, CSV or Excel via the dataset API.


Pricing

Pay-Per-Event (PPE): you pay only for what the Actor delivers. Prices in USD, as currently set in the Apify Console:

EventWhen it is chargedFree planBronzeSilverGold / Platinum / Diamond
tender-extractedOnce per normalized opportunity pushed to the dataset (batch mode)$0.003$0.0027$0.0024$0.0021
mcp-queryOnce per MCP tool call in Standby mode$0.005$0.0045$0.004$0.0035
apify-actor-startOnce per run, per GB of memory (minimum 1)$0.00005$0.00005$0.00005$0.00005

Higher Apify subscription tiers get the Store discounts shown above automatically. includeDetails does not change the price per item. Example: 50 opportunities on the free plan cost about 50 x $0.003 + $0.00005 = $0.15. Notices removed by your filters are never charged.


Limitations

  • Contract opportunities only. Data comes from the SAM.gov Contract Opportunities search (the same public endpoints the sam.gov website uses, no API key). Grants.gov listings and award/spending databases (FPDS, USAspending) are not queried.
  • Public endpoints can change or throttle. The Actor retries on 429/5xx, but SAM.gov does not document these endpoints, so a site change can break or slow runs until the Actor is updated.
  • At most 40 search pages (about 1,000 notices) are inspected per run. noticeTypes, departments, publishedFrom and minDeadline are applied after fetching, so very selective filters can return fewer than maxItems items.
  • NAICS codes, classification code and contacts need includeDetails: true, which makes one extra request per item (slower runs). If a detail request fails, the base record is kept with empty naicsCodes and pointOfContact.
  • department, agency and office can be null when SAM.gov does not publish the organization hierarchy for a notice; the departments filter then cannot match it.
  • Descriptions are truncated to 1,200 characters and may contain leftover HTML entities (for example &rsquo;); the full text is on samUrl.
  • Date filters drop notices without that date (publishedFrom needs publishedDate, minDeadline needs responseDeadline).

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 --purge

Related Actors by mr.wolf


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:

ActorUse CaseApify StoreSource
Shopify Store Intel, Apps & CatalogThemes, 28+ apps & pixels, BNPL payments, /products.jsonApify StoreGitHub
EU VAT Validator (VIES) & GLEIF LEI LookupGLEIF LEI parent trees, EU VIES VAT, French SIRENEApify StoreGitHub
FDA Recalls, 510(k) & Clinical TrialsopenFDA recalls, 510(k) clearances, ClinicalTrials.gov v2Apify StoreGitHub
SEC EDGAR Filings & XBRL Financials10-K, 10-Q, 8-K, Form 4 & US-GAAP XBRL metricsApify StoreGitHub
Tech & Startup Jobs (4 ATS APIs)Greenhouse, Lever, Ashby, SmartRecruiters + hiring signalsApify StoreGitHub
B2B Domain Intel & Email VerifierDNS/MX/SPF/DMARC deliverability, tech stack & contactsApify StoreGitHub
EU Public Tenders & Grants (TED Europa)European procurement notices by CPV, country & budgetApify StoreGitHub