MC

mcp sam gov MCP Server

Published by cliwant

Keyless-first MCP: 153 tools for US federal + state/local (SLED) contracting, spending & regulation

CATEGORY
More to explore
DEPLOYMENT
Local package
LATEST SOURCE VERSION
1.17.0
SOURCE CHECKED
Nov 30, 2026

Quick answers

How do I add mcp sam gov MCP Server to Claude Code, Cursor or Codex?

Claude CodeCommand

Run this in your terminal:

claude mcp add --env 'SAM_GOV_API_KEY=<your-sam-gov-api-key>' --env 'CENSUS_API_KEY=<your-census-api-key>' --env 'FRED_API_KEY=<your-fred-api-key>' --env 'BEA_API_KEY=<your-bea-api-key>' --env 'BLS_API_KEY=<your-bls-api-key>' --env 'DOL_API_KEY=<your-dol-api-key>' --env 'DATA_GOV_API_KEY=<your-data-gov-api-key>' --env 'NVD_API_KEY=<your-nvd-api-key>' --env 'OPENFDA_API_KEY=<your-openfda-api-key>' --env 'SOCRATA_APP_TOKEN=<your-socrata-app-token>' --env 'COURTLISTENER_API_TOKEN=<your-courtlistener-api-token>' --env 'LDA_API_KEY=<your-lda-api-key>' --transport stdio sam-gov -- npx -y @cliwant/mcp-sam-gov

Replace the <your-…> placeholder with your own SAM_GOV_API_KEY and CENSUS_API_KEY and FRED_API_KEY and BEA_API_KEY and BLS_API_KEY and DOL_API_KEY and DATA_GOV_API_KEY and NVD_API_KEY and OPENFDA_API_KEY and SOCRATA_APP_TOKEN and COURTLISTENER_API_TOKEN and LDA_API_KEY.

Claude Code setup guide
CursorConfig

Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:

{
  "mcpServers": {
    "sam-gov": {
      "command": "npx",
      "args": [
        "-y",
        "@cliwant/mcp-sam-gov"
      ],
      "env": {
        "SAM_GOV_API_KEY": "<your-sam-gov-api-key>",
        "CENSUS_API_KEY": "<your-census-api-key>",
        "FRED_API_KEY": "<your-fred-api-key>",
        "BEA_API_KEY": "<your-bea-api-key>",
        "BLS_API_KEY": "<your-bls-api-key>",
        "DOL_API_KEY": "<your-dol-api-key>",
        "DATA_GOV_API_KEY": "<your-data-gov-api-key>",
        "NVD_API_KEY": "<your-nvd-api-key>",
        "OPENFDA_API_KEY": "<your-openfda-api-key>",
        "SOCRATA_APP_TOKEN": "<your-socrata-app-token>",
        "COURTLISTENER_API_TOKEN": "<your-courtlistener-api-token>",
        "LDA_API_KEY": "<your-lda-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own SAM_GOV_API_KEY and CENSUS_API_KEY and FRED_API_KEY and BEA_API_KEY and BLS_API_KEY and DOL_API_KEY and DATA_GOV_API_KEY and NVD_API_KEY and OPENFDA_API_KEY and SOCRATA_APP_TOKEN and COURTLISTENER_API_TOKEN and LDA_API_KEY.

Cursor setup guide
CodexCommand

Run this in your terminal:

codex mcp add sam-gov --env 'SAM_GOV_API_KEY=<your-sam-gov-api-key>' --env 'CENSUS_API_KEY=<your-census-api-key>' --env 'FRED_API_KEY=<your-fred-api-key>' --env 'BEA_API_KEY=<your-bea-api-key>' --env 'BLS_API_KEY=<your-bls-api-key>' --env 'DOL_API_KEY=<your-dol-api-key>' --env 'DATA_GOV_API_KEY=<your-data-gov-api-key>' --env 'NVD_API_KEY=<your-nvd-api-key>' --env 'OPENFDA_API_KEY=<your-openfda-api-key>' --env 'SOCRATA_APP_TOKEN=<your-socrata-app-token>' --env 'COURTLISTENER_API_TOKEN=<your-courtlistener-api-token>' --env 'LDA_API_KEY=<your-lda-api-key>' -- npx -y @cliwant/mcp-sam-gov

Replace the <your-…> placeholder with your own SAM_GOV_API_KEY and CENSUS_API_KEY and FRED_API_KEY and BEA_API_KEY and BLS_API_KEY and DOL_API_KEY and DATA_GOV_API_KEY and NVD_API_KEY and OPENFDA_API_KEY and SOCRATA_APP_TOKEN and COURTLISTENER_API_TOKEN and LDA_API_KEY.

Codex setup guide
VS CodeConfig

Add this to .mcp.json at the root of your workspace:

{
  "mcpServers": {
    "sam-gov": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cliwant/mcp-sam-gov"
      ],
      "env": {
        "SAM_GOV_API_KEY": "<your-sam-gov-api-key>",
        "CENSUS_API_KEY": "<your-census-api-key>",
        "FRED_API_KEY": "<your-fred-api-key>",
        "BEA_API_KEY": "<your-bea-api-key>",
        "BLS_API_KEY": "<your-bls-api-key>",
        "DOL_API_KEY": "<your-dol-api-key>",
        "DATA_GOV_API_KEY": "<your-data-gov-api-key>",
        "NVD_API_KEY": "<your-nvd-api-key>",
        "OPENFDA_API_KEY": "<your-openfda-api-key>",
        "SOCRATA_APP_TOKEN": "<your-socrata-app-token>",
        "COURTLISTENER_API_TOKEN": "<your-courtlistener-api-token>",
        "LDA_API_KEY": "<your-lda-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own SAM_GOV_API_KEY and CENSUS_API_KEY and FRED_API_KEY and BEA_API_KEY and BLS_API_KEY and DOL_API_KEY and DATA_GOV_API_KEY and NVD_API_KEY and OPENFDA_API_KEY and SOCRATA_APP_TOKEN and COURTLISTENER_API_TOKEN and LDA_API_KEY.

VS Code setup guide
Claude DesktopConfig

Add this to claude_desktop_config.json, then restart Claude:

{
  "mcpServers": {
    "sam-gov": {
      "command": "npx",
      "args": [
        "-y",
        "@cliwant/mcp-sam-gov"
      ],
      "env": {
        "SAM_GOV_API_KEY": "<your-sam-gov-api-key>",
        "CENSUS_API_KEY": "<your-census-api-key>",
        "FRED_API_KEY": "<your-fred-api-key>",
        "BEA_API_KEY": "<your-bea-api-key>",
        "BLS_API_KEY": "<your-bls-api-key>",
        "DOL_API_KEY": "<your-dol-api-key>",
        "DATA_GOV_API_KEY": "<your-data-gov-api-key>",
        "NVD_API_KEY": "<your-nvd-api-key>",
        "OPENFDA_API_KEY": "<your-openfda-api-key>",
        "SOCRATA_APP_TOKEN": "<your-socrata-app-token>",
        "COURTLISTENER_API_TOKEN": "<your-courtlistener-api-token>",
        "LDA_API_KEY": "<your-lda-api-key>"
      }
    }
  }
}

Replace the <your-…> placeholder with your own SAM_GOV_API_KEY and CENSUS_API_KEY and FRED_API_KEY and BEA_API_KEY and BLS_API_KEY and DOL_API_KEY and DATA_GOV_API_KEY and NVD_API_KEY and OPENFDA_API_KEY and SOCRATA_APP_TOKEN and COURTLISTENER_API_TOKEN and LDA_API_KEY.

Claude Desktop setup guide
ChatGPTNot available

ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.

ChatGPT setup guide

Which apps can use mcp sam gov MCP Server?

Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.

Does mcp sam gov MCP Server need an API key?

To run it on your computer, set SAM_GOV_API_KEY, CENSUS_API_KEY, FRED_API_KEY, BEA_API_KEY, BLS_API_KEY, DOL_API_KEY, DATA_GOV_API_KEY, NVD_API_KEY, OPENFDA_API_KEY, SOCRATA_APP_TOKEN, COURTLISTENER_API_TOKEN and LDA_API_KEY first, with values from the publisher.

Is mcp sam gov MCP Server official?

It's published by cliwant. The Official MCP Registry accepts names under io.github.cliwant only from the GitHub account or organisation cliwant. We last checked its listing on Nov 30, 2026. A listing shows where a server comes from; it isn't a security review.

Published packages

npm · @cliwant/mcp-sam-gov@1.17.0
View source repository