Skip to main content
Glama
SAM gov US Federal Contracts & Grants Scraper (Keyless)

SAM gov US Federal Contracts & Grants Scraper (Keyless)

SAM.gov US Federal Contracts & Grants Scraper (Keyless + 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.


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

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)


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


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 {}

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

Apify Store

GitHub

Global KYB Entity, LEI & EU VAT

GLEIF LEI parent trees, EU VIES VAT, French SIRENE

Apify Store

GitHub

FDA Recalls, 510(k) & Clinical Trials

openFDA recalls, 510(k) clearances, ClinicalTrials.gov v2

Apify Store

GitHub

SEC EDGAR Filings & XBRL Financials

10-K, 10-Q, 8-K, Form 4 & US-GAAP XBRL metrics

Apify Store

GitHub

Tech & Startup Jobs (4 ATS APIs)

Greenhouse, Lever, Ashby, SmartRecruiters + hiring signals

Apify Store

GitHub

B2B Domain Intel & Email Verifier

DNS/MX/SPF/DMARC deliverability, tech stack & contacts

Apify Store

GitHub

EU Public Tenders & Grants (TED Europa)

European procurement notices by CPV, country & budget

Apify Store

GitHub

Available Tools

2 tools
get_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

    A3.5/5.0

    Scored across 2 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    Both names follow the same verb_noun pattern (search_us_contracts, get_opportunity_details) with snake_case throughout. Consistent and self-explanatory.

    Tool Count3/5

    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.

    Completeness3/5

    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

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      Not graded
      maintenance
      Search 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.
      3
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP 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.
      5
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables 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.
      6
      1
      MIT