# Samgov (npm · @pipeworx/mcp-samgov)

SAM.gov MCP — Federal contract opportunities and entity registration data

- Trust score: 81/100 (high trust)
- Change this week: +3
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- remote · `gateway.pipeworx.io`: 77/100, [markdown](https://verifymcp.io/servers/pipeworx-io-samgov/samgov-mcp.md), [page](https://verifymcp.io/servers/pipeworx-io-samgov/samgov-mcp)
- npm · `@pipeworx/mcp-samgov`: 81/100 (this document), [markdown](https://verifymcp.io/servers/pipeworx-io-samgov/pipeworx-mcp-samgov.md), [page](https://verifymcp.io/servers/pipeworx-io-samgov/pipeworx-mcp-samgov)

## Channel facts

- Registry: `npm`
- Package: `@pipeworx/mcp-samgov`
- Version: `0.3.1`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - No install/post-install scripts declared.
  - No production dependencies, so there is no dependency health to assess.
- **Provenance & Transparency**: 97/100
  - Source repository is publicly reachable at the declared URL.
  - Cryptographically verified build provenance (signed, bound to pipeworx-io/mcp-samgov).
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 0 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 57/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 2015 tokens (~403/item across 5 items; 5 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 23/100
  - Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 5 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 6 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### How do I install the Samgov MCP server?

Samgov runs locally as an npm package, launched with npx -y @pipeworx/mcp-samgov. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add pipeworx-io-samgov -- npx -y @pipeworx/mcp-samgov
```

### Cursor

```json
{
  "mcpServers": {
    "pipeworx-io-samgov": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-samgov"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "pipeworx-io-samgov": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-samgov"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add pipeworx-io-samgov -- npx -y @pipeworx/mcp-samgov
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "pipeworx-io-samgov": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@pipeworx/mcp-samgov"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add pipeworx-io-samgov --command npx --arg -y --arg @pipeworx/mcp-samgov
```

### Hermes

```yaml
mcp_servers:
  pipeworx-io-samgov:
    command: "npx"
    args: ["-y", "@pipeworx/mcp-samgov"]
```

### Netclaw

```json
{
  "McpServers": {
    "pipeworx-io-samgov": {
      "Transport": "stdio",
      "Command": "npx",
      "Arguments": [
        "-y",
        "@pipeworx/mcp-samgov"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add pipeworx-io-samgov -t stdio -c npx -a -y @pipeworx/mcp-samgov
```

### Other

```json
{
  "mcpServers": {
    "pipeworx-io-samgov": {
      "command": "npx",
      "args": [
        "-y",
        "@pipeworx/mcp-samgov"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-05 (score 81, +1)

No change was recorded against any check on this day. Stability & Change Management went from 20 to 23. That category is still filling its 30-day observation window: 6 days of observed history at the previous scan, 7 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-04 (score 80, 0)

- [security regression] Stability: 0.17 → unverified
- [security regression] Tool safety: pass → unverified
- [functional regression] Capabilities: pass → unverified
- [functional regression] Tool coverage: 100 → unverified
- [functional] First check of Schema quality: unverified
- [functional] Package version: 0.3.0 → 0.3.1

### 2026-11-03 (score 80, +1)

No change was recorded against any check on this day. Stability & Change Management went from 13 to 17. That category is still filling its 30-day observation window: 4 days of observed history at the previous scan, 5 at this one. The score rises as the window fills, whether or not the server changes.

### 2026-11-02 (score 79, +1)

- [functional improvement] Stability: unverified → 0.13

### 2026-10-30 (score 78, 0)

- [functional regression] Security disclosure: unverified → fail

### 2026-10-29 (score 78)

First indexed and scored.

## MCP tools (5)

### `sam_search_opportunities` (~464 tokens)

Search active federal contract opportunities by keyword, NAICS code (e.g., "541512"), set-aside type, posting date range, and procurement type. Searches SAM.gov's public Contract Opportunities extract, refreshed daily, without spending an API key — ranking matches by relevance with the opportunity TITLE weighted well above its description, so a genuine title hit outranks a notice whose boilerplate contract-clause text happens to mention the term. Returns titles, solicitation numbers, deadlines, and agencies, plus a `mirror` field reporting how fresh that snapshot is. SAM.gov requires a posting date range — if you omit posted_from/posted_to, we default to the last 30 days. Accepts query / q / keywords as aliases for keyword.

Input parameters:

- `_apiKey` (string): Optional — omit it. This search answers keyless from the local snapshot of SAM.gov's public Contract Opportunities extract; a key is needed only to reach postings newer than that snapshot.
- `keyword` (string): Search term for opportunity title or description. query, q, keywords accepted as aliases.
- `keywords` (string): Alias for keyword.
- `limit` (number): Number of results to return (1-100, default 10)
- `naics` (string): NAICS code to filter by (e.g., "541512" for computer systems design)
- `offset` (number): Result offset for pagination (default 0)
- `posted_from` (string): Start of posting date range in MM/dd/yyyy format. Defaults to 30 days ago if omitted.
- `posted_to` (string): End of posting date range in MM/dd/yyyy format. Defaults to today if omitted.
- `ptype` (string): Procurement type filter: p (presolicitation), o (solicitation), k (combined synopsis/solicitation), a (award notice)
- `q` (string): Alias for keyword.
- `query` (string): Alias for keyword.
- `set_aside` (string): Small business set-aside type: SBA (Small Business), SDVOSB (Service-Disabled Veteran), HUBZone, 8AN (8(a)), WOSB (Women-Owned), EDWOSB (Economically Disadvantaged Women-Owned)

### `sam_get_opportunity` (~212 tokens)

Get full details for a federal contract opportunity by solicitation number. Returns description, contact info, deadlines, attachments, NAICS codes, and set-aside status — the fields sam_search_opportunities does not carry. SAM.gov searches a posting-date range and caps it at one year: we resolve the solicitation's posting date automatically where we can and otherwise search the last year, so pass posted_from/posted_to only for an older solicitation.

Input parameters:

- `_apiKey` (string, required): SAM.gov API key — required. Free at https://sam.gov/content/entity-information; a key on an account with a SAM.gov role allows 1,000 requests/day.
- `posted_from` (string): Optional MM/DD/YYYY start of the posting-date window; only needed for a solicitation older than a year
- `posted_to` (string): Optional MM/DD/YYYY end of the posting-date window
- `solicitation_number` (string, required): The solicitation number to look up (e.g., "N6133126R3101")

### `sam_entity_search` (~426 tokens)

Look up federal contractors registered in SAM.gov by business name, UEI, or CAGE code. Returns UEI, CAGE, legal and DBA name, address, NAICS and PSC codes, entity structure, registration and expiration dates, small-business/SBA certifications, and whether the entity carries an exclusion flag. Answers keyless from a local mirror of SAM.gov's public Entity Registration extract, ranking an exact UEI/CAGE/legal-name match above any fuzzy name hit and active registrations above expired ones. Every response carries a `mirror` field with the snapshot date and its age in days — the public entity extract is published MONTHLY, so an answer can legitimately be several weeks old; pass live:true with an API key when you need the registry as of today.

Input parameters:

- `_apiKey` (string): Optional — omit it. This search answers keyless from the local snapshot of SAM.gov's public Entity Registration extract; a key is needed only for live:true.
- `active_only` (boolean): Only entities with an active registration (default false — expired registrations are returned but sorted below active ones).
- `business_name` (string, required): What to search for: a legal/DBA business name, or an exact UEI or CAGE code. Accepts query / q / name as aliases.
- `limit` (number): Number of results (1-100, default 10).
- `live` (boolean): Force a live SAM.gov API lookup instead of the mirror. Needs _apiKey. Use only when you specifically need registrations changed since the mirror snapshot — the live entity API is capped at 10 request…
- `naics` (string): Filter by NAICS code (optional) — matches the primary NAICS or any NAICS the entity lists.
- `offset` (number): Rows to skip for paging (default 0).
- `small_business` (boolean): Filter to only small business entities (optional)
- `state` (string): Filter by 2-letter US state code (e.g., "VA", "CA")

### `sam_set_aside_opportunities` (~423 tokens)

Find federal contract opportunities reserved for a specific class of small business — total or partial small business, 8(a), women-owned (WOSB/EDWOSB), HUBZone, service-disabled veteran-owned (SDVOSB), veteran-owned, Indian small business economic enterprise and Buy Indian. Answers "what HUBZone contracts are open", "recent 8(a) set-asides", "women-owned small business opportunities in NAICS 541512". Reads SAM.gov's public daily Contract Opportunities extract, so it costs no API key and works on the plain code (SBA, HZC, SDVOSBC, 8A, WOSB) or on the ordinary phrasing ("HUBZone", "women-owned", "8(a)", "service-disabled veteran"). Returns titles, solicitation numbers, deadlines, agencies and NAICS, with a `mirror` field reporting how fresh the snapshot is.

Input parameters:

- `_apiKey` (string): Optional — omit it. This search answers keyless from the local snapshot of SAM.gov's public Contract Opportunities extract; a key is needed only to reach postings newer than that snapshot.
- `keyword` (string): Optional keyword to narrow results
- `limit` (number): Number of results to return (1-100, default 10)
- `naics` (string): Optional NAICS code filter
- `set_aside` (string, required): Set-aside type (required). Either the SAM.gov code — SBA (total small business), SBP (partial), 8A, 8AN (8(a) sole source), WOSB, EDWOSB, HZC (HUBZone), HZS (HUBZone sole source), SDVOSBC, SDVOSBS, V…

### `sam_search_exclusions` (~437 tokens)

Search the SAM.gov Exclusions list — parties DEBARRED, suspended, or otherwise excluded from receiving federal contracts, grants, or assistance. Answers "is this company/person barred from federal contracting" for KYB / vendor-vetting / procurement due diligence. Filter by name, US state, and classification (Firm / Individual / Vessel / Special Entity). Returns each excluded party with the exclusion type, program, excluding agency, and active/termination dates. Distinct from OFAC sanctions (see sanctions_screen) — this is the federal procurement debarment list.

Input parameters:

- `_apiKey` (string): Optional — omit it. This search answers keyless from the local snapshot of SAM.gov's public Exclusions extract, which is refreshed daily.
- `classification` (string): Optional classification: "Firm", "Individual", "Vessel", or "Special Entity Designation".
- `include_terminated` (boolean): Accepted, but it currently changes NOTHING — SAM.gov's daily Exclusions extract carries only exclusions in force, so there are no terminated records for it to add. Measured 2026-09-13 over 400 sample…
- `limit` (number): Number of results (1-100, default 10).
- `name` (string): Name to search (company or individual), e.g. "Smith Construction". Matched against the excluded party name; an exact UEI also matches. Optional if you pass `uei` instead — supply one of the two.
- `offset` (number): Rows to skip for paging (default 0).
- `state` (string): Optional 2-letter US state to filter by, e.g. "VA".
- `uei` (string): Optional — check one specific UEI against the debarment list. More reliable than a name for KYB, since names collide and are transcribed inconsistently.

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/pipeworx-io-samgov/pipeworx-mcp-samgov#diagnostics

## Score history

- 2026-11-05: 81
- 2026-11-04: 80
- 2026-11-03: 80
- 2026-11-02: 79
- 2026-11-01: 78
- 2026-10-31: 78
- 2026-10-30: 78
- 2026-10-29: 78

## Common questions

### What is the Samgov MCP server?

Samgov is an MCP server listed in the public MCP registry as io.github.pipeworx-io/samgov. SAM.gov MCP, Federal contract opportunities and entity registration data. This page covers its npm package (@pipeworx/mcp-samgov).

### Is the Samgov MCP server safe to use?

Samgov scores 81 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Samgov MCP server expose?

Samgov exposes 5 tools: sam_search_opportunities, sam_get_opportunity, sam_entity_search, sam_set_aside_opportunities, sam_search_exclusions. Their descriptions and schemas cost roughly 1,962 tokens of context every time the server is loaded.

### Is the Samgov MCP server still maintained?

Samgov is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Samgov MCP server under?

Samgov declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the Samgov MCP server?

VerifyMCP ran 16 checks on Samgov, covering Malware scan, Known CVEs, Install scripts, Dependency health and 12 more. Endpoint Security and Transport & Reachability do not apply to an npm package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- npm package: https://www.npmjs.com/package/@pipeworx/mcp-samgov
- Socket report: https://socket.dev/npm/package/@pipeworx/mcp-samgov
- Repository: https://github.com/pipeworx-io/mcp-samgov
- Website: https://pipeworx.io/packs/samgov
- Changelog RSS feed: https://verifymcp.io/servers/pipeworx-io-samgov/pipeworx-mcp-samgov.xml
- Changelog JSON feed: https://verifymcp.io/servers/pipeworx-io-samgov/pipeworx-mcp-samgov/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/pipeworx-io-samgov/pipeworx-mcp-samgov.json
- HTML version of this page: https://verifymcp.io/servers/pipeworx-io-samgov/pipeworx-mcp-samgov
