# certidao_debitos_pf — how to use (mcp.ai)

Issues the joint federal tax debt certificate for an individual from the 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_certidao_debitos_pf?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. `certidao_debitos_pf_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/certidao_debitos_pf/consultar` — Emite a certidão conjunta de débitos federais de uma pessoa física a partir do CPF. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta informação de ACESSO P
  - body: { Cpf: string, completo?: boolean }

## Example prompts
- "Tax debt certificate for CPF 12345678909"
- "Does CPF 12345678909 have federal debts?"

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