Skip to main content
Glama
henrysouchien

Interactive Brokers MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IBKR_TIMEOUTNoConnection timeout (seconds)10
IBKR_READONLYNoRead-only modefalse
IBKR_CACHE_DIRNoOptional cache directory override
IBKR_CLIENT_IDNoAPI client ID1
IBKR_GATEWAY_HOSTNoGateway hostname127.0.0.1
IBKR_GATEWAY_PORTNoGateway port7496
IBKR_AUTHORIZED_ACCOUNTSNoComma-separated account whitelist

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_ibkr_market_data

Fetch historical price series from IBKR Gateway.

get_ibkr_positions

Fetch current IBKR positions and optionally account-level PnL.

get_ibkr_account

Fetch IBKR account summary metrics.

get_ibkr_contract

Fetch contract details or option chain metadata from IBKR.

get_ibkr_option_prices

Snapshot bid/ask/greeks for multiple option strikes.

get_ibkr_snapshot

Snapshot latest price for any security.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/henrysouchien/ibkr-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server