[Integrations](https://spiral.ai/integrations) › [Claude](https://spiral.ai/integrations/claude-desktop) › [SAM.gov contract opportunity search](https://spiral.ai/integrations/claude-desktop/sam-gov-contract-opportunity-search)

# How to Use SAM.gov contract opportunity search in Claude

Returns federal procurement notices with agency, deadline, and notice information, up to 100 results per page. Use it to build a shortlist before reading individual notices in detail.

|  |  |
| --- | --- |
| Model | SAM.gov contract opportunity search |
| Available through | Alexandria |
| Category | Public Records |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with SAM.gov contract opportunity search in Claude

- Use SAM.gov contract opportunity search to find up to 15 active NASA cybersecurity notices and show their titles, notice types, response deadlines, and source links.
- Use SAM.gov contract opportunity search to look this up and give me the result as a table.
- Pull the latest numbers from SAM.gov contract opportunity search and tell me what changed since last week.
- Check SAM.gov contract opportunity search and summarize what you find in three bullet points.
- Pull the newest data from SAM.gov contract opportunity search and give me the result as a table.

## How to set up SAM.gov contract opportunity search in Claude

Pick the way that suits you. Each takes about two minutes.

### Use the Claude connector

1. **Add Spiral to Claude**: Click Add Spiral in Claude above. Claude opens Add custom connector with Spiral and its URL filled in; check them and click Continue. Without the link: in Claude open Customize › Connectors › Add › Add custom connector and paste this URL:

```text
https://api.spiral.ai/mcp
```

2. **Keep the detected sign-in and click Add**: Claude finds Spiral's sign-in by itself: leave Sign in now and Use Claude's published identity selected.

3. **Click Connect**: The connector page opens. Connect takes you to Spiral in your browser.

### Use the Spiral skill

1. **Send Claude this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run SAM.gov contract opportunity search**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "sam-gov/opportunities/search",
    "input": {
      "sort": "updated_desc"
    }
  }'
```

Then paste one of the prompts above: Claude finds SAM.gov contract opportunity search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-desktop

## SAM.gov contract opportunity search tools and prices

- [SAM.gov · Search](https://spiral.ai/tools/alexandria/sam-gov/opportunities/search) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | updated_desc, updated_asc, relevance, deadline_asc, deadline_desc | updated_desc | sort |
| query |  |  | Keyword query matched against title, solicitation number and description. Multi-word queries combine per query_mode (default: every word must match). Empty matches everything. |
| cursor |  | — | Opaque cursor from a previous response's next_cursor. Bound to the same filters and page_size; valid for 24 hours; then cursor_expired. |
| statuses |  | — | Notice status as SAM.gov indexes it. active = accepting responses / not yet archived; inactive = archived. Both = no status filter. |
| page_size | 1 to 100 | 20 | Records per page. At most 50 when include_attachments is true. |
| agency_ids |  | — | SAM.gov federal organization ids at any hierarchy level (100000000 = Dept of Defense, 300000188 = Dept of the Navy, 100006688 = Dept of Veterans Affairs). Matched as OR. |

## What can you do with SAM.gov contract opportunity search in Claude?

Prepare a federal bid or supplier review with source records attached to each finding. Ask for notice requirements, public registration details, or business exclusion records, and turn the returned data into a comparison you can read.

### Prepare a bid qualification brief

Find relevant federal notices, read their requirements and deadlines, resolve potential suppliers, and check known businesses for exclusion records before a bid review.

### Build a teaming shortlist

Compare a notice's scope with registered businesses in the relevant industry. Retrieve candidate registrations by identifier and compare the business shortlist against active firm exclusions.

### Review a daily bid watch

Find notices worth reviewing, inspect their details, and collect registration updates affecting the supplier roster. Check exclusions publication status before refreshing individual business checks.

### Compile a monthly procurement review

Summarize relevant notices and their detailed requirements alongside registration changes affecting the business supplier roster. Identify the entity and exclusions publications used for the review.

### Populate an internal procurement research portal

Present federal opportunity shortlists beside searchable public business registrations. Use extract publication checks to manage baseline refreshes and display active firm exclusion matches for supplier review.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Claude guides](https://spiral.ai/integrations/claude-desktop)

## SAM.gov contract opportunity search in other agents

- [Amp](https://spiral.ai/integrations/amp/sam-gov-contract-opportunity-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/sam-gov-contract-opportunity-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/sam-gov-contract-opportunity-search)
- [Cline](https://spiral.ai/integrations/cline/sam-gov-contract-opportunity-search)
- [Codex](https://spiral.ai/integrations/codex/sam-gov-contract-opportunity-search)
- [Cursor](https://spiral.ai/integrations/cursor/sam-gov-contract-opportunity-search)
- [Devin](https://spiral.ai/integrations/devin/sam-gov-contract-opportunity-search)
- [dots](https://spiral.ai/integrations/dots/sam-gov-contract-opportunity-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/sam-gov-contract-opportunity-search)
- [Gemini](https://spiral.ai/integrations/gemini/sam-gov-contract-opportunity-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/sam-gov-contract-opportunity-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/sam-gov-contract-opportunity-search)
- [goose](https://spiral.ai/integrations/goose/sam-gov-contract-opportunity-search)
- [Grok](https://spiral.ai/integrations/grok/sam-gov-contract-opportunity-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/sam-gov-contract-opportunity-search)
- [Hermes](https://spiral.ai/integrations/hermes/sam-gov-contract-opportunity-search)
- [Instinct](https://spiral.ai/integrations/instinct/sam-gov-contract-opportunity-search)
- [Manus](https://spiral.ai/integrations/manus/sam-gov-contract-opportunity-search)
- [Muse](https://spiral.ai/integrations/muse/sam-gov-contract-opportunity-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/sam-gov-contract-opportunity-search)
- [n8n](https://spiral.ai/integrations/n8n/sam-gov-contract-opportunity-search)
- [Notion](https://spiral.ai/integrations/notion/sam-gov-contract-opportunity-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/sam-gov-contract-opportunity-search)
- [opencode](https://spiral.ai/integrations/opencode/sam-gov-contract-opportunity-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/sam-gov-contract-opportunity-search)
- [Raycast](https://spiral.ai/integrations/raycast/sam-gov-contract-opportunity-search)
- [VS Code](https://spiral.ai/integrations/vscode/sam-gov-contract-opportunity-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/sam-gov-contract-opportunity-search)
- [Zapier](https://spiral.ai/integrations/zapier/sam-gov-contract-opportunity-search)

## More Claude guides

- [SAM.gov contract notice details](https://spiral.ai/integrations/claude-desktop/sam-gov-contract-notice-details)
- [SAM.gov daily exclusions extract status](https://spiral.ai/integrations/claude-desktop/sam-gov-daily-exclusions-extract-status)
- [SAM.gov business exclusion lookup](https://spiral.ai/integrations/claude-desktop/sam-gov-business-exclusion-lookup)
- [SAM.gov entity registration lookup](https://spiral.ai/integrations/claude-desktop/sam-gov-entity-registration-lookup)
- [SAM.gov active exclusions list](https://spiral.ai/integrations/claude-desktop/sam-gov-active-exclusions-list)
- [SAM.gov monthly entity extract status](https://spiral.ai/integrations/claude-desktop/sam-gov-monthly-entity-extract-status)

## Questions about SAM.gov contract opportunity search in Claude

**Can Claude use SAM.gov contract opportunity search?**

Yes. Add Spiral to Claude as an MCP server, and Claude can find and run SAM.gov contract opportunity search like any built-in tool.

**How much does SAM.gov contract opportunity search cost in Claude?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude plan is separate.

**Do I need an Alexandria account to use SAM.gov contract opportunity search in Claude?**

No. Spiral runs SAM.gov contract opportunity search on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up SAM.gov contract opportunity search in Claude?**

About two minutes: add Spiral to Claude, then keep the detected sign-in and click Add, then click Connect.

**Does Claude wait while SAM.gov contract opportunity search runs?**

SAM.gov contract opportunity search runs in the background. Claude starts the run, checks on it and gives you the json when it's ready.

**What does SAM.gov cover?**

SAM.gov publishes federal procurement notices, entity registrations, and exclusions. Its contract notices include presolicitations, solicitations, award notices, and sole-source notices; it directs grant searches to Grants.gov.

**What information is public in entity registrations?**

Public registration data includes business names, UEIs, registration details, addresses, business types, and industry classifications such as NAICS. These are registration records for entities doing business with the federal government.

**Can an entity search return every matching registration?**

The Entity Management API returns ten records per page and stops at the first 10,000 matches. For a broad business search, narrow the geography or industry before collecting additional pages.

**When does the monthly entity extract change?**

GSA processes monthly entity extracts on the first Sunday of each month. A monthly publication is a baseline for that publication date, rather than a continuous stream of registration changes.

**Does the exclusions extract include past exclusions?**

The extract contains currently open exclusions. It is suitable for reviewing the published active list, but it does not provide a complete history of terminated exclusions.

