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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      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