Skip to content
VS Code

mcp sam gov for VS Code

io.github.cliwant/mcp-sam-gov

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

client:VS Code transport:stdio runtime:npm

Install mcp sam gov in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "sam-gov-api-key",
      "description": "SAM_GOV_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "census-api-key",
      "description": "CENSUS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fred-api-key",
      "description": "FRED_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bea-api-key",
      "description": "BEA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bls-api-key",
      "description": "BLS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dol-api-key",
      "description": "DOL_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "data-gov-api-key",
      "description": "DATA_GOV_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "nvd-api-key",
      "description": "NVD_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "openfda-api-key",
      "description": "OPENFDA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "socrata-app-token",
      "description": "SOCRATA_APP_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "courtlistener-api-token",
      "description": "COURTLISTENER_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "lda-api-key",
      "description": "LDA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "edgar-user-agent",
      "description": "EDGAR_USER_AGENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mcp-sam-gov-toolsets",
      "description": "MCP_SAM_GOV_TOOLSETS",
      "password": true
    }
  ],
  "servers": {
    "mcp-sam-gov": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cliwant/mcp-sam-gov"
      ],
      "env": {
        "SAM_GOV_API_KEY": "${input:sam-gov-api-key}",
        "CENSUS_API_KEY": "${input:census-api-key}",
        "FRED_API_KEY": "${input:fred-api-key}",
        "BEA_API_KEY": "${input:bea-api-key}",
        "BLS_API_KEY": "${input:bls-api-key}",
        "DOL_API_KEY": "${input:dol-api-key}",
        "DATA_GOV_API_KEY": "${input:data-gov-api-key}",
        "NVD_API_KEY": "${input:nvd-api-key}",
        "OPENFDA_API_KEY": "${input:openfda-api-key}",
        "SOCRATA_APP_TOKEN": "${input:socrata-app-token}",
        "COURTLISTENER_API_TOKEN": "${input:courtlistener-api-token}",
        "LDA_API_KEY": "${input:lda-api-key}",
        "EDGAR_USER_AGENT": "${input:edgar-user-agent}",
        "MCP_SAM_GOV_TOOLSETS": "${input:mcp-sam-gov-toolsets}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

mcp sam gov in other clients