Keel Documentation
Quantitative trading platform for Hyperliquid. Build and backtest strategies from Claude, ChatGPT, your coding agent or the terminal.
Keel is a quantitative trading platform for Hyperliquid. Drive strategy development from Claude, ChatGPT, your coding agent (Claude Code, Cursor, Codex, Windsurf) or your terminal. Your agent composes strategies in the Keel DSL, backtests run against Keel's price and funding data, and live deploys execute on Hyperliquid non-custodially.
See it working: Funding carry in the strategy library shows a full backtest on Hyperliquid perps, net of fees, slippage and funding, with the rules you can fork.
Connect your assistant
- Claude or ChatGPT: Keel is listed in the Claude connectors directory and the ChatGPT plugin directory. Add it from its listing and sign in; Agent Setup has both listing links and the steps.
- Claude Code, Cursor, Codex or Windsurf: add the hosted endpoint
https://mcp.usekeel.io/mcpand sign in in the browser. In Claude Code that isclaude mcp add --transport http keel https://mcp.usekeel.io/mcp, then/mcpand Authenticate. Nothing to install. - Local:
pipx install keel-tradegives you thekeelCLI and a local MCP server; the install steps are below.
Choose your path
- Using the web app? Start with Your First Backtest (Web App) — build and backtest visually at app.usekeel.io with the AI editor. Nothing to install.
- Building with an AI agent? Connect it as above, then ask it for a strategy and a backtest. Getting Started walks through the first run.
- Building with the CLI or SDK? Start with
Getting Started —
pipx install keel-trade→ first backtest in five commands. The install steps are below.
Install (local)
pipx install keel-trade # or: uv tool install keel-trade
claude mcp add keel -- keel mcp serve # register stdio command with Claude CodeThen open Claude Code and say "Connect to Keel." — the agent calls
keel_auth_login, browser opens, you sign in, and you're done. After
that your agent has the full Keel outcome-tool surface with your auth
context. The full first-backtest flow is in
Getting Started.
Quick Links
- Web app walkthrough — visual strategy builder + AI editor at
app.usekeel.io - Getting Started —
pipx install keel-trade→ first backtest in five commands - Step-by-step CLI walkthrough — every command with annotated output
- Agent Setup — Claude and ChatGPT from their listings; Claude Code, Cursor, Windsurf, OpenAI Codex and any MCP client by URL; skills
- CLI Reference — every command grouped by domain
- API Reference — REST API for direct integrations