Skip to main content
ClaudeWave

MCP server for searching SAM.gov contract opportunities. Read-only, bring your own free SAM.gov API key.

MCP ServersRegistry oficial0 estrellas0 forks● TypeScriptMITActualizado today
ClaudeWave Trust Score
95/100
✓ Verified
Passed
  • ✓Open-source license (MIT)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Topics declared
  • ✓Documented (README)
Last scanned: 10/16/2026
Install in Claude Code / Claude Desktop
Method: NPX · @itcustomsolution/sam-gov-mcp
Claude Code CLI
claude mcp add sam-gov-mcp -- npx -y @itcustomsolution/sam-gov-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "sam-gov-mcp": {
      "command": "npx",
      "args": ["-y", "@itcustomsolution/sam-gov-mcp"],
      "env": {
        "SAM_API_KEY": "<sam_api_key>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Detected environment variables
SAM_API_KEY
Casos de uso

Resumen de MCP Servers

# sam-gov-mcp

An [MCP](https://modelcontextprotocol.io) server that lets AI assistants (Claude Desktop, Cursor, and other MCP clients) search **SAM.gov contract opportunities** through the public [SAM.gov Get Opportunities API](https://open.gsa.gov/api/get-opportunities-public-api/).

- **Read-only.** It only searches and reads public notices.
- **Bring your own key.** You supply a free SAM.gov API key in `SAM_API_KEY`. The key is never logged and is redacted from errors and returned links.
- **No ranking or scoring.** It returns what SAM.gov returns, summarized.

## Quickstart

1. Get a free API key: sign in at [sam.gov](https://sam.gov) → Account Details → API Key.
2. Install. Claude Code:

   ```bash
   claude mcp add sam-gov -e SAM_API_KEY=your-key-here -- npx -y @itcustomsolution/sam-gov-mcp
   ```

   Or run it directly: `SAM_API_KEY=your-key-here npx -y @itcustomsolution/sam-gov-mcp`

3. Add it to your MCP client. Claude Desktop (`claude_desktop_config.json`):

   ```json
   {
     "mcpServers": {
       "sam-gov": {
         "command": "npx",
         "args": ["-y", "@itcustomsolution/sam-gov-mcp"],
         "env": { "SAM_API_KEY": "your-key-here" }
       }
     }
   }
   ```

4. Ask: *"Find small-business set-aside opportunities for NAICS 541512 posted in the last 30 days in Maryland."*

## Tools

| Tool | What it does | Inputs |
|---|---|---|
| `search_opportunities` | Search notices | `posted_from`, `posted_to` (optional, default last 30 days; YYYY-MM-DD or MM/DD/YYYY, max 1-year range), `keywords` (title), `naics`, `set_aside`, `state`, `limit` (1–100, default 10), `offset` |
| `get_opportunity` | Full JSON for one notice | `notice_id` (looks back 1 year) |
| `list_set_aside_codes` | Set-aside codes and meanings | none |

Search results are summarized to: `noticeId`, `title`, `solicitationNumber`, `agency`, `postedDate`, `responseDeadline`, `type`, `setAside`, `naics`, `state`, `uiLink`.

## Scope and limits

- SAM.gov requires a posted-date range of 1 year or less on every search; the server validates this before calling the API.
- Public API keys have daily rate limits set by GSA. Errors from SAM.gov are passed back as tool errors (with the key redacted).
- Out of scope: entity/UEI lookup, award data, attachments download, bid/no-bid scoring.

## Security notes

- SAM.gov requires the key as an `api_key` query parameter, so it travels in the request URL to `api.sam.gov` over HTTPS. The server redacts it from errors, links, and returned JSON, but anything that logs full URLs (an HTTP proxy, for example) would see it.
- Notice titles and descriptions are third-party text. Treat them as data, not instructions (prompt injection).
- Responses over 5 MB are refused and requests time out after 30 s.

## Development

```bash
npm install
npm test        # vitest, HTTP fully mocked, no key needed
npm run build
```

Never commit a real key. `.env` is git-ignored.

## License

MIT © IT Custom Solution
federal-contractinggovconmcpmcp-servermodel-context-protocolsam-govtypescript

Lo que la gente pregunta sobre sam-gov-mcp

¿Qué es itcustomsolution/sam-gov-mcp?

+

itcustomsolution/sam-gov-mcp es mcp servers para el ecosistema de Claude AI. MCP server for searching SAM.gov contract opportunities. Read-only, bring your own free SAM.gov API key. Tiene 0 estrellas en GitHub y su última actualización registrada es del 2026-10-15.

¿Cómo se instala sam-gov-mcp?

+

Puedes instalar sam-gov-mcp clonando el repositorio (https://github.com/itcustomsolution/sam-gov-mcp) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar itcustomsolution/sam-gov-mcp?

+

Nuestro agente de seguridad ha analizado itcustomsolution/sam-gov-mcp y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene itcustomsolution/sam-gov-mcp?

+

itcustomsolution/sam-gov-mcp es mantenido por itcustomsolution. La última actividad registrada en GitHub es del 2026-10-15, con 0 issues abiertos.

¿Hay alternativas a sam-gov-mcp?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega sam-gov-mcp en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: itcustomsolution/sam-gov-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/itcustomsolution-sam-gov-mcp)](https://claudewave.com/repo/itcustomsolution-sam-gov-mcp)
<a href="https://claudewave.com/repo/itcustomsolution-sam-gov-mcp"><img src="https://claudewave.com/api/badge/itcustomsolution-sam-gov-mcp" alt="Featured on ClaudeWave: itcustomsolution/sam-gov-mcp" width="320" height="64" /></a>

Más MCP Servers

Alternativas a sam-gov-mcp