# L2WS MCP server

Binance order book (L2), trades, SQL, backtests and AI price levels for BTC, ETH and SOL.

## Facts

- Endpoint: https://mcp.l2ws.com/mcp (MCP, Streamable HTTP)
- Sign-in: none (open)
- Security grade: not graded (servers behind sign-in can't be scanned)
- Tools: 13
- Category: Data & databases · source: registry
- Last probed: 2026-11-16 · first listed: 2026-11-15
- Directory page: https://gateturbo.com/mcp/l2ws · this document: https://gateturbo.com/mcp/l2ws.md · JSON: https://gateturbo.com/api/directory/servers/l2ws

## Tools (13)

- `catalog_streams`: List of data streams: name, tier, kind, day range, description. all=True also lists streams outside your plan, marked `available_on`.
- `get_schema`: Columns and types of a stream.
- `get_quality`: Q index and data-quality metrics of a day (day as YYYY-MM-DD).
- `sql_query`: SELECT/WITH over the streams (the day is a virtual column `day`). The result holds at most min(limit, 50000) rows.
- `save_strategy`: Save a strategy (the contract is in get_contract_docs). Returns strategy_id, version and the lint result.
- `list_strategies`: My strategies: id, name, version, latest FARM.
- `run_backtest`: Queue a backtest. Needs strategy_id OR code (a one-off strategy). Minutes are charged at queue time.
- `backtest_status`: Run status: queued | running (+progress) | done | failed.
- `backtest_report`: Full report of a finished run: FARM, PnL, WR, DD, regimes, trades.
- `list_runs`: Latest runs: id, status, FARM, parameters, queue time.
- `get_contract_docs`: Strategy contract and sandbox rules (the same text as on /docs-contract).
- `get_ai_levels`: Recorded AI levels, prediction history and observed outcomes. Free access is delayed.
- `get_ai_trader`: Our AI trader: training status, latest exam on held-out weeks after fees, released decisions (free: 24 h delay).

## Connect

Two routes. Through gate you get one gateway URL for every server you pick, a sign-in screen that asks which agent you are, allow / ask-me-first / block per action, argument rules, a log of every call, and an off-switch. Direct puts this server's URL straight into the agent's config.

### Through gate (Claude Code shown; any MCP client works the same way)

One gateway URL carries every server you pick.

1. Connect L2WS to your gate (https://gateturbo.com/login?next=/discovery?connect=l2ws).
2. Add gate once to the agent; the sign-in screen asks which agent it is, and its rules follow it everywhere.
3. Every call is logged; allow, ask-me-first or block any action; pause the agent with one click.

```bash
claude mcp add --transport http gate https://gateturbo.com/api/mcp
```

Other agents through gate: Claude → https://gateturbo.com/mcp/l2ws/claude · Claude Desktop → https://gateturbo.com/mcp/l2ws/claude-desktop · ChatGPT → https://gateturbo.com/mcp/l2ws/chatgpt · Codex → https://gateturbo.com/mcp/l2ws/codex · Cursor → https://gateturbo.com/mcp/l2ws/cursor · Windsurf → https://gateturbo.com/mcp/l2ws/windsurf · VS Code → https://gateturbo.com/mcp/l2ws/vscode · Gemini CLI → https://gateturbo.com/mcp/l2ws/gemini-cli · OpenClaw → https://gateturbo.com/mcp/l2ws/openclaw · n8n → https://gateturbo.com/mcp/l2ws/n8n · A script or server → https://gateturbo.com/mcp/l2ws/script

### Direct: Claude Code

Add L2WS to Claude Code with one command.

1. Run the command in your terminal.
2. Restart Claude Code; the tools appear in every session.
3. No sign-in needed.

```bash
claude mcp add --transport http l2ws https://mcp.l2ws.com/mcp
```

### Direct: Cursor

Add L2WS to Cursor's MCP config.

1. Add this to ~/.cursor/mcp.json (or .cursor/mcp.json in a project).
2. Cursor picks it up without a restart.
3. No sign-in needed.

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

### Direct: VS Code

Add L2WS to VS Code for Copilot agent mode.

1. Add this to .vscode/mcp.json in your workspace (or your user mcp.json).
2. Open the Copilot chat in agent mode; the server starts on demand.
3. No sign-in needed.

```json
{
  "servers": {
    "l2ws": {
      "type": "http",
      "url": "https://mcp.l2ws.com/mcp"
    }
  }
}
```

### Direct: Codex

Add L2WS to Codex.

1. Add this to ~/.codex/config.toml.
2. Start a new Codex session.
3. No sign-in needed.

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

### Direct: Claude

Add L2WS as a custom connector in Claude.

1. Open claude.ai → Settings → Connectors → Add custom connector.
2. Name it "L2WS" and paste the URL below.
3. Save; the tools appear in new chats.

```
https://mcp.l2ws.com/mcp
```

### Direct: ChatGPT

Add L2WS as a connector in ChatGPT.

1. Open ChatGPT → Settings → Connectors → enable Developer mode under Advanced.
2. Create a connector named "L2WS" with the URL below.
3. Set authentication to none.

```
https://mcp.l2ws.com/mcp
```

## For agents reading this

- Search the directory from inside a conversation: add the directory MCP server https://gateturbo.com/api/directory/mcp (no sign-in) and call `search_servers`, `get_server`, `how_to_connect`.
- JSON: https://gateturbo.com/api/directory/search?q=<terms> · https://gateturbo.com/api/directory/servers/<slug>
- How to get access to a human's gateway on your own: https://gateturbo.com/agents.md
- Always keep a human in the loop: gate's sign-in, approvals and off-switch exist so the person stays in control.
