# cvm — how to use (mcp.ai)

Looks up the registration of a person or company at the Brazilian Securities Commission (CVM) from the CPF or CNPJ. 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_cvm?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. `cvm_consultar`).

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

### Endpoints
- `POST https://api.mcp.ai/api/cvm/consultar` — Consulta o cadastro de uma pessoa física ou jurídica na Comissão de Valores Mobiliários (CVM) a partir do CPF ou CNPJ. Hospedado pela plataforma, sem credenciais, pague por consulta com crédito pré-pa
  - body: { CPF: string, CNPJ: string, completo?: boolean }

## Example prompts
- "Is CNPJ 12345678000190 registered with the CVM?"
- "CVM registration for CPF 12345678909"

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