# BacktestingMax

> BacktestingMax is a paid MCP server for finance and payments. MCP server connecting AI chat apps to BacktestingMax backtests and market stats for Pro. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Paid
- **Starting price:** $34.99 a month
- **Platforms:** Web, API, VS Code, CLI
- **Website:** https://www.backtestingmax.com/docs/connect-ai-apps
- **MCP Registry name:** com.backtestingmax/backtestingmax
- **Categories:** [finance and payments](https://ai-powered.com/categories/finance-and-payments)
- **Listing updated:** 2026-11-19

## About

The BacktestingMax server lets an AI client run backtests, optimizations, Monte Carlo tests and market statistics against a BacktestingMax account. Requests go through the client's chat, and the server reads saved strategies, indicators, sessions and projects from the same account.

Connection uses a remote streamable HTTP address with OAuth sign-in, so no API key is involved. Results return as numbers and tables rather than charts, since the chart views stay on the BacktestingMax website. The server can save new strategies, indicators, project notes and backtest runs, but according to the documentation it cannot delete items, change plans or place trades. Saving changes to a published or shared indicator creates a private copy instead.

The server requires a Pro subscription on BacktestingMax. It suits traders who already use the platform and want to query or iterate on their own strategies from Claude, ChatGPT, Cursor, VS Code or a similar client.

## Features

- **Remote OAuth connection:** Connects over a hosted streamable HTTP address and signs in through a BacktestingMax Allow page.
- **Backtests and optimizations:** Runs backtests, optimizations and Monte Carlo tests from an AI chat.
- **Market statistics:** Returns market stats as numeric results and tables.
- **Access to saved work:** Reads existing strategies, indicators, backtesting sessions and projects in the account.
- **Scoped write access:** Saves new strategies, indicators, notes and backtest runs but cannot delete items or trade.
- **Wide client support:** Setup steps are documented for Claude, ChatGPT, Codex, Gemini CLI, Cursor, VS Code, Windsurf and Zed.

## Good for

- Backtest an RSI or MACD strategy on a chosen pair and timeframe from a chat window
- Review drawdown and performance statistics for an existing saved strategy
- Run parameter optimizations or Monte Carlo tests without opening the charting platform
- Save a new indicator or project note to a BacktestingMax account from a coding assistant

## Install

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

```sh
claude mcp add --transport http backtestingmax https://mcp.backtestingmax.com/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": {
    "backtestingmax": {
      "type": "http",
      "url": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.backtestingmax.com/mcp
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

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

```json
{
  "mcpServers": {
    "backtestingmax": {
      "url": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "backtestingmax": {
      "type": "http",
      "url": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

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

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.backtestingmax.com/mcp
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

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

```sh
codex mcp add backtestingmax --url https://mcp.backtestingmax.com/mcp
```

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

```toml
[mcp_servers.backtestingmax]
url = "https://mcp.backtestingmax.com/mcp"
```

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

```json
{
  "mcpServers": {
    "backtestingmax": {
      "httpUrl": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http backtestingmax https://mcp.backtestingmax.com/mcp

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

```json
{
  "mcpServers": {
    "backtestingmax": {
      "serverUrl": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "backtestingmax": {
      "url": "https://mcp.backtestingmax.com/mcp",
      "transport": "http"
    }
  }
}
```

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": {
    "backtestingmax": {
      "type": "streamableHttp",
      "url": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

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

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "backtestingmax": {
      "url": "https://mcp.backtestingmax.com/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": {
    "backtestingmax": {
      "url": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "backtestingmax": {
      "url": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

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

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

```json
{
  "mcpServers": {
    "backtestingmax": {
      "url": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

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

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.backtestingmax.com/mcp
```

Enter a Name (for example "BacktestingMax"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin. When we checked, this server asked for OAuth sign-in. If its docs give you an OAuth client ID and secret, enter them in the form's OAuth Client ID and Client Secret fields.

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

```json
{
  "mcpServers": {
    "backtestingmax": {
      "type": "http",
      "url": "https://mcp.backtestingmax.com/mcp"
    }
  }
}
```

## FAQ

### Does the server require a paid plan?

Yes. The pricing page lists connecting AI apps through MCP as a Pro feature, with unlimited backtests and optimizations through your own AI.

### Does BacktestingMax need an API key?

No. The documentation says BacktestingMax does not issue API keys; connection uses OAuth sign-in, and apps that only support API keys cannot connect.

### Can the AI delete anything or place trades?

No. The documentation states it cannot delete anything, change plans or billing, or place trades.

### How do I disconnect an app?

In BacktestingMax, go to Account, then Account, then Connected AI apps and choose Disconnect. Access stops immediately.

### How do I add BacktestingMax to Claude Code?

Run this command in your terminal: claude mcp add --transport http backtestingmax https://mcp.backtestingmax.com/mcp

### What are the best alternatives to BacktestingMax?

The closest alternatives to BacktestingMax are NexusTrade Financial MCP, BestFolio, QuantGPT, MCP Server for Zerodha Kite Connect API and Trading Statistics by Ocarrat.

## Where this comes from

- Description: written from the project's website and its MCP Registry entry.
- Status: checked automatically by AIPoweredBot on 26 November 2026.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [NexusTrade Financial MCP](https://ai-powered.com/mcp/nexustrade-financial-mcp): NexusTrade Financial MCP is an MCP server for finance and payments.
- [BestFolio](https://ai-powered.com/mcp/bestfolio): BestFolio is a paid MCP server for finance and payments.
- [QuantGPT](https://ai-powered.com/mcp/quantgpt): QuantGPT is an MCP server for finance and payments.
- [MCP Server for Zerodha Kite Connect API](https://ai-powered.com/mcp/mcp-server-for-zerodha-kite-connect-api): MCP Server for Zerodha Kite Connect API is an open-source MCP server for finance and payments.
- [Trading Statistics by Ocarrat](https://ai-powered.com/mcp/trading-statistics-by-ocarrat): Trading Statistics by Ocarrat is a freemium MCP server for finance and payments.
- [TradingMCP](https://ai-powered.com/mcp/tradingmcp): TradingMCP is a paid MCP server for finance and payments.
- [Noon Barbari Backtesting](https://ai-powered.com/mcp/noon-barbari-backtesting): Noon Barbari Backtesting is a free MCP server for finance and payments.
- [BaseEdge Labs Catalog](https://ai-powered.com/mcp/baseedge-labs-catalog): BaseEdge Labs Catalog is a freemium MCP server for finance and payments.

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