# BV MCP — how to use (mcp.ai)

Conecte sua conta do BV ao Claude, ChatGPT e agentes de IA via Open Finance Brasil: saldos, extratos, faturas de cartão e investimentos, em linguagem natural. Regulado pelo Banco Central, somente leitura.

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

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

## Example prompts
- "Quanto gastei no cartão do BV esse mês?"
- "Qual meu saldo na conta do BV?"
- "Resuma minha fatura do BV em aberto"

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