# beneficios_sociais — how to use (mcp.ai)

Consolidates the social benefits received by 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_beneficios_sociais?ms=1787191500000`
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. `beneficios_sociais_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/beneficios_sociais/consultar` — Consolida os benefícios sociais recebidos por 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ÚBL
  - body: { CPF: string, completo?: boolean }

## Example prompts
- "Which social benefits does CPF 12345678909 receive?"
- "Benefits for CPF 12345678909"

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