# cpf_cadastral — how to use (mcp.ai)

Basic registration data for an individual from a CPF: name, registration status, and date of birth. Platform-hosted, no credentials, pay per query with prepaid credit.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_cpf_cadastral?ms=1787191740000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `cpf_cadastral_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/cpf_cadastral`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/cpf_cadastral/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/cpf_cadastral/consultar` — Dados cadastrais básicos de uma pessoa física a partir do CPF: nome, situação cadastral e data de nascimento. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consu
  - body: { CPF: string, completo?: boolean }

## Example prompts
- "Registration data for CPF 12345678909"
- "Is CPF 12345678909 in good standing?"

## More
- Page: https://mcp.ai/cpf_cadastral
- Agent spec (llms.txt): https://mcp.ai/cpf_cadastral/llms.txt
- Postman collection: https://mcp.ai/cpf_cadastral/postman.json
