Tradesearcher MCP server
{
"mcpServers": {
"tradesearcher": {
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server@latest"
],
"env": {
"TRADESEARCHER_API_KEY": "<tradesearcher_api_key>"
}
}
}
}{
"mcpServers": {
"tradesearcher": {
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server@latest"
],
"env": {
"TRADESEARCHER_API_KEY": "<tradesearcher_api_key>"
}
}
}
}{
"mcpServers": {
"tradesearcher": {
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server@latest"
],
"env": {
"TRADESEARCHER_API_KEY": "<tradesearcher_api_key>"
}
}
}
}{
"servers": {
"tradesearcher": {
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server@latest"
],
"env": {
"TRADESEARCHER_API_KEY": "${input:tradesearcher_api_key}"
}
}
},
"inputs": [
{
"id": "tradesearcher_api_key",
"type": "promptString",
"description": "Tradesearcher api key",
"password": true
}
]
}{
"mcpServers": {
"tradesearcher": {
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server@latest"
],
"env": {
"TRADESEARCHER_API_KEY": "<tradesearcher_api_key>"
}
}
}
}file .mcp.json (in your project root)file claude_desktop_config.jsonfile ~/.cursor/mcp.jsonfile .vscode/mcp.jsonfile ~/.codeium/windsurf/mcp_config.jsoninstall npx -y @tradesearcher/mcp-serverversion 0.1.1
What it does
Access TradeSearcher's trading strategies and backtests from AI agents like Claude Code and Cursor. Search, compare, and export strategies with backtesting data to inform trading decisions.
- Search trading strategies for specific assets like BTCUSD or AAPL, sorted by metrics like Sharpe ratio or profit factor.
- Retrieve detailed backtest results for a strategy ID, including trade history and performance statistics.
- Export strategy source code in Pine Script format for use in trading platforms.
Tools this server exposes
| Tool | Does |
|---|---|
| search | Search TradeSearcher strategies by symbol, with optional sorting by Sharpe ratio, profit factor, ROI, latest trade date, or robustness. |
| best | Retrieve the best-performing strategies for a given symbol. |
| backtest | Get backtest details for a specific backtest ID, including trades and equity data. |
| strategy | Retrieve strategy information, including source code if available. |
| export | Export a strategy as Pine Script source code to a file. |
| compare | Compare two or more backtest strategies by ID. |
| schema | Print JSON schemas for available commands to aid agent integration. |
Before you enable it
An MCP server runs with whatever access you give it. Start with a development account rather than production, and check which tools the server exposes before you let an agent call them unattended.