{
  "markdown": "# TradeSearcher Agent Tools\n\nUse TradeSearcher strategies and existing backtests inside Claude Code, Codex, Cursor, and other coding agents.\n\n**Documentation:** <https://docs.tradesearcher.ai/developer-tools/> · **Create an API key:** <https://tradesearcher.ai/app/account/my-account#agent-api-keys>\n\n## Install\n\n```bash\nnpm install -g @tradesearcher/cli\n```\n\nFor MCP:\n\n```json\n{\n  \"mcpServers\": {\n    \"tradesearcher\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@tradesearcher/mcp-server\"],\n      \"env\": {\n        \"TRADESEARCHER_API_KEY\": \"your_api_key\"\n      }\n    }\n  }\n}\n```\n\n## CLI\n\n```bash\ntradesearcher auth login\ntradesearcher auth status\ntradesearcher search BTCUSD\ntradesearcher best AAPL\ntradesearcher backtest 12345 --details --trades --trade-limit 20\ntradesearcher strategy 6789 --source\ntradesearcher export 12345 --pine --out strategy.pine\ntradesearcher compare 12345 67890\ntradesearcher schema\ntradesearcher schema backtest\n```\n\nUseful search sorts:\n\n```bash\ntradesearcher search BTCUSD --sort sharpe\ntradesearcher search BTCUSD --sort profitFactor\ntradesearcher search BTCUSD --sort roi\ntradesearcher search BTCUSD --sort latestTradeDate\ntradesearcher search BTCUSD --sort robustness\n```\n\n`--equity` can return large JSON arrays. Use it after narrowing to final candidates.\n\nUse `tradesearcher schema` to print JSON command schemas for agents. Use `tradesearcher schema backtest` or `tradesearcher schema strategy` for one command.\n\nSearch, best, and compare rows show `source available`, `source no`, or `source private` when TradeSearcher knows whether Pine source text is available. `available` means TradeSearcher has source text for the strategy; it does not prove that the text is a complete standalone Pine strategy.\n\nExport Pine source for a backtest strategy:\n\n```bash\ntradesearcher export 12345 --pine --out strategy.pine\n```\n\nFree accounts hide high-performance backtests with a profit factor above 3. Premium shows these stronger backtests, more results, recent trades, and full strategy details.\n\nUpgrade: https://tradesearcher.ai/app/premium\n\n## MCP tools\n\nSee [`docs/mcp-tools.md`](docs/mcp-tools.md) or the public reference at\n<https://docs.tradesearcher.ai/developer-tools/mcp-server> for tool schemas, examples, and the\nrecommended agent workflow.\n\nPer-client setup: [Claude Code](docs/claude-code.md) · [Codex](docs/codex.md).\n\n## Release check\n\nBefore publishing:\n\n```bash\nnpm run release:check\n```\n\nSee `docs/release.md` for the publish order.\n",
  "bytes": 2486,
  "sha": "9319770192313b6f306fc03e98eaa974f758725bd347fe16a40bf5356fe7c8f8",
  "repo_slug": "vnguyen42/tradesearcher-agent-tools",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_ai_tradesearcher_mcp_server_0217e513/readme"
}