Beta Free early access Get started →

Talk to AI. It Trades for You.

ForgeAlpha connects to Claude Desktop via the Model Context Protocol (MCP). This means you can describe your trading idea in plain English, and Claude will build the strategy, backtest it, and deploy it as a live or paper trading bot — all from a chat conversation.

No coding. No clicking through menus. Just tell Claude what you want.

What Can You Do With It?

Build a strategy from scratch

"Create an RSI mean reversion strategy for gold. Buy when RSI drops below 30, sell when it goes above 70. Use a 50-pip trailing stop."

Backtest before risking real money

"Backtest my gold scalping strategy over the last 30 days. How does it perform? What's the max drawdown?"

Optimize and improve

"My strategy has too much drawdown. Can you tighten the stop loss and add a MACD filter to reduce false signals?"

Deploy a trading bot

"Publish my strategy and create a paper trading bot with $5,000 capital. Set the stop loss at 10%."

Check on your bots

"How are my bots doing? Show me the P&L for each one. Which one has the best win rate?"

Analyze your trade history

"Here are my last 200 trades from MT5. What patterns do you see? Can you reverse-engineer a strategy from them?"

Setup Guide

Two ways to connect — pick whichever is easier for you:

Option A: Connect via Integrations (recommended)

No config files needed. Just sign in and authorize.

  1. Open Claude Desktop (or claude.ai)
  2. Go to Settings → Connectors (or visit the Integrations page)
  3. Search for ForgeAlpha or add a custom integration with URL: https://beta.api.forgealpha.cloud/mcp
  4. Sign in to ForgeAlpha and click "Authorize"
  5. Done. Claude now has access to your strategies, bots, and backtests.

This uses OAuth 2.0 — your password is never shared with Claude. You can revoke access anytime from Settings → Connected Apps in the ForgeAlpha dashboard.

Option B: Local MCP Server (manual setup)

If you prefer to run the MCP server locally with an API key:

  1. Go to Settings → API Keys in ForgeAlpha and create a new key
  2. Open your Claude Desktop config — go to Settings → Developer → Edit Config, or open the file directly:
    • Mac: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add the ForgeAlpha server:
{
  "mcpServers": {
    "forgealpha": {
      "command": "npx",
      "args": ["-y", "forgealpha-mcp"],
      "env": {
        "FORGEALPHA_API_KEY": "your-api-key-here",
        "FORGEALPHA_API_URL": "https://beta.api.forgealpha.cloud"
      }
    }
  }
}
  1. Restart Claude Desktop (Cmd+Q / Alt+F4, then reopen)

Tip: The -y flag auto-confirms the install. If you use nvm, run which npx and use the full path as the "command" value.

Start trading

Once connected, just talk to Claude like you would to a trading assistant:

"What symbols can I trade on my MT5 account?"

"Create a grid strategy for EURUSD with 8 levels, 20-pip step size, and martingale lot sizing. Backtest it over 90 days."

"Show me all my strategies. Which one has the best backtest results?"

"Stop my gold scalper bot and show me its trade history."

What Claude Can Access

When connected, Claude can:

CategoryWhat Claude can do
StrategiesCreate, view, edit, publish, and archive your strategies. Knows all 74 indicators, entry/exit rules, grid configs, trailing stops.
BacktestingRun backtests on any strategy with custom date ranges, capital, leverage, and friction settings. Reads results including P&L, win rate, drawdown, and trade-by-trade breakdown.
BotsCreate, start, stop, and monitor trading bots. See live P&L, open positions, and trade history.
AccountsView linked MT5 accounts, check available capital, and see which symbols your broker supports.
AnalysisUpload trade history (JSON) and extract patterns, indicators, and rule parameters from your past trades.

Supported Instruments

Claude knows about all the instruments ForgeAlpha supports:

  • Metals: XAUUSD (Gold), XAGUSD (Silver)
  • Forex: EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, NZDUSD, EURGBP, EURJPY
  • Crypto: BTCUSD, ETHUSD
  • Indices: US30, NAS100, SPX500, UK100, DE40, JP225
  • Energy: USOIL, UKOIL
  • Deriv Synthetics: Step Index, Volatility Index, Jump Index, Crash/Boom, Range Break, and more

Example: From Idea to Live Bot in 3 Messages

You: "Create a Bollinger Band breakout strategy for BTCUSD on the 15-minute chart. Buy when price closes above the upper band, sell when it closes below the lower band. Use 0.01 lots fixed. Add a trailing stop at 2x ATR."

Claude: Creates the strategy with all rules configured, publishes it.

You: "Backtest it over the last 60 days with $10,000 capital."

Claude: Runs the backtest, shows you net profit, drawdown, win rate, and suggests improvements.

You: "Looks good. Create a paper bot with $5,000 and start it."

Claude: Creates the bot, assigns capital, and starts it. You can monitor it from the ForgeAlpha dashboard.

Requirements

  • Claude Desktop or claude.ai
  • Node.js 18 or later (only for Option B — local MCP server)
  • A ForgeAlpha account (Option A uses OAuth, Option B uses an API key)

Security & Privacy

  • OAuth authorization — your ForgeAlpha password is never shared with Claude or any third-party app
  • Revoke anytime — go to Settings → Connected Apps to disconnect Claude's access
  • Scoped permissions — Claude only accesses what you authorize (strategies, bots, accounts)
  • API keys — if using manual setup, keys can be rotated or deleted at any time

For Developers

Building an app that integrates with ForgeAlpha? The MCP server supports:

  • Remote HTTP transport — hosted at https://beta.api.forgealpha.cloud/mcp with StreamableHTTP protocol
  • Self-hosted — run node packages/mcp/dist/index.js --transport http --port 3100
  • OAuth 2.0 — Authorization Code flow for third-party apps. Register at Settings → Developer to get client_id / client_secret
  • API keys — pass as Authorization: Bearer fa_live_... or X-API-Key header
  • Granular scopesstrategies:read, strategies:write, backtests:run, bots:read, bots:write, accounts:read, analysis:run
  • MCP Resourcesforgealpha://schema/rules, forgealpha://reference/symbols, forgealpha://reference/indicators