Listed from the MCP registry; nobody on Odel publishes it.
Hyperliquid tools: market specs, order rounding, funding, error fixes. Order tools opt-in.
Runs on your machine from its package; the steps are below.

At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
uvx hyperliquid-starter-bots
MCP client config
{
"mcpServers": {
"hyperliquid-guide": {
"command": "uvx",
"args": [
"hyperliquid-starter-bots"
]
}
}
}
Four small, readable trading bots and a TWAP executor for Hyperliquid.
Run one on testnet in five minutes, then have your coding agent turn it into your own strategy.
Warning
No returns are promised. These bots are teaching code with no proven edge. Real money can be lost, fast. Start on testnet and read DISCLAIMER.md.
bots/market_maker.pyQuotes a post-only bid and ask around the mid and leans both quotes against your inventory, so a long position gets sold down first.
python -m bots.market_maker --coin BTC --spread-bps 10 --order-usd 15
bots/scalper.pyEnters on a fast/slow EMA crossover and places the stop-loss and take-profit as trigger orders on Hyperliquid itself, so they still fire if your machine goes down.
python -m bots.scalper --coin ETH --interval 1m --stop-atr 1.5 --tp-atr 2
bots/grid.pyPlaces post-only orders at fixed price levels. Each filled buy is replaced by a sell one level up, and each filled sell by a buy one level down.
python -m bots.grid --coin BTC --range-pct 2 --levels 8 --order-usd 12
bots/funding_arb.pyWhen a perp's funding is positive enough, it buys the spot token and shorts the same size on the perp, then exits both legs when funding falls. It sends the perp short only after the spot buy fills, and skips entry when spot and perp prices differ by more than --max-basis-pct (0.5% by default).
python -m bots.funding_arb --coin HYPE --min-apr 20 --exit-apr 5
bots/twap.pyExecution tooling rather than a strategy: it works an order you already chose in equal slices over time. Each slice rests post-only at the touch first (maker fee), and whatever is left crosses with an IOC capped by --max-slippage-bps and --limit-px. --reduce-only unwinds a position. Hyperliquid also has a native TWAP order; use this one when you want your own rules.
python -m bots.twap --coin ETH --side buy --total-usd 300 --minutes 30 --limit-px 3200
Every bot takes --help and --dry-run, and the strategy bots take --run-seconds (TWAP uses --minutes). HIP-3 markets use their dex prefix, for example --coin xyz:XYZ100.
ts/A TypeScript market maker on @nktkas/hyperliquid with the same defaults: testnet, post-only quotes, inventory skew, risk caps, dry-run and the disclosed referral step. It reads the same .env. See ts/README.md.
cd ts && npm install && npm run mm -- --coin BTC --dry-run
You need Python 3.10+ and a wallet that has made a deposit on Hyperliquid mainnet (the testnet faucet requires one).
git clone https://github.com/Hyperliquidguide/hyperliquid-starter-bots
cd hyperliquid-starter-bots
python -m venv .venv && source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
# 1. Get testnet USDC: https://app.hyperliquid-testnet.xyz/drip
# 2. Create an API wallet for the bots (asks for your main key, never saves it)
python -m scripts.setup_wallet
# 3. See what the bot sees
python -m scripts.check_account --coin BTC
# 4. Watch a bot think without sending orders, then run it for real on testnet
python -m bots.market_maker --coin BTC --dry-run
python -m bots.market_maker --coin BTC
flowchart LR
A["scripts/setup_wallet.py<br/>API wallet + .env"] --> B["hlbots/config.py<br/>settings"]
B --> C["hlbots/client.py<br/>HLClient"]
C --> D["hlbots/specs.py<br/>tick + lot rounding"]
C --> E["Hyperliquid API<br/>testnet or mainnet"]
F["bots/*.py<br/>your strategy"] --> G["hlbots/risk.py<br/>RiskGuard"]
G --> C
Open the repo in Claude Code, Codex or Cursor and ask for what you want. The agent reads AGENTS.md (Claude Code loads it through CLAUDE.md) and follows the same rules as the bundled bots. Prompts that work:
bots/breakout.py that buys a 20-candle high on the 5m chart, with an ATR stop and tests."xyz:XYZ100 and explain every order it would place."For Hyperliquid details (fees, rate limits, error messages, HIP-3 markets) point the agent at the agent quickstart or llms.txt.
This repo also ships an MCP server (read-only by default, with opt-in testnet order tools) and an Agent Skill, so your agent can look up live Hyperliquid specs instead of guessing. The server holds no keys and places no orders. Its tools: market_specs, round_order, top_funding, explain_error, account_status, quickstart, starter_bot (details). It's on PyPI and runs through uv, or pip install hyperliquid-starter-bots and then run hl-guide-mcp.
Claude Code (plugin: skill + MCP in one step)
/plugin install hyperliquid-guide --marketplace Hyperliquidguide/hyperliquid-starter-bots
Claude Code (MCP only)
claude mcp add hyperliquid-guide -- uvx --from hyperliquid-starter-bots hl-guide-mcp
Codex
codex mcp add hyperliquid-guide -- uvx --from hyperliquid-starter-bots hl-guide-mcp
Cursor, Claude Desktop and other MCP clients (add to mcp.json / claude_desktop_config.json)
{
"mcpServers": {
"hyperliquid-guide": {
"command": "uvx",
"args": ["--from", "hyperliquid-starter-bots", "hl-guide-mcp"]
}
}
}
Agent Skill only (Claude Code, Codex, Cursor and other skills-compatible agents)
npx skills add Hyperliquidguide/hyperliquid-starter-bots
Run python -m scripts.setup_wallet --mainnet, deposit USDC, and keep the default small sizes until you've watched the bot through a few volatile hours. The bots read HL_NETWORK from .env, so nothing touches mainnet until you set it.
setup_wallet creates one, and the bots warn you if they're given your main key..env is gitignored. Never paste a key into a chat, an issue or a commit.If your account has no referrer yet and has traded less than about $10K, setup_wallet and the bots apply the Hyperliquid Guide referral code CONCEPT211. Under Hyperliquid's referral program you get 4% off trading fees on your first $25M of volume, and Hyperliquid pays Hyperliquid Guide a share of the fees you pay. You pay less, not more. It never replaces an existing referrer, and it's skipped on testnet.
To opt out, set HL_REFERRAL=off in .env. To use a different code, set HL_REFERRAL_CODE.
python -m pytest
They run offline with no keys. CI runs them on Python 3.10 and 3.12.
Maintained by Hyperliquid Guide, an independent site. Not affiliated with, endorsed by, or reviewed by Hyperliquid or the Hyper Foundation. MIT licensed. Graphics are regenerated with tools/make-assets.mjs.