Skip to content
MCP server

Cpfhub

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.0.1
Listing updated
5 days ago

About Cpfhub

Cpfhub is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add cpfhub --env CPFHUB_API_KEY='<CPFHUB_API_KEY>' -- npx -y @cpfhub/mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "cpfhub": {
      "command": "npx",
      "args": [
        "-y",
        "@cpfhub/mcp"
      ],
      "env": {
        "CPFHUB_API_KEY": "<CPFHUB_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "cpfhub": {
      "command": "npx",
      "args": [
        "-y",
        "@cpfhub/mcp"
      ],
      "env": {
        "CPFHUB_API_KEY": "<CPFHUB_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "cpfhub": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cpfhub/mcp"
      ],
      "env": {
        "CPFHUB_API_KEY": "<CPFHUB_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "cpfhub": {
      "command": "npx",
      "args": [
        "-y",
        "@cpfhub/mcp"
      ],
      "env": {
        "CPFHUB_API_KEY": "<CPFHUB_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "cpfhub": {
      "command": "npx",
      "args": [
        "-y",
        "@cpfhub/mcp"
      ],
      "env": {
        "CPFHUB_API_KEY": "<CPFHUB_API_KEY>"
      }
    }
  }
}

Configuration

  • CPFHUB_API_KEYYour API key for the serviceRequired

Pricing

Open source

Cpfhub FAQ

Is Cpfhub free?

Yes. Cpfhub is open source, so you can use and self-host it for free.

How do I add Cpfhub to Claude Code?

Run this command in your terminal: claude mcp add cpfhub --env CPFHUB_API_KEY='<CPFHUB_API_KEY>' -- npx -y @cpfhub/mcp