# credito_negativo — how to use (mcp.ai)

Delinquencies of a person or company: protests, lawsuits, recoveries, and other restrictions. 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_negativo?ms=1787191440000`
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_negativo_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/credito_negativo/consultar` — Pendências de uma pessoa física ou jurídica: protestos, ações judiciais, recuperações e outras restrições. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Consulta
  - body: { CPF: string, CNPJ: string, completo?: boolean }

## Example prompts
- "What are the delinquencies of CPF 12345678909?"
- "Restrictions and protests for CNPJ 12345678000190"

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