CPFHub.io

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 nine tools for AI agents, with the same cost and limits as the REST API:

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
lookup_cnpjCNPJ Lookup (CNPJ is Brazil's company taxpayer ID): legal name, registration status, address, CNAE codes and partners1 credit per CNPJ found
bulk_lookup_cpfAsynchronous batch of up to 10,000 CPFs (Simple Lookup)1 credit per CPF found
bulk_lookup_cnpjAsynchronous batch of up to 10,000 CNPJs1 credit per CNPJ found
get_bulk_jobStatus and results of a CPF or CNPJ batchFree
create_kyc_linkCreates an Identity Verification link (selfie with liveness check and ID document)Free to create; 5 credits per completed verification
get_kyc_linkStatus and decision of an Identity Verification linkFree
get_quota_infoPlan, remaining and used credits and billing statusFree

The costs above are the defaults; your plan's costs are in the dashboard. Each tool's parameters and responses are in MCP Server.

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 November 13, 2026