Skip to content
MCP server

SAM.gov Opportunities

Search US federal contract opportunities on SAM.gov and get alerts on changes

Runs locallyStatus and history
Install
Pricing
Freemium
Platforms
API, CLI
Runs
Locally
Version
0.2.1
Listing updated
3 days ago

About SAM.gov Opportunities

SAM.gov Opportunities is a freemium MCP server for legal and government. It runs locally on your machine and is started by your AI client.

This is a thin MCP wrapper over an Apify actor, and every call runs under your own Apify token. You need no SAM.gov key and are not held to SAM.gov's 10-requests-per-day cap. The actor charges $0.003 per returned notice, and each tool call has a spending cap, by default $0.30.

The monitor tool is the distinctive part: give it a stable monitor_id and the same filters each time, and it returns only notices that are new or changed, labelled amended, deadline_changed, amount_changed, awarded, canceled and so on, with a plain-English summary and a structured diff. Unchanged notices are free, and the first call defaults to a free baseline. Its state is kept in your own Apify account.

Award notices carry the winner, UEI, CAGE code and amount. Filters accept NAICS and PSC prefixes, set-asides, agencies by plain name, place-of-performance state and deadline windows.

Install

Run in a terminal

claude mcp add samgov-opportunities --env APIFY_TOKEN='<APIFY_TOKEN>' -- uvx samgov-opportunities-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "samgov-opportunities": {
      "command": "uvx",
      "args": [
        "samgov-opportunities-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "samgov-opportunities": {
      "command": "uvx",
      "args": [
        "samgov-opportunities-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "samgov-opportunities": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "samgov-opportunities-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "samgov-opportunities": {
      "command": "uvx",
      "args": [
        "samgov-opportunities-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "samgov-opportunities": {
      "command": "uvx",
      "args": [
        "samgov-opportunities-mcp"
      ],
      "env": {
        "APIFY_TOKEN": "<APIFY_TOKEN>"
      }
    }
  }
}

Configuration

  • APIFY_TOKENYour Apify API token (console.apify.com > Settings > API & Integrations). Runs are billed to this account at $0.003 per notice.Required
  • SAMGOV_MAX_CHARGE_USDSpending cap per tool call in USD (default 0.30).
  • SAMGOV_ACTOR_BUILDActor build tag to run (default latest).

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

search_opportunities
Searches active SAM.gov notices newest first with keyword, NAICS, PSC, set-aside, agency, state and deadline filters.
get_opportunity
Fetches one notice by notice ID, URL or solicitation number, including award details.
what_changed_since_last_check
Monitor mode that returns only new or changed notices since the previous call.

What it does

Filtered notice search
Search by keyword, NAICS or PSC prefix, set-aside, agency, state, notice type and deadline.
Single notice lookup
Fetch a notice by ID, sam.gov URL or solicitation number, including award winner and amount.
Change monitor
Return only new or changed notices since the last check, each with a change type and diff.
Award details
Rows include awardee name, UEI, CAGE code, award number and amount.
Spending caps
Each call is capped at the lower of max results times $0.003 and a configurable limit.

Good for

  • Watch for new bids in your NAICS codes
  • Spot amendments and deadline changes on a solicitation
  • Find who won a contract and for how much
  • Pull bid contacts and attachment links into a sheet

Pricing

Freemium

Pay per notice, $0.003 each, on your Apify account; Apify has a free plan with $5 credit

Prices change. Check apify.com before you buy.

SAM.gov Opportunities FAQ

Do I need a SAM.gov API key?

No. It runs through your own Apify token instead.

What does a call cost?

$0.003 per returned notice, billed to your Apify account; 25 results cost $0.075.

How do I install it?

Run it with uvx samgov-opportunities-mcp and set APIFY_TOKEN.

Are unchanged notices billed in monitor mode?

No, unchanged notices are free.

Is SAM.gov Opportunities free?

SAM.gov Opportunities has a free plan, with paid plans for more usage or features.

How do I add SAM.gov Opportunities to Claude Code?

Run this command in your terminal: claude mcp add samgov-opportunities --env APIFY_TOKEN='<APIFY_TOKEN>' -- uvx samgov-opportunities-mcp

What are the best alternatives to SAM.gov Opportunities?

The closest alternatives to SAM.gov Opportunities are Calven, CompanyData, MisarReach MCP Server, NeuralVerge and NY LLC Publication (FileMyPublication).

Alternatives to SAM.gov Opportunities

  1. Calven

    MCP server

    Product marketing context from Calven delivered into Claude, ChatGPT and other AI tools

    Not checked yet
    • Remote
    • Free trial
    • 3 GitHub stars
    • Marketing and SEO
  2. CompanyData

    MCP server

    Search and enrich company records from official registers via the CompanyData API

    • 3 tools
    • Remote
    • Paid
    • 3 GitHub stars
    • Analytics and data
  3. Find, enrich and score B2B leads and run outreach sequences from an AI assistant

    • 31 tools
    • Remote
    • Freemium
    • 1 GitHub star
    • Sales and CRM
  4. NeuralVerge

    MCP server

    Structured, source-tagged business and people data from 300+ sources for agents

    • 200 tools
    • Remote
    • Free trial
    • 1 GitHub star
    • Web search and scraping
  5. New York LLC publication rules, deadline, county prices, clerks and notice text

    • 8 tools
    • Remote
    • Free
    • Legal and government
  6. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • Legal and government