# contas_light_download_cep — how to use (mcp.ai)

Light: Download via ZIP code, official-source lookup. Platform-hosted, pay per query with prepaid credit.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_contas_light_download_cep?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. `contas_light_download_cep_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/contas_light_download_cep/consultar` — Light: Download via CEP, consulta em fonte oficial. Hospedado pela plataforma, sem credenciais da plataforma, pague por consulta com crédito pré-pago. Consulta informação de fontes e órgãos oficiais b
  - body: { cpf?: string, cnpj?: string, cep: string, instalacao?: string }

## Example prompts
- "Look up Light: Download via ZIP code"

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