Skip to content
VS Code

cpfhub for VS Code

io.github.cpfhub/cpfhub

MCP server for CPFHub.io. Query Brazilian CPF data directly from AI agents.

client:VS Code transport:stdio runtime:npm

Install cpfhub in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cpfhub-api-key",
      "description": "CPFHUB_API_KEY",
      "password": true
    }
  ],
  "servers": {
    "cpfhub": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cpfhub/mcp"
      ],
      "env": {
        "CPFHUB_API_KEY": "${input:cpfhub-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

cpfhub in other clients