CPFHub.io
Start for free

AI and Agents

CPFHub.io was built to work natively with AI agents. It has official support for the main frameworks and protocols used by modern LLMs. A CPF is Brazil's individual taxpayer ID, and Receita Federal is Brazil's federal tax authority.

What is available

ToolDescriptionInstallation
MCP ServerOfficial Model Context Protocol serverhttps://api.cpfhub.io/mcp
Agent SkillsTool definitions for Claude, GPT-4 and othersAgent Skills
OpenAPI 3.1API spec for automatic client generation/openapi.json
llms.txtMachine-readable index of the documentation/llms.txt

Use cases with AI agents

Conversational onboarding: An onboarding agent asks for the user's CPF during the chat and validates their identity on the spot, without leaving the conversation flow.

Autonomous fraud prevention: A compliance agent monitors transactions and automatically looks up suspicious identities before approving.

Customer support: A support assistant confirms the customer's identity by CPF before accessing sensitive account data.

No-code automations: n8n, Make or Zapier flows that validate CPFs as part of larger lead capture or signup workflows.

Available tools

The remote MCP Server exposes three tools for AI agents:

ToolDescriptionCost
lookup_cpfSimple Lookup: name, gender and date of birth from a CPF1 credit per CPF found
lookup_cpf_realtimeReal-Time Lookup at Receita Federal (CPF + date of birth): registration status, year of death (deathYear, an integer or null), control code and proof1.5 credits per successful lookup
get_quota_infoPlan, remaining and used credits and billing statusFree

The batch lookup has no MCP tool: use POST /cpf/bulk through REST.

Next steps

  • MCP Server: set up the MCP server in Claude Desktop, Claude Code, Cursor or any MCP client
  • Agent Skills: tool definitions to use directly in system prompts
  • Prompt Library: ready-made prompts for common use cases
  • Platforms: n8n, Make, Zapier, LangChain

Updated on October 3, 2026