Integrations / Claude Code

Market data in Claude Code: one command to add the MCP server

Claude Code supports remote MCP servers over HTTP. One command adds TradingData; the OAuth flow opens in your browser the first time a tool is used.

Steps

  1. 1Run the command below once in your project or with --scope user for every project.
  2. 2The first call opens your browser to sign in and approve access.
  3. 3Type /mcp inside Claude Code to check the connection or sign in again.
  • Create API keys in the dashboard; each key is tracked separately and can be revoked on its own.
Terminal
claude mcp add --transport http tradingdata https://mcp.tradingdata.io
Terminal (API key, for machines without a browser)
claude mcp add --transport http tradingdata https://mcp.tradingdata.io --header "Authorization: Bearer td_your_api_key"

Replace td_your_api_key with a key from your dashboard (API keys). Each key can be revoked on its own.

What Claude Code can answer with it

  • How are markets doing today?
  • Compare Nvidia and AMD gross margins over six quarters.
  • What did Meta guide for next quarter?
  • Which SPY strikes carry the most open interest this week?
  • Are insiders selling Tesla?
  • Is the Bitcoin perp market crowded long?

All 48 tools are listed on the tools page.

Questions

Can I use it in CI or on a server?
Yes. Pass an API key as a Bearer header instead of relying on the browser OAuth flow.
What data does the agent get?
Quotes and history for stocks, ETFs, indices, futures, FX and crypto; option chains with greeks; SEC filings, financial statements, insider trades, short interest, analyst estimates, segment financials and earnings releases; dividends, institutional holders and the earnings calendar; macro series; crypto perpetuals, options, DeFi and on-chain metrics. 30 tools, each described so the model picks the right one.
Does it cost anything?
No. Every account is free, with a fair-use limit of tool calls per minute and no monthly cap. No card is asked for.

Other clients