MCP server

One URL connects ENSEMBLE to Claude, Cursor, VS Code, and any MCP client. Sign in when prompted and your assistant has the platform as tools.

Setup

Paste the URL

Add https://api.ensemble.markets/mcp as a connector in Claude, Cursor, or any MCP client.

Sign in

Your client opens the ENSEMBLE sign-in. OAuth 2.1; no keys to copy.

Ask

Your assistant has strategy building, backtesting, and the asset catalog as tools.

Clients

Claude

OAuth

claude.ai and Claude Desktop — all plans; Free is capped at one custom connector.

Cursor

OAuth

One-click install, or mcp.json with an API key for headless use.

VS Code

OAuth

GitHub Copilot agent mode — VS Code 1.101+.

Claude Code

OAuth

Anthropic's terminal agent.

Codex CLI

API key

OpenAI's terminal agent — config.toml with a bearer token.

Gemini CLI

OAuth

Google's terminal agent.

Windsurf

API key

Cascade MCP servers via mcp_config.json.

Agents

API key

Any header-capable MCP client or SDK.

Header-based clients authenticate with an API key instead; it is the same key as the REST API.

Header-based MCP config
{
  "mcpServers": {
    "ensemble": {
      "url": "https://api.ensemble.markets/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Example prompts

“Show me the performance of a momentum strategy over the last 10 years”

“What are the top technology stocks by market cap?”

“Create a risk parity portfolio with 60/40 stocks/bonds”

“Backtest a sector rotation strategy with quarterly rebalancing”

Specification

Endpoint
https://api.ensemble.markets/mcp
Transport
Remote Streamable HTTP (stateless)
Authentication
OAuth 2.1 + PKCE (RFC 9728 / 8707), or Bearer API key
Registry
markets.ensemble/ensemble on the official MCP registry
Tools
52, generated from the REST API · models, simulations, analyses (create, list, get, update, delete, rebuild, run) · runs, builds, assets, backfills, optimizers
Clients
Claude, Cursor, VS Code, Claude Code, Codex, Gemini CLI, Windsurf, and any MCP client
Feedback
submit_feedback, list_feedback, get_feedback
Create accountDocumentation