TradingView MCP Server Enables Claude to Backtest Trading Strategies

What This Is
A developer has built an MCP server called tradingview-mcp-server that enables Claude to backtest trading strategies directly through conversation, eliminating the need to write Python boilerplate code.
Key Features and Capabilities
- Backtests six specific strategies: RSI, Bollinger Bands, MACD, EMA cross, Supertrend, and Donchian Channel.
- Provides real trading metrics including Sharpe ratio, maximum drawdown, win rate, profit factor, and expectancy.
- Simulates realistic commission and slippage costs in calculations.
- Pulls market data from Yahoo Finance without requiring an API key.
- Can compare all six strategies on the same ticker simultaneously.
- Includes additional tools: Reddit sentiment analysis, live Yahoo Finance quotes, and 25+ TradingView tools covering Binance, NASDAQ, and other markets.
Setup and Configuration
Setup requires adding one configuration block to the claude_desktop_config.json file:
{"mcpServers": {"tradingview": {"command": "uvx", "args": ["tradingview-mcp-server"]}}}The developer states the tool works in approximately 30 seconds after configuration.
Example Backtest Results
The developer shared specific results from recent tests:
- AAPL 2-year backtest (with fees included):
- #1 Supertrend: +14.6% return | Sharpe 3.09 | Win Rate 37%
- #2 Bollinger: +13.0% return | Sharpe 6.95 | Win Rate 75%
- #3 RSI: +2.7% return | Win Rate 100% (only 2 trades)
- #6 MACD: -9.1% return
- Buy & hold comparison: +45.1% return
- BTC 2-year RSI backtest: +31.5% return vs buy-and-hold at -5% return
Availability and Development Status
The project is available on GitHub at https://github.com/atilaahmettaner/tradingview-mcp and is actively being developed with feedback welcome.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude IDE Bridge: Open-source tool gives Claude AI direct access to your code editor
Claude IDE Bridge is an open-source, MIT-licensed tool that connects Claude AI directly to your code editor, allowing it to view open files, unsaved changes, and errors live rather than through pasted code snippets. The tool currently works with VS Code and Windsurf.

T9OS: An AI Orchestration System Built Entirely with Claude Code
An economics student built T9OS, a complete AI orchestration layer using Claude Code as the only programming tool. The system includes 18 production pipelines, a 12-state lifecycle engine, and 7 AI 'Guardians' that review every output.

Developer tracks frustration with 'F-Bombs Per Thousand Prompts' metric across 44,212 Claude Code logs
A developer tracked 'fpk' (f-bombs per thousand prompts) across 44,212 Claude Code prompts over 5 months, finding frustration dropped 3.4× from Claude Opus 4-5 to 4-7, and most cursing targeted environmental tooling, not the model.

Paseo: Open-Source Interface for Claude Code, Codex, Copilot, OpenCode, and Pi Agents
Paseo is a self-hosted interface that runs Claude Code, Codex, Copilot, OpenCode, and Pi agents in parallel. It offers voice control, cross-device access, and a CLI. No telemetry, no forced login.