IBKR MCP integration
Access Interactive Brokers Web API accounts, portfolio data, market data, orders, and trades
Sign in, add IBKR in Apps, then choose the account your AI can use.
Tools
| Name | Description |
|---|---|
get_auth_statusCheck the current IBKR brokerage-session authentication status | Check the current IBKR brokerage-session authentication status |
tickleKeep the IBKR session active and return session metadata | Keep the IBKR session active and return session metadata |
initialize_brokerage_sessionInitialize the brokerage session required for /iserver trading and market-data endpoints | Initialize the brokerage session required for /iserver trading and market-data endpoints |
list_portfolio_accountsList accounts with portfolio and position visibility | List accounts with portfolio and position visibility |
list_subaccountsList visible subaccounts for advisor or IBroker structures | List visible subaccounts for advisor or IBroker structures |
list_trading_accountsList accounts available to the authenticated brokerage session | List accounts available to the authenticated brokerage session |
get_account_summaryRetrieve IBKR equity, margin, and accrued-balance summary data for an account | Retrieve IBKR equity, margin, and accrued-balance summary data for an account |
get_account_ledgerRetrieve IBKR cash balances by currency for an account | Retrieve IBKR cash balances by currency for an account |
list_positionsList positions for an account using the near-real-time /portfolio2 endpoint by default | List positions for an account using the near-real-time /portfolio2 endpoint by default |
get_position_by_conidRetrieve position details for one contract ID in an account | Retrieve position details for one contract ID in an account |
search_contractsSearch IBKR security definitions by symbol or company name | Search IBKR security definitions by symbol or company name |
get_market_data_snapshotRetrieve top-of-book market data snapshots for one or more conids | Retrieve top-of-book market data snapshots for one or more conids |
list_ordersRetrieve live and recently open orders for the brokerage session | Retrieve live and recently open orders for the brokerage session |
get_order_statusRetrieve status for one active order | Retrieve status for one active order |
list_tradesRetrieve executions for the current day and up to six previous days | Retrieve executions for the current day and up to six previous days |
preview_orderPreview an order without submitting it, returning commission and validation information when available | Preview an order without submitting it, returning commission and validation information when available |
place_orderSubmit IBKR order tickets. Requires explicit confirmation. | Submit IBKR order tickets. Requires explicit confirmation. |
modify_orderModify an open IBKR order. Requires explicit confirmation. | Modify an open IBKR order. Requires explicit confirmation. |
cancel_orderSubmit a cancellation request for an open IBKR order. Requires explicit confirmation. | Submit a cancellation request for an open IBKR order. Requires explicit confirmation. |
reply_to_order_promptConfirm or decline an IBKR order warning/reply prompt. Requires explicit confirmation when confirming. | Confirm or decline an IBKR order warning/reply prompt. Requires explicit confirmation when confirming. |
custom_api_callSend a custom request to the official IBKR Web API base URL | Send a custom request to the official IBKR Web API base URL |
Triggers
| Name | Description |
|---|---|
order_status_changedPoll for IBKR live/recent order status changes | Poll for IBKR live/recent order status changes |
new_tradePoll for new IBKR trades/executions | Poll for new IBKR trades/executions |
position_changedPoll for position changes in an IBKR account | Poll for position changes in an IBKR account |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('ibkr', 'get_auth_status', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'ibkr',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
Is there a IBKR MCP server through Weavz?
Yes. Add the IBKR integration to a Weavz workspace, enable the actions you need and connect any required account. Weavz provides the workspace MCP endpoint in Tool Mode or Code Mode. The catalog currently lists 21 IBKR actions.
What can an AI agent do with IBKR?
Available actions include Get Authentication Status, Tickle Session, Initialize Brokerage Session, List Portfolio Accounts, List Subaccounts, and more. Your workspace exposes only the actions you enable. The agent also needs the intended account access and any required input values.
How do I connect IBKR to Claude or ChatGPT?
Use a compatible remote MCP client, add the Weavz connector and choose a workspace. Add IBKR, connect the required account and review the enabled actions. Client availability and account requirements vary; adding the connector does not authorize every app automatically.
Can I use IBKR through an API or SDK?
Yes, supported actions can run through the Weavz REST API, TypeScript SDK or Python SDK. Configure a workspace and the required connections, use scoped access, and pass the intended end-user context when acting for a customer.
What authentication does IBKR require?
The catalog lists custom credentials for IBKR. Use Hosted Connect to authorize the intended account. Required permissions, provider app access and available connection methods depend on the integration.
How do I review sensitive IBKR actions?
Limit enabled actions, scope credentials to the intended user and configure Human Gates for the operations that need review. A matching policy can pause a send, record change or other sensitive action for an approver before execution.
What limits or costs apply to IBKR?
Weavz plan limits apply to the actions and resources you use. The external provider may also require an account, a paid plan, API credits or specific permissions, and may enforce its own rate limits. Check current Weavz pricing and the provider’s terms before rollout.
What IBKR triggers are available?
The catalog lists 3 triggers, including Order Status Changed, New Trade, Position Changed. Configure the trigger and your event handler before using incoming events to start work.
Connect IBKR in minutes
Get 20,000 free action executions every month. No credit card required.