MCP 服务器

Investidor B3

io.github.mcp-dir/b3-mcp
金融与投资 公开且可连接 MCP 2025-11-25

此 MCP 可以做什么

Provides consolidated Brazilian B3 investment portfolio data, including positions, transactions, assets, dividends, institutions, and historical net worth.

authenticate
MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.
幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'token': {'type': 'string'}}}
b3_get_carteira
Resumo da carteira agrupado por classe de ativo (ações, FIIs, renda fixa, etc.) com valor e percentual de cada grupo.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}, 'quantidade': {'type': 'number'}, 'agrupamento': {'type': 'number'}}}
b3_get_evolucao_patrimonial
Série histórica de evolução do patrimônio na B3.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'ap': {'type': 'number'}, 'data': {'type': 'string'}, 'account': {'type': 'string'}}}
b3_get_patrimonio
Patrimônio total consolidado na B3 (soma de todas as corretoras) numa data. Retorna { valor, data }.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'data': {'type': 'string'}, 'account': {'type': 'string'}}}
b3_get_perfil
Cadastro/perfil do investidor (identidade da conta B3 conectada).
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
b3_get_posicao
Posição DETALHADA por ativo numa data: ticker (codigoNegociacao), quantidade, preço de fechamento, valor atualizado, ISIN, instituição. Agrupado por tipo de produto. Paginado.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'data': {'type': 'string'}, 'pagina': {'type': 'number'}, 'account': {'type': 'string'}}}
b3_get_ultima_atualizacao
Data/hora da última carga de dados da B3 (a base é D-1). Use para saber quão fresca está a posição.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
b3_list_accounts
Lista as contas da Área do Investidor B3 conectadas a este install — id, label.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
b3_list_ativos
Drill-down nos ativos de UM tipo de produto (informe `codigoProduto`), com valor e percentual de cada ativo do grupo. Para a posição COMPLETA de todos os ativos, use b3_get_posicao.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['codigoProduto'], 'properties': {'account': {'type': 'string'}, 'agrupamento': {'type': 'number'}, 'codigoProduto': {'type': 'string'}}}
b3_list_instituicoes
Instituições (corretoras) vinculadas ao investidor na B3.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'account': {'type': 'string'}}}
b3_list_movimentacao
Movimentação de ativos (entradas/saídas: transferências, subscrições, bonificações, etc.) num intervalo. Paginado.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'pagina': {'type': 'number'}, 'account': {'type': 'string'}, 'dataFim': {'type': 'string'}, 'dataInicio': {'type': 'string'}}}
b3_list_negociacoes
Negociações (compras/vendas) num intervalo de datas. Paginado por `page`.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'page': {'type': 'number'}, 'account': {'type': 'string'}, 'dataFim': {'type': 'string'}, 'dataInicio': {'type': 'string'}}}
b3_list_ofertas_publicas
Ofertas públicas (IPOs/subscrições) do investidor num intervalo. Paginado por `page`.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'page': {'type': 'number'}, 'account': {'type': 'string'}, 'dataFim': {'type': 'string'}, 'dataInicio': {'type': 'string'}}}
b3_list_proventos_a_receber
Proventos provisionados a receber (dividendos/JCP futuros) numa data de referência.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'data': {'type': 'string'}, 'pagina': {'type': 'number'}, 'account': {'type': 'string'}}}
b3_list_proventos_recebidos
Proventos já recebidos (dividendos/JCP pagos) num intervalo de datas. Paginado.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'page': {'type': 'number'}, 'account': {'type': 'string'}, 'dataFim': {'type': 'string'}, 'dataInicio': {'type': 'string'}}}
connect
Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
marketplace
The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
可访问外部资源
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'limit': {'type': 'number', 'default': 10}, 'query': {'type': 'string', 'default': ''}, 'action': {'enum': ['search', 'describe', 'install', 'uninstall', 'subscribe', 'cancel', 'resume', 'report_bug', 'request_mcp', 'list_tools', 'invoke', 'search_prompts', 'get_prompt', 'publish_prompt'], 'type': 'string', 'default': 'search'}, 'mcp_id': {'type': 'string', 'default': ''}, 'message': {'type': 'string', 'default': ''}, 'tool_id': {'type': 'string', 'default': ''}, 'arguments': {'type': 'string', 'default': '{}'}, 'immediate': {'type': 'boolean', 'default': False}, 'tier_slug': {'type': 'string', 'default': ''}, 'prompt_body': {'type': 'string', 'default': ''}, 'prompt_slug': {'type': 'string', 'default': ''}, 'prompt_tool': {'type': 'string', 'default': ''}, 'prompt_vars': {'type': 'string', 'default': '{}'}, 'conversation': {'type': 'string', 'default': '[]'}, 'prompt_title': {'type': 'string', 'default': ''}, 'request_name': {'type': 'string', 'default': ''}, 'cancel_reason': {'enum': ['too_expensive', 'missing_features', 'switched_service', 'unused', 'customer_service', 'too_complex', 'low_quality', 'other'], 'type': 'string'}, 'cancel_comment': {'type': 'string', 'default': ''}, 'prompt_targets': {'type': 'array', 'items': {'enum': ['claude', 'chatgpt', 'cursor', 'lovable'], 'type': 'string'}, 'default': []}, 'report_context': {'type': 'string', 'default': ''}, 'prompt_category': {'type': 'string', 'default': ''}, 'request_details': {'type': 'string', 'default': ''}, 'prompt_description': {'type': 'string', 'default': ''}}}
report_bug
Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['message'], 'properties': {'context': {'type': 'string', 'default': ''}, 'message': {'type': 'string'}, 'conversation': {'type': 'string', 'default': '[]'}}}
show_version
Show the current MCP platform and adapter versions.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
toolkit_info
Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
只读 幂等
输入模式
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
已添加
authenticate
2026年9月17日 12:43
已添加
marketplace
2026年9月17日 12:43
已添加
toolkit_info
2026年9月17日 12:43
已添加
connect
2026年9月17日 12:43
已添加
report_bug
2026年9月17日 12:43
已添加
show_version
2026年9月17日 12:43
已添加
b3_get_ultima_atualizacao
2026年9月17日 12:43
已添加
b3_list_instituicoes
2026年9月17日 12:43
已添加
b3_get_perfil
2026年9月17日 12:43
已添加
b3_list_ofertas_publicas
2026年9月17日 12:43
已添加
b3_list_proventos_recebidos
2026年9月17日 12:43
已添加
b3_list_proventos_a_receber
2026年9月17日 12:43
已添加
b3_list_movimentacao
2026年9月17日 12:43
已添加
b3_list_negociacoes
2026年9月17日 12:43
已添加
b3_get_evolucao_patrimonial
2026年9月17日 12:43
已添加
b3_list_ativos
2026年9月17日 12:43
已添加
b3_get_posicao
2026年9月17日 12:43
已添加
b3_get_carteira
2026年9月17日 12:43
已添加
b3_get_patrimonio
2026年9月17日 12:43
已添加
b3_list_accounts
2026年9月17日 12:43