Market data and backtests in Claude Code
One command gives Claude Code 37 tools for market analysis. Research a strategy from your terminal: it pulls the bars, writes the indicator or strategy as a script, backtests it across your watchlist, and wires alerts to your own webhook. The chart in your browser shows what it did.
7-day free trial. You sign in once with OAuth; there are no API keys to paste.
Set it up
- Run
claude mcp add --transport http --scope user tradepuffin https://app.tradepuffin.com/mcpin your terminal. - In Claude Code, type
/mcp, pick tradepuffin and choose Authenticate. Your browser opens to allow it.
What you’ll see
Keep app.tradepuffin.com open in a browser tab. Each line, level and alert Claude Code adds appears on your chart as it works — here, support, a trend line and an alert on NVDA:
Try asking
What Claude Code gets
37 tools, which it picks on its own:
- Market data: prices, quotes and bars for stocks, ETFs, indices, crypto and forex
- Analysis: indicators, watchlist scans, swing points, support and resistance, custom scripts
- Backtesting: a rule tested on years of data, next to buy and hold
- The chart: change your chart, draw on it and look at a picture of it
- Alerts: price, indicator, drawing and move alerts, in the app, by push or by webhook
- Watchlists: create and edit your watchlists
Each is described on the docs page. Not using Claude Code? TradePuffin also works with Claude, ChatGPT, Cursor, GitHub Copilot, Gemini, Grok, Perplexity, Grok Bot, Muse by Meta, OpenClaw, Hermes Agent and Codex, and with any other MCP client.