panther-mcp
OfficialAllows fetching historical price data for cryptocurrency pairs from Binance and running backtests on those assets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@panther-mcp Backtest a golden cross SMA 50/200 on BTC/USDT daily 2024"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Panther MCP Server
Backtest any trading strategy by describing it to Claude, ChatGPT, or Gemini.
Panther gives your AI assistant the tools to fetch market data, run backtests, and show you the results — no code required. Just describe your strategy in plain English.
Quick Start
1. Get your API key
Sign up free at panther.watch and copy your API key.
2. Install
Claude Desktop — add to your claude_desktop_config.json:
{
"mcpServers": {
"panther": {
"command": "uvx",
"args": ["panther-mcp"],
"env": {
"PANTHER_API_KEY": "pthr_your_key_here"
}
}
}
}Claude Code:
claude mcp add panther -e PANTHER_API_KEY=pthr_your_key -- uvx panther-mcpChatGPT (Pro/Team/Enterprise — Developer Mode):
Add as custom MCP server: https://panther.watch/mcp/
Gemini CLI:
{"mcpServers": {"panther": {"command": "uvx", "args": ["panther-mcp"], "env": {"PANTHER_API_KEY": "pthr_..."}}}}Any MCP client (Cline, Cursor, VS Code Copilot, etc.):
uvx panther-mcp3. Start backtesting
Just tell your AI what strategy you want to test:
"Backtest a golden cross strategy (SMA 50/200) on BTC/USDT over 2024"
You'll get results including return, Sharpe ratio, drawdown, every trade, and a shareable link to the full report.
Related MCP server: ai-trader
Available Tools
Tool | Description |
| Browse 30+ tradeable assets (crypto, forex, commodities) |
| Fetch historical OHLCV price data with summary stats |
| Define strategy with indicators + conditions, execute backtest |
| Poll running backtest status + progress |
| Get performance metrics + shareable panther.watch link |
| View your backtest history |
| Run parameter sweeps across combinations |
| Poll optimization progress |
| Get ranked parameter results |
| View optimization history |
| Test a strategy across multiple weighted assets |
| Poll portfolio backtest progress |
| Get portfolio + per-asset results |
Supported Assets
Type | Source | Examples |
Crypto | Binance (CCXT) | BTC/USDT, ETH/USDT, SOL/USDT + 17 more |
Forex | IC Markets (cTrader) | EUR/USD, GBP/USD, USD/JPY + 7 more |
Commodities | IC Markets (cTrader) | XAU/USD (Gold), XAG/USD (Silver) |
Features
25 indicators — SMA, EMA, RSI, MACD, BB, VWAP, ATR, Stochastic, ADX, OBV, Supertrend, Ichimoku, and 13 more
Short selling — Long, short, or bidirectional strategies
Strategy optimization — Parameter sweeps with constraints and ranking by any metric
Portfolio backtesting — Test across multiple weighted assets with portfolio-level metrics
Example Strategies
Golden Cross:
"Backtest SMA 50/200 crossover on BTC/USDT daily for 2024"
RSI Mean Reversion:
"Buy when RSI(14) drops below 30, sell above 70 on EUR/USD daily with 5% stop loss"
MACD Crossover:
"Enter when MACD line crosses above signal line, exit on reverse, on ETH/USDT daily"
Portfolio:
"Backtest RSI strategy on a portfolio of 60% BTC and 40% ETH over 2024"
Optimization:
"Optimize the SMA crossover on BTC — try fast period 10-50 step 10, slow period 50-200 step 50"
Shareable Results
Every backtest gets a public URL you can share on Twitter, Discord, or with your trading community:
https://panther.watch/backtests/<backtest-id>Results include performance metrics, equity curve chart, and full trade list.
Development
git clone https://github.com/PantherWatch/panther-mcp.git
cd panther-mcp
uv sync
PANTHER_API_KEY=pthr_... uv run panther-mcpLicense
MIT
Available Tools
13 toolstool_get_backtest_resultsA
Get the results of a completed backtest.
Returns:
summary: Key metrics (total return, Sharpe ratio, max drawdown, win rate, etc.)
trades_preview: First 10 trades with entry/exit dates and P&L
full_results_url: Link to full results data
results_url: Shareable link to view results on panther.watch
IMPORTANT: Always share the results_url link with the user so they can view the full results with equity curve and trade details on panther.watch.
Inputs: backtest_id (required). Returns: object
tool_get_backtest_statusA
Check the status of a running backtest.
Returns status (queued, running, completed, failed) and progress percentage.
Inputs: backtest_id (required). Returns: object
tool_get_optimization_resultsA
Get the results of a completed optimization.
Returns:
best: The best parameter combination with its summary metrics
results: All combinations ranked by the chosen metric
total_combinations: How many combinations were tested
rank_by: The metric used for ranking
Inputs: optimization_id (required). Returns: object
tool_get_optimization_statusB
Check the status of a running optimization.
Returns status, progress percentage, total and completed combinations.
Inputs: optimization_id (required). Returns: object
tool_get_portfolio_backtest_resultsB
Get the results of a completed portfolio backtest.
Returns:
summary: Portfolio-level metrics (total return, Sharpe ratio, max drawdown, total trades)
per_asset_results: Performance breakdown per asset
trades_preview: Recent trades across all assets
results_url: Shareable link to view results on panther.watch
IMPORTANT: Always share the results_url link with the user so they can view the full results with equity curve, per-asset breakdown, and trade details on panther.watch.
Inputs: portfolio_backtest_id (required). Returns: object
tool_get_portfolio_backtest_statusB
Check the status of a running portfolio backtest.
Returns status (queued, running, completed, failed) and progress percentage.
Inputs: portfolio_backtest_id (required). Returns: object
tool_get_price_dataA
Fetch historical OHLCV price data for an asset.
Returns summary statistics and a preview of the data (not the full dataset). Use this to examine price history before defining a backtest strategy.
Timeframes: 1m, 5m, 15m, 1h, 4h, 1d, 1w
Inputs: symbol (required), timeframe (required), start_date (required), end_date. Returns: object
tool_list_available_assetsA
List tradeable assets available for backtesting.
Filter by asset type (crypto, forex, commodity) and/or search by symbol or name.
Inputs: search, asset_type. Returns: object
tool_list_backtestsA
List your previous backtests with summary info.
Use this to review past experiments and compare strategies.
Inputs: limit, symbol. Returns: object
tool_list_optimizationsA
List your previous optimizations / parameter sweeps.
Use this to review past optimization runs and their best parameters.
Inputs: limit, symbol. Returns: object
tool_optimize_strategyA
Run a strategy optimization / parameter sweep.
Tests multiple parameter combinations and ranks results by a metric.
param_ranges: List of parameter ranges to sweep. Each has:
rule_path: Path to the parameter, e.g. "entry_rules[0].params.period"
start: Start value (inclusive)
end: End value (inclusive)
step: Step size
constraints: Optional list of cross-parameter constraints, e.g. [{"left": "entry_rules[0].params.period", "op": "<", "right": "exit_rules[0].params.period"}]
rank_by: Metric to rank results by (default "sharpe_ratio"). Options: total_return, sharpe_ratio, max_drawdown, win_rate, profit_factor, total_trades
Returns an optimization_id. Use get_optimization_status to poll, then get_optimization_results for ranked results.
Inputs: symbol (required), strategy (required), timeframe (required), start_date (required), +6 more. Returns: object
tool_run_backtestA
Define and execute a trading strategy backtest.
The strategy object must include:
name: Strategy name
direction (optional): "long" (default), "short", or "both"
"long": entry_rules trigger buys, exit_rules trigger sells
"short": entry_rules trigger short entries, exit_rules trigger short covers
"both": uses entry_rules/exit_rules for longs, plus short_entry_rules/short_exit_rules for shorts
entry_rules: List of rules that trigger entry
exit_rules: List of rules that trigger exit
short_entry_rules (required when direction="both"): Rules for short entries
short_exit_rules (required when direction="both"): Rules for short exits
stop_loss (optional): Stop loss as fraction (0.05 = 5%)
take_profit (optional): Take profit as fraction (0.15 = 15%)
Each rule has:
indicator: SMA, EMA, RSI, MACD, or BB
params: Indicator parameters (e.g. {"period": 50})
condition: crosses_above, crosses_below, greater_than, less_than, equals
compare_to: Another indicator object or a numeric value
Returns a backtest_id. Use get_backtest_status to poll for completion, then get_backtest_results for the full results.
Inputs: symbol (required), strategy (required), timeframe (required), start_date (required), +3 more. Returns: object
tool_run_portfolio_backtestA
Run a portfolio backtest across multiple assets with weighted allocation.
Test how a strategy performs across a diversified portfolio. Each asset gets a weighted allocation of the total capital.
assets: List of asset allocations. Each has:
symbol: Asset symbol (e.g. "BTC/USDT", "ETH/USDT")
weight: Portfolio weight from 0 to 1. All weights must sum to 1.0.
Example: [{"symbol": "BTC/USDT", "weight": 0.6}, {"symbol": "ETH/USDT", "weight": 0.4}]
The same strategy is applied to all assets. Returns a portfolio_backtest_id. Use get_portfolio_backtest_status to poll, then get_portfolio_backtest_results for results.
Inputs: assets (required), strategy (required), timeframe (required), start_date (required), +3 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Each tool targets a distinct resource or lifecycle stage: asset discovery, price data retrieval, backtest execution/status/results, optimization execution/status/results, and portfolio backtest execution/status/results. Run versus optimize versus list versus get operations are clearly separated, and the three status/result pairs are unambiguous.
All tools follow a consistent verb_prefix + resource pattern such as list_, get_, run_, and optimize_, with the shared tool_ prefix applied uniformly. Related workflows use parallel naming, e.g. get_backtest_status/get_backtest_results and get_optimization_status/get_optimization_results, making the API predictable.
13 tools is well-scoped for a backtesting platform, covering asset exploration, single backtests, parameter optimization, portfolio backtests, and result/history retrieval. Each tool serves a distinct purpose without unnecessary sprawl or redundancy.
The toolset covers the full backtesting lifecycle: discover assets, inspect price data, run and monitor backtests, run and monitor optimizations, run portfolio backtests, retrieve detailed results, and list historical runs. No critical dead ends are apparent for the stated domain.
Maintenance
Related MCP Connectors
Build, backtest, and deploy quantitative trading strategies from your AI agent.
Backtest crypto trading strategies by describing them in plain English. Your AI writes the rules; a deterministic engine runs them on real Binance data (perpetual futures and spot) with fees, slippage and funding counted. Optimize with a held-out check, forward test on live data, build portfolios, and get a full report for every result.
Backtest, optimize and walk-forward test trading strategies from AI agents on 80,000+ symbols
Build, backtest and paper-run Hyperliquid strategies from your AI assistant.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to trade stocks directly through natural language by creating and managing bots, executing trades, accessing market data, and backtesting strategies.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants like Claude to run backtests, fetch market data, list strategies, and analyze trading algorithms via natural language.58 PyPI1,143GPL 3.0
- FlicenseNot gradedqualityDmaintenanceEnables AI-assisted creation, optimization, and management of PineScript trading strategies, with backtesting and TradingView integration.-
- FlicenseNot gradedqualityDmaintenanceEnables quant research, strategy development, backtesting, and paper trading through natural language prompts, integrated with 20+ AI agents.134-