TradeSearcher
MCP server that lets coding agents search TradeSearcher trading strategies and backtests
TradeSearcher is a freemium MCP server for trading analysis. It runs locally on your machine and is started by your AI client.
- Pricing
- Freemium
- Platforms
- API, CLI, Web
- Runs
- Locally
- Access
- Needs a secret key or token
- License
- MIT
- Version
- 0.1.1
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add mcp-server --env TRADESEARCHER_API_KEY='<TRADESEARCHER_API_KEY>' -- npx -y @tradesearcher/mcp-serverAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server"
],
"env": {
"TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>"
}
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server"
],
"env": {
"TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>"
}
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server"
],
"env": {
"TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>"
}
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server"
],
"env": {
"TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>"
}
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add mcp-server --env TRADESEARCHER_API_KEY='<TRADESEARCHER_API_KEY>' -- npx -y @tradesearcher/mcp-serverOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.mcp-server]
command = "npx"
args = ["-y", "@tradesearcher/mcp-server"]
env = { TRADESEARCHER_API_KEY = "<TRADESEARCHER_API_KEY>" }Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"@tradesearcher/mcp-server"
],
"env": {
"TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>"
}
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@tradesearcher/mcp-server" ], "env": { "TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>" } } } }Or run: gemini mcp add -s user -e TRADESEARCHER_API_KEY='<TRADESEARCHER_API_KEY>' mcp-server npx -- -y @tradesearcher/mcp-server
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@tradesearcher/mcp-server" ], "env": { "TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>" } } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@tradesearcher/mcp-server" ], "env": { "TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>" } } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@tradesearcher/mcp-server" ], "env": { "TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>" } } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "mcp-server": { "command": "npx", "args": [ "-y", "@tradesearcher/mcp-server" ], "env": { "TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>" } } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@tradesearcher/mcp-server" ], "env": { "TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>" } } } }The AI Assistant docs only show command and args. If the env block is ignored, use Junie for this server.
Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@tradesearcher/mcp-server" ], "env": { "TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>" } } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "mcp-server": { "command": "npx", "args": [ "-y", "@tradesearcher/mcp-server" ], "env": { "TRADESEARCHER_API_KEY": "<TRADESEARCHER_API_KEY>" } } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
TRADESEARCHER_API_KEYPersonal API key created at https://tradesearcher.ai/app/account/my-account#agent-api-keysRequired
About TradeSearcher
TradeSearcher's MCP server connects AI coding assistants such as Claude Code, Cursor and Codex to the TradeSearcher strategy library. Once an agent is connected, it can look up strategies and existing backtest results without leaving the editor, so research happens alongside the code being written.
The server runs locally over stdio through npm and authenticates with a personal API key created in the TradeSearcher account settings. A companion command-line tool offers the same search, backtest, strategy and export commands for terminal use, including exporting a backtest's strategy as Pine Script source.
The package suits traders and quantitative developers who already use TradeSearcher and want agents to filter candidate strategies by metrics such as Sharpe ratio, profit factor, ROI and robustness. Some high-performance backtests are only visible on the premium plan.
What it does
- Strategy and backtest search
- Search strategies by symbol and sort results by metrics such as Sharpe ratio, profit factor, ROI or robustness.
- Backtest detail lookup
- Retrieve a backtest with optional trade lists and equity data for a closer review.
- Pine Script export
- Export the Pine source text of a backtest strategy to a file.
- Strategy comparison
- Compare two backtests side by side from the agent or the command line.
- Local stdio setup
- Runs through npx with a single JSON entry and a personal API key in the environment.
- Machine-readable command schemas
- Prints JSON schemas for each CLI command so agents can call them correctly.
Good for
- Shortlisting trading strategies for a symbol from inside a coding agent
- Reviewing a backtest's trades and metrics before deciding to use a strategy
- Exporting a promising strategy's Pine Script for further testing in TradingView
- Comparing two backtests on the same market before choosing one
Pricing
Freemium
Free account with limited results; premium unlocks stronger backtests and full details
TradeSearcher FAQ
How is the server installed?
Add a JSON entry that runs npx with the package @tradesearcher/mcp-server and set the TRADESEARCHER_API_KEY environment variable.
Do I need an account?
Yes. The server requires a personal API key created in your TradeSearcher account settings.
Are all backtests available on free accounts?
No. Free accounts hide high-performance backtests with a profit factor above 3; the premium plan shows them along with more results and recent trades.
How do I add TradeSearcher to Claude Code?
Run this command in your terminal: claude mcp add mcp-server --env TRADESEARCHER_API_KEY='<TRADESEARCHER_API_KEY>' -- npx -y @tradesearcher/mcp-server
What are the best alternatives to TradeSearcher?
The closest alternatives to TradeSearcher are TradeOS (test), AlgoRover Research, Tactfolio, Algo Trade Analytics and Helvetic Research.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.
