# credito_pf — how to use (mcp.ai)

Consumer credit check from a CPF: registration data, score, delinquencies, and history. 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_credito_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. `credito_pf_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/credito_pf/consultar` — Consulta de crédito de uma pessoa física a partir do CPF: dados cadastrais, score, pendências e histórico. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta
  - body: { CPF: string, completo?: boolean }

## Example prompts
- "Credit check for CPF 12345678909"
- "Does CPF 12345678909 have delinquencies?"

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