# bpc — how to use (mcp.ai)

Checks receipt of the Continuous Cash Benefit (BPC) by a beneficiary from the CPF and NIS. 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_bpc?ms=1787191620000`
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. `bpc_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/bpc/consultar` — Verifica o recebimento do Benefício de Prestação Continuada (BPC) por um beneficiário a partir do CPF e do NIS. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pago. Con
  - body: { Cpf: string, Nis: string, completo?: boolean }

## Example prompts
- "Does CPF 12345678909 receive BPC?"
- "Continuous Cash Benefit for NIS 12345678901"

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