Integrations / Windsurf

Market data in Windsurf: add the TradingData MCP server

Windsurf reads remote MCP servers from its config file; pass an API key as a header.

Steps

  1. 1Create an API key in your TradingData dashboard.
  2. 2Add the snippet below to ~/.codeium/windsurf/mcp_config.json and reload.
  3. 3Ask Cascade about markets; the tools appear under tradingdata.
~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "tradingdata": {
      "serverUrl": "https://mcp.tradingdata.io",
      "headers": { "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 Windsurf 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

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