# renda_estimada — how to use (mcp.ai)

Estimated socioeconomic level and income of a person from a CPF, based on income, occupation, and education. 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_renda_estimada?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. `renda_estimada_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/renda_estimada/consultar` — Estimativa de nível socioeconômico e renda de uma pessoa física a partir do CPF, com base em renda, ocupação e escolaridade. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito 
  - body: { CPF: string, completo?: boolean }

## Example prompts
- "What is the estimated income for CPF 12345678909?"
- "Socioeconomic level of CPF 12345678909"

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