Skip to content
VS Code

US Government Data Analyst for VS Code

io.github.zsu/data-analyst-mcp

U.S. government economic data (FRED, BLS, BEA, Census, Treasury and more), cited and audited.

client:VS Code transport:stdio runtime:npm

Install US Government Data Analyst in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "data-gov-api-key",
      "description": "DATA_GOV_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fred-api-key",
      "description": "FRED_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bls-api-key",
      "description": "BLS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "bea-api-key",
      "description": "BEA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "census-api-key",
      "description": "CENSUS_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "data-analyst-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "data-analyst-mcp"
      ],
      "env": {
        "DATA_GOV_API_KEY": "${input:data-gov-api-key}",
        "FRED_API_KEY": "${input:fred-api-key}",
        "BLS_API_KEY": "${input:bls-api-key}",
        "BEA_API_KEY": "${input:bea-api-key}",
        "CENSUS_API_KEY": "${input:census-api-key}"
      }
    }
  }
}

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

US Government Data Analyst in other clients