# receita_pf — how to use (mcp.ai)

Looks up the registration status of an individual at the Federal Revenue from the CPF 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_receita_pf?ms=1787191260000`
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. `receita_pf_consultar`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/receita_pf`
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/receita_pf/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/receita_pf/consultar` — Consulta a situação cadastral de uma pessoa física na Receita Federal a partir do CPF e da data de nascimento. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Cons
  - body: { Cpf: string, DataNascimento: string, completo?: boolean }

## Example prompts
- "Federal Revenue status for CPF 12345678909"
- "Is CPF 12345678909 in good standing?"

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