# Interactive Brokers with ChatGPT, Claude or Cursor (MCP)

> Use Interactive Brokers in ChatGPT, Claude or Cursor via MCP (api.ibkr.com/v1/api/mcp-public). Order instructions require IBKR approval.

Canonical: https://tradingagentstack.com/guides/ibkr-mcp-chatgpt-cursor-claude-code/

1. [Home](https://tradingagentstack.com/)

2. [Guides](https://tradingagentstack.com/guides/)

# Interactive Brokers with ChatGPT, Claude, Claude Code or Cursor (IBKR MCP setup)

By [Ahsen Rajab (@Satovinci)](https://tradingagentstack.com/about/)

✓ Written from official docs · checked 2026-11-30

## Key facts

Updated Nov 30, 2026 · every fact links its source · [how we check](https://tradingagentstack.com/methodology/)

- **Live vs paper:** live account ([interactivebrokers.com](https://www.interactivebrokers.com/en/general/about/mediaRelations/7-28-26.php) · Nov 30, 2026)

- **Orders and safety:** hosted at api.ibkr.com/v1/api/mcp-public; IBKR login, single-account authorization… ([interactivebrokers.com](https://www.interactivebrokers.com/en/general/about/mediaRelations/7-28-26.php) · Nov 30, 2026)

- **Pricing:** no additional cost (per IBKR's AI integrations page); needs an IBKR account ([interactivebrokers.com](https://www.interactivebrokers.com/en/general/about/mediaRelations/7-28-26.php) · Nov 30, 2026)

- **Safety score 71%** (partial): Approval is optional. ([how it's scored](https://tradingagentstack.com/safety-score/) · Nov 30, 2026)

Since July 28, 2026, Interactive Brokers' AI Integration works with any MCP-compatible tool, not just the certified ChatGPT, Claude and Grok marketplaces. IBKR names Claude Code, Cursor, Perplexity and Windsurf as examples. Everything below comes from [IBKR's announcement](https://www.interactivebrokers.com/en/general/about/mediaRelations/7-28-26.php); client-side commands come from each client's own docs.

## The connector URL

```
https://api.ibkr.com/v1/api/mcp-public
```

IBKR's steps for any non-marketplace tool: open the tool's "add MCP server" or "custom connector" setting, enter the URL, log in through Interactive Brokers' secure screen, and authorize access for a **single account**.

## ChatGPT, Claude or Grok

Use the certified Interactive Brokers connector in each platform's connector marketplace and link your account there.

## Claude Code

Claude Code's standard command for a remote HTTP server ([Claude Code MCP docs](https://code.claude.com/docs/en/mcp)):

```
claude mcp add --transport http ibkr https://api.ibkr.com/v1/api/mcp-public
```

Then run `/mcp` in Claude Code, pick `ibkr`, and complete the IBKR login.

## Cursor

Add a remote MCP server in Cursor's MCP settings, or in `.cursor/mcp.json` ([Cursor MCP docs](https://cursor.com/docs/context/mcp)):

```
{
  "mcpServers": {
    "ibkr": { "url": "https://api.ibkr.com/v1/api/mcp-public" }
  }
}
```

Cursor opens the IBKR login when the server first connects.

## What the AI can do

- Analyze portfolios, research investments, monitor risk, and draft trade instructions in natural language.

- **No direct order submission in this release.** You review each drafted instruction and convert it to an order on an IBKR platform yourself.

- Works across Client Portal, IBKR Desktop, IBKR GlobalTrader, IBKR Mobile and Trader Workstation. IBKR says Gemini support is coming soon.

Source: [https://www.interactivebrokers.com/en/general/about/mediaRelations/7-28-26.php](https://www.interactivebrokers.com/en/general/about/mediaRelations/7-28-26.php). Not financial advice.

## FAQ

### What is the IBKR MCP server URL?

`https://api.ibkr.com/v1/api/mcp-public`, per Interactive Brokers' July 28, 2026 announcement.

### Can the AI place trades in my IBKR account?

Not directly. In the current release it drafts instructions; you review each one and convert it to an order on an Interactive Brokers platform before it is submitted.

### Which tools can connect?

ChatGPT, Claude and Grok through their certified connector marketplaces, and any MCP-compatible tool (IBKR names Claude Code, Cursor, Perplexity and Windsurf) through the connector URL.

### How many accounts can I connect?

You authorize access for a single account during the IBKR login.

## Related

- [Best broker for AI agents (2026)](https://tradingagentstack.com/best-broker-for-ai-agents/)

- [Alpaca MCP vs IBKR MCP](https://tradingagentstack.com/compare/alpaca-mcp-vs-ibkr-mcp/)

- [Safety controls of broker MCPs](https://tradingagentstack.com/broker-mcp-safety-controls/)

- [All broker MCP servers](https://tradingagentstack.com/category/broker-mcp/)

- [How to connect Claude to Alpaca via MCP](https://tradingagentstack.com/guides/connect-claude-to-alpaca-mcp/)

- [How to connect Claude (or any MCP client) to Interactive Brokers](https://tradingagentstack.com/guides/connect-claude-to-ibkr-mcp/)

- [How to connect Claude to the tastytrade MCP server](https://tradingagentstack.com/guides/connect-claude-to-tastytrade-mcp/)

- [How to connect Claude (and other AI agents) to the Robinhood Trading MCP](https://tradingagentstack.com/guides/connect-claude-to-robinhood-mcp/)

- [How to connect Claude to TradeStation MCP](https://tradingagentstack.com/guides/connect-claude-to-tradestation-mcp/)

- [How to connect Claude (and other AI apps) to the Public hosted MCP server](https://tradingagentstack.com/guides/connect-claude-to-public-mcp/)

- [How to connect Claude, ChatGPT or Cursor to the Tradier MCP server (paper first)](https://tradingagentstack.com/guides/connect-claude-to-tradier-mcp/)

- [How to connect Claude or Cursor to the moomoo MCP server (OAuth scopes explained)](https://tradingagentstack.com/guides/connect-claude-to-moomoo-mcp/)

- [Set up a 3Commas or Bitsgap bot with a safe exchange API key (no withdrawals, IP whitelist)](https://tradingagentstack.com/guides/safe-exchange-api-key-3commas-bitsgap/)

- [Run Freqtrade in dry-run mode (paper trading with a simulated wallet)](https://tradingagentstack.com/guides/freqtrade-dry-run/)

- [Give an AI agent IBKR paper trading access (TWS API or Web API)](https://tradingagentstack.com/guides/ibkr-paper-trading-api-for-ai-agents/)

[Need a custom AI trading agent built? Broker or exchange integration, MCP setup, Polymarket/Kalshi bots, safety guardrails, VPS deployment. →](https://tradingagentstack.com/go/build?from=/guides/ibkr-mcp-chatgpt-cursor-claude-code/&cta=generic-guide)

Building an agent on this? When it trades a public account on Hyperliquid or Polymarket, [get its track record verified](https://tradingagentstack.com/get-your-ai-agent-verified/): we check it from public data on the spot, then list it with a signed record. See [the AI trading bot leaderboard](https://tradingagentstack.com/ai-trading-leaderboard/), and how the agents already out there are doing in the [AI trading bot statistics](https://tradingagentstack.com/ai-trading-bot-statistics/).

## For agents

- [When to use this site, and the page index](https://tradingagentstack.com/llms.txt)
- [Sitemap](https://tradingagentstack.com/sitemap.xml)
- [Contact](https://tradingagentstack.com/contact/)
- [MCP server](https://tradingagentstack.com/mcp/)
- [MCP discovery](https://tradingagentstack.com/.well-known/mcp)
