# Tradestaq MCP

> Tradestaq MCP is a freemium MCP server for finance and payments. 46 tools to build strategies, backtest, run bots and track a crypto portfolio on TradeStaq. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API
- **Repository:** https://github.com/the-staq/tradestaq-mcp
- **MCP Registry name:** io.github.the-staq/tradestaq-mcp
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-23

## About

This server connects an assistant to a TradeStaq account. Tools cover market data, portfolio and positions, a strategy marketplace, backtesting, bot management, trade history, copy trading and an advisor that matches strategies to a risk profile. Supported venues listed in the README include Binance, Bybit, OKX, Bitget, Hyperliquid and dYdX.

Bots deploy as paper trading by default, and real-money use requires passing `live: true` and holding the right token scope (`mcp:live` for live bots, `mcp:paper` for paper). Backtests run asynchronously and take roughly 30 to 120 seconds. Changing a bot's strategy or timeframe requires it to be flat, so the README describes pausing it with `stopAfterClose` first.

Sign-in is by email and password or a browser OAuth flow with PKCE, and the token is stored locally with restricted permissions. A remote endpoint at mcp.tradestaq.com is also offered. The server also includes three prompt templates and browsable portfolio, bot and strategy resources. Trading carries financial risk, and nothing here is advice.

## Features

- **Strategy generation:** Creates strategies from a natural-language description.
- **Async backtests:** Runs historical backtests and checks their results.
- **Bot deployment:** Deploys strategies as bots, paper by default, with start, stop and update tools.
- **Copy trading:** Browses top traders and follows them.
- **Portfolio and positions:** Shows balance, open positions and live PnL.
- **Share links:** Creates public chart links for a bot with optional expiry.

## Good for

- Backtest a momentum idea on BTC/USDT for three months
- Deploy a strategy as a paper bot first
- See why a bot did or did not trade in a run
- Compare strategies side by side
- Review portfolio performance and win rate

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add tradestaq-mcp -- npx -y @the-staq/tradestaq-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add tradestaq-mcp -- npx -y @the-staq/tradestaq-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.tradestaq-mcp]
command = "npx"
args = ["-y", "@the-staq/tradestaq-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user tradestaq-mcp npx -- -y @the-staq/tradestaq-mcp

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "tradestaq-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@the-staq/tradestaq-mcp"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 4 of 19 tools change data; 5 names don't say. From the server's own tool labels and tool names; not verified by us.

- `get_portfolio` (name suggests: reads): Returns total balance, exchanges and active bots.
- `get_positions` (name suggests: reads): Returns open positions with live PnL.
- `get_price` (name suggests: reads): Returns current price, 24h change and volume.
- `get_candles` (name suggests: reads): Returns OHLCV candlestick data.
- `generate_strategy`: Generates a strategy from natural language.
- `what_if_backtest`: Runs an asynchronous historical backtest.
- `get_backtest_results` (name suggests: reads): Checks the status of a running backtest.
- `deploy_bot` (name suggests: changes): Deploys a strategy as a trading bot, paper by default.
- `update_bot` (name suggests: changes): Edits a bot's settings in one update.
- `start_bot` (name suggests: changes): Starts a paused or stopped bot.
- `stop_bot` (name suggests: changes): Stops a running bot.
- `close_position`: Closes an open position fully or partially.
- `get_bot_logs` (name suggests: reads): Shows run-by-run history and dropped signals.
- `get_trade_history` (name suggests: reads): Lists closed trades with prices and PnL.
- `get_performance_metrics` (name suggests: reads): Returns ROI, win rate and Sortino ratio.
- `list_top_traders` (name suggests: reads): Browses the top-trader leaderboard.
- `follow_trader`: Subscribes to copy a trader's trades.
- `suggest_strategies`: Matches strategies to a risk profile.
- `get_market_context` (name suggests: reads): Returns trend, volatility and support or resistance for a symbol.

## FAQ

### Does Tradestaq MCP trade real money by default?

No. deploy_bot defaults to paper trading; live: true is needed for real money.

### How do I log in?

With email and password, or a browser-based OAuth login.

### Is there a remote option?

Yes, at https://mcp.tradestaq.com/mcp for clients that support HTTP.

### Which exchanges are supported?

The README lists Binance, Bybit, OKX, Bitget, Hyperliquid, dYdX and more.

### Is Tradestaq MCP free?

Tradestaq MCP has a free plan, with paid plans for more usage or features.

### How do I add Tradestaq MCP to Claude Code?

Run this command in your terminal: claude mcp add tradestaq-mcp -- npx -y @the-staq/tradestaq-mcp

### What are the best alternatives to Tradestaq MCP?

The closest alternatives to Tradestaq MCP are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, NostrPulse, Australian Economic Data (ABS, RBA & APRA) and x402 Micropayments MCP.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.
- [Tapetide - Indian Stock Market MCP](https://ai-powered.com/mcp/tapetide-indian-stock-market-mcp): Tapetide - Indian Stock Market MCP is a freemium MCP server for finance and payments.
- [NostrPulse](https://ai-powered.com/mcp/nostrpulse): NostrPulse is an open-source MCP server for finance and payments.
- [Australian Economic Data (ABS, RBA & APRA)](https://ai-powered.com/mcp/australian-economic-data-abs-rba-and-apra): Australian Economic Data (ABS, RBA & APRA) is an open-source MCP server for analytics and data.
- [x402 Micropayments MCP](https://ai-powered.com/mcp/x402-micropayments-mcp): x402 Micropayments MCP is a paid MCP server for finance and payments.
- [Budget Tracker](https://ai-powered.com/mcp/budget-tracker-2): Budget Tracker is a freemium MCP server for finance and payments.
- [GoTRON MCP](https://ai-powered.com/mcp/gotron-mcp): GoTRON MCP is an MCP server for finance and payments.
- [vcinfo](https://ai-powered.com/mcp/vcinfo): vcinfo is an MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/tradestaq-mcp
