# cpf_receita — how to use (mcp.ai)

Registration data for an individual with the Federal Revenue status, from a CPF. 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_receita?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. `cpf_receita_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/cpf_receita/consultar` — Dados cadastrais de uma pessoa física com a situação na Receita Federal, a partir do CPF. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta informação de AC
  - body: { CPF: string, completo?: boolean }

## Example prompts
- "Federal Revenue status for CPF 12345678909"
- "Record and tax status for CPF 12345678909"

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