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

SpecLock: MCP Server for Enforcing AI Coding Constraints
SpecLock is an open-source MCP server that remembers project constraints across sessions and blocks AI coding agents from violating them. Claude independently tested it with 100 adversarial tests, scoring 100/100 with zero false positives and 15.7ms per check.

Tycono: Open-Source AI Agent Harness with Org Chart and Autonomous Improvement Loops
Tycono is an open-source harness where you define AI agent roles in YAML (CTO, engineer, QA, etc.) and they work together following an org chart with autonomous improvement loops. The system ran 17 rounds overnight on a pixel running game task, generating 6,796 lines of code across 43 commits.

CLI Tools with AI Agent Compatibility: Skills Directory Approach
A Reddit user shares a method for making CLI tools work with AI coding agents like Claude Code by creating SKILL.md files that teach agents installation, authentication, and usage. The approach addresses common issues like interactive prompts, JSON output, and authentication methods.

Anamnese: A Portable Memory Layer for Claude and ChatGPT via MCP
Anamnese is a free MCP server that stores memories, tasks, goals, and notes across Claude and ChatGPT, pulling only relevant context into conversations while letting users view, edit, and export their data.