Guides · Updated 10 November 2026

Interactive Brokers in Claude and ChatGPT: IBKR's own MCP server, or a tracker's

Interactive Brokers is the broker in this series that answers the question itself: its AI Integration makes IBKR an MCP server, and ChatGPT, Claude, Grok and Perplexity connect to your account through it after you log in at IBKR. So the real question for an IBKR client is a different one — when is a tracker's MCP server worth having beside IBKR's? When IBKR is one account among several, when you want returns, risk and tax lots computed across all of them, and when you would rather the agent could not trade at all. In Fortunest that means the Activity Statement, a Flex Query or a read-only Flex token, then the in-app assistant on the free plan or, on Pro, the Claude app, ChatGPT, Claude Code or Codex over MCP.

The short answer

What Interactive Brokers gives an AI

IBKR's AI Integration page describes Interactive Brokers acting as an MCP server: connected AI platforms get a defined set of tools — retrieving portfolio data, checking order status and the like — only after you authorize them, IBKR keeps the login, and your credentials never reach the AI platform. In ChatGPT, Claude, Grok or Perplexity you search the connector directory for Interactive Brokers, log in on IBKR's own screen and authorize the account; other MCP clients, Claude Code, Codex and Cursor among them, add the address IBKR publishes for them. You revoke access in Client Portal. IBKR charges no extra fee for the connection, though your AI provider's subscription and the usual IBKR charges still apply.

What the AI can do there is research, portfolio analysis, monitoring and preparing trade instructions: IBKR's examples range from summarising your largest positions, sector exposures and cash currencies to drafting sell instructions that trim a position. With the standard integration, the page says, you review and submit every order yourself. Eligible clients — individual, non-margin accounts that have first approved enough AI orders by hand — can add Autonomous Trading, where the AI executes supported trades without a confirmation per order, inside a separate AI Partition funded with cash from the parent account. The page's disclosures warn that AI can make errors and submit orders you did not intend, and that the integration is not available in India or Japan.

The older, narrower door is the Flex Web Service: a token that downloads a Flex report you designed in Client Portal. It cannot trade — it has no trading scope — which is why it is what Fortunest connects with.

IBKR's MCP server or a tracker's: the difference

Each cell is what the vendor's own pages say on the date in the footnote. Not described means the page we read does not mention it.

IBKR AI Integration2 Fortunest over MCP1
What the agent sees
  • The IBKR account you authorize: positions, balances, activity, exposures
  • Market research across IBKR's universe
  • IBKR beside every other broker and exchange you track
  • One display currency, each day at that day's rate
Orders
  • Trade instructions you review and submit
  • Autonomous Trading in an AI Partition, if eligible
  • Never — the Flex token cannot trade and the app has no order code
  • Changes inside Fortunest need your approval
Calculations described
  • Largest positions, sector and currency concentration, unrealized gains and losses
  • TWR and IRR against benchmarks fed your deposits
  • Sharpe, Sortino, beta, drawdowns; tax lots on Pro
Clients
  • ChatGPT, Claude, Grok, Perplexity
  • Any MCP client; Gemini "coming soon"
  • Claude app, ChatGPT, Claude Code, Codex
  • Siri via the MCP Agent iPhone app
Sign-in and revoking
  • IBKR's own login screen
  • Revoke in Client Portal
  • Fortunest sign-in in the browser
  • Grants expire after 30 days, revocable
Price
  • No additional IBKR fee
  • Not in India or Japan
  • Pro €6.99/mo or €69/yr, excl. VAT
  • 14-day Pro trial for new accounts

IBKR's column was checked against its AI Integration page on 10 November 2026. Fortunest's column is our own documentation. Neither column is a statement about features a page does not mention.

Step by step: from IBKR into Fortunest, then to an answer

The steps follow the Interactive Brokers section of the docs and the Interactive Brokers portfolio tracker guide. All of them start in Client Portal, the same one Lynx clients use.

  1. Download the yearly Activity Statements Open Performance & Reports → Statements, choose the Activity statement, set the period to Annual and the format to CSV, and download every year you want in the dashboard. A consolidated statement over several accounts works too; rows two files share are counted once.
  2. Or a Flex Query, if trades are all you need Under Performance & Reports → Flex Queries create an Activity Flex Query with the Trades section over your whole history, run it and download it as CSV. Use either the statements or the Flex file for a given stretch of time, not both.
  3. Drop the files in Drag them onto the Portfolio value tile in the app or into ⚙ Settings → Data. No account is needed for files; each year is its own file, and the free plan holds three.
  4. Keep it current with a Flex token — optional Save an Activity Flex Query with Trades (executions), Open Positions (summary), Cash Transactions and Cash Report, period Last 365 Calendar Days, format XML, and note its ID. In Flex Web Service Configuration turn the service on, generate a token with a long expiry and set IBKR's IP restriction. Then ⚙ Settings → Data → Connect an account → IBKR / Lynx (Flex) takes the token and the query ID; they are checked live and the token is encrypted at rest. A free Fortunest account keeps the connection. Upload the statements first: the connection then takes over the day after the newest row they cover.
  5. Ask the in-app assistant — free Open the assistant pane beside the dashboard and ask, on the small free hosted budget, your own Anthropic, OpenAI or OpenRouter key, or a local model through the desktop app.
  6. Or connect Claude, ChatGPT, Claude Code or Codex — Pro Add https://app.fortunest.ai/mcp as a custom connector in Claude (Settings → Connectors → Add custom connector) or, with Developer mode on, in ChatGPT; in Codex, Settings → Plugins → MCPs with the same URL. Sign in to Fortunest, review the permissions and click Allow connection. The External agents chapter has every client's steps.

If IBKR's own connector is enabled in the same chat, name the one you mean: "Use Fortunest to compare my IBKR account with the rest of my portfolio. Do not change anything."

The Fortunest Portfolio tab on a four-account demo portfolio: value and day change, cash, total P/L with TWR and IRR, the value chart against the S&P 500 and MSCI World, a sector heatmap, the allocation card and the AI assistant docked on the right
The view a connected agent reads: four accounts, one of them Interactive Brokers, as one portfolio with TWR, IRR and benchmarks — the demo portfolio in the live app on 7 September 2026.

What the IBKR files and token bring in — and what they do not

Try it on the demo portfolio — no account

Before you export anything or pay for Pro, connect Claude or ChatGPT to Fortunest's demo portfolio: four synthetic accounts — DEGIRO, Revolut, Kraken and Interactive Brokers — with made-up amounts over real tickers. No Fortunest account, no sign-in, nothing to install.

https://app.fortunest.ai/mcp/demo

In Claude

  1. Open Settings → Connectors and choose Add custom connector.
  2. Name it Fortunest demo, paste the URL above as the Remote MCP server URL and click Add. There is no sign-in step.
  3. In a new chat, enable Fortunest demo under + and ask: "Using Fortunest demo, what are the five largest holdings and how risky is this portfolio?"

In ChatGPT

  1. Turn on Developer mode under Settings → Apps & Connectors → Advanced settings.
  2. In Apps & Connectors choose Create: name Fortunest demo, the URL above as the MCP server URL and Authentication: No authentication. Confirm that you trust it and click Create.
  3. In a new chat, open + → More (or Developer mode), enable Fortunest demo and ask the same question.

In Claude Code: claude mcp add --transport http fortunest-demo https://app.fortunest.ai/mcp/demo. In Codex: codex mcp add fortunest-demo --url https://app.fortunest.ai/mcp/demo.

What the demo is. Seventeen read-only tools — portfolio summary, holdings, one position, allocation, risk, the value chart, upcoming events, recent trades, money flow, tax lots, the tax-free summary, the trade plan and its candidates, simulation inputs, data warnings and a search of the documentation — on one shared example portfolio. It cannot change anything, sees nobody's real data, and Fortunest runs no AI model for it: Claude or ChatGPT brings its own. For your own portfolio, import your exports in the app — free, with the in-app assistant; connecting an agent to it at https://app.fortunest.ai/mcp is Pro. Every endpoint and tool is listed in the Fortunest MCP server reference.

What you can ask about an IBKR portfolio

IBKR accounts tend to hold shares from several exchanges, cash in several currencies and a long history. Every question below is one the assistant manual or our guides document; they work in the in-app assistant and, over MCP, in a connected agent. Swap in your own holdings.

AskWhat comes back
"Use Fortunest to summarise my top five holdings across all accounts. Make no changes."The five largest positions in your display currency, wherever they are held — IBKR, another broker or an exchange.
"How diversified is my portfolio, and what is my biggest concentration risk?"Effective positions, sector and size concentration and the single largest risk, from the allocation card's own figures.
"Explain my Sharpe ratio, beta and maximum drawdown."The risk card's figures on your own history, explained against the benchmark you chose.
"How much did I deposit and withdraw this year?"The money flowing in and out of each account, so a return is never confused with a transfer.
"What was ASML worth in euros on 1 August, and what is the change?"The close from the same daily series the charts use, converted at that day's exchange rate; up to eight dates in one go.
"Is Palantir expensive?"Quote, valuation, growth and quality ratios, the analyst target and the app's own score with its reasons.
"What if I sell half my Microsoft?"A what-if on the Simulation tab, prefilled and run, with the result summarised — a scenario, not an order.
"Which lots become tax-free within 12 months?" — ProFrom the Taxes tab's lots and holding-period test, with moved accounts keeping their purchase dates; the default rulebook is the Czech one, every threshold a setting. Orientation, not tax advice.

Where this falls short

How we checked

We read Interactive Brokers' AI Integration page, its FAQ and disclosures on 10 November 2026. The Fortunest steps, what the import reads and the example questions come from our documentation, which is kept current with each release. We build Fortunest, so we are not neutral; for an IBKR-only account, IBKR's own connector reaches further — live orders, options, IBKR's market data — and the table says so.

Questions people ask

Can ChatGPT or Claude read my Interactive Brokers portfolio?

Yes: Interactive Brokers runs its own MCP server, which ChatGPT, Claude, Grok and Perplexity reach through a connector once you sign in at IBKR. Its page says the AI sees the positions, balances and activity you authorize, prepares trade instructions you review and submit yourself, and costs no extra IBKR fee; it is not available in India or Japan. A tracker's MCP server is the other route, for IBKR beside your other accounts: import the Activity Statement or connect a Flex token in Fortunest, then add https://app.fortunest.ai/mcp as a custom connector. That needs Fortunest Pro, which every new account gets free for 14 days; in ChatGPT, custom connectors depend on your plan, and free Claude accounts are limited to one custom connector.

Is there an official Interactive Brokers MCP server?

Yes. IBKR's AI Integration makes Interactive Brokers an MCP server: in ChatGPT, Claude, Grok or Perplexity you pick the Interactive Brokers connector from the directory and log in on IBKR's own screen, and other MCP clients such as Claude Code, Codex or Cursor add https://api.ibkr.com/v1/api/mcp-public. Access is revoked in Client Portal. A separate Autonomous Trading option lets eligible clients have the AI execute trades within a dedicated, funded AI Partition.

When does a tracker's MCP server make sense next to IBKR's own?

When Interactive Brokers is not your only account, and when you want an agent that cannot trade. IBKR's server answers about the IBKR account; a tracker answers about IBKR beside your other brokers and exchanges in one display currency, with time- and money-weighted returns against benchmarks fed your own deposits, risk figures and, on Pro, tax lots. Fortunest's connection to IBKR is read-only — there is no order-placing code in the app.

Activity Statement or Flex Query — which file does a tracker need?

For a complete history, the yearly Activity Statements: one CSV per year, with trades, dividends, withholding tax, fees, interest, currency conversions, splits and share transfers. A Flex Query brings the trades. Pick one of the two for any stretch of time rather than both, because a Flex query exported per execution lists every fill on its own line while the statement adds an order's fills up.

Can an AI place trades in my IBKR account through Fortunest?

No. The Flex Web Service token Fortunest connects with can only download reports, and every Fortunest connection is read-only: it cannot place, change or cancel an order or move money. Changes an agent proposes inside Fortunest itself need your approval there.

Does it work for Lynx accounts?

Yes, in Fortunest. Lynx clients log into the same IBKR Client Portal, so the Activity Statement, the Flex Query and the Flex token are the same files and token, read the same way. IBKR's AI Integration page does not say whether Lynx accounts can use its MCP connector.

Sources

  1. Fortunest — the Interactive Brokers walkthrough with the Activity Statement and the Flex Query, how the three methods work, the MCP server reference and its External agents chapter, the Interactive Brokers tracker guide for the Flex token steps, and the DEGIRO MCP guide for a broker with no API at all.
  2. Interactive Brokers — AI Integration: Your Portfolio. Your AI. Connected., including its FAQ and disclosures (read 10 November 2026).

Signals, analyses and assistant answers in Fortunest are informational — not financial or tax advice.