CCXT MCP Server
OFFICIAL SERVERCrypto exchange and prediction market data, balances and opt-in trading through the ccxt library
Kraken's own trading CLI served as a local stdio MCP server for market data, balances and live or paper orders
Official · Kraken Rust Local · stdio Finance and payments
43 popularity score ★ 804
Opens the app, which asks before it adds the server.
cargo install --locked --git https://github.com/krakenfx/kraken-cli kraken-cliclaude mcp add kraken-cli -- kraken-mcp -s 'market,paper,feedback'{
"mcpServers": {
"kraken-cli": {
"command": "kraken-mcp",
"args": [
"-s",
"market,paper,feedback"
]
}
}
}{
"mcpServers": {
"kraken-cli": {
"command": "kraken-mcp",
"args": [
"-s",
"market,paper,feedback"
]
}
}
}{
"servers": {
"kraken-cli": {
"type": "stdio",
"command": "kraken-mcp",
"args": [
"-s",
"market,paper,feedback"
]
}
}
}[mcp_servers.kraken-cli]
command = "kraken-mcp"
args = ["-s", "market,paper,feedback"]gemini mcp add --scope user kraken-cli kraken-mcp -- -s 'market,paper,feedback'| Set together: spot key | |
|---|---|
KRAKEN_API_KEY secret |
Optional: Spot API key. market and paper tools work without it. |
KRAKEN_API_SECRET secret |
Optional: Secret for the spot API key. |
| Set together: futures key | |
KRAKEN_FUTURES_API_KEY secret |
Optional: Futures API key, a separate key from the spot one. |
KRAKEN_FUTURES_API_SECRET secret |
Optional: Secret for the futures API key. |
KRAKEN_WORKSPACE |
Optional: Workspace to scope paper and session state to. |
KRAKEN_SPOT_URL |
Optional: Spot REST base URL, https and Kraken hosts only. |
KRAKEN_FUTURES_URL |
Optional: Futures REST base URL. |
KRAKEN_FEEDBACK_ENDPOINT |
Optional: Where feedback uploads go. |
KRAKEN_AGENT_CLIENT |
Optional: Client name sent in request headers, instead of the one detected from the environment. |
KRAKEN_INSTANCE_ID |
Optional: UUID sent as the install ID, instead of the one stored in the config folder. |
Kraken publishes kraken-cli, a Rust command-line tool for its exchange, and since version 0.5.0 the install also drops a separate kraken-mcp binary next to it. That binary is the MCP server. Your client starts it over stdio, and it turns CLI commands into tools named kraken_ plus the command, so kraken_ticker runs what `kraken ticker` would. Calls go through the CLI's own code, which means errors arrive as the same JSON envelopes, with retry hints when Kraken rate-limits you.
Which tools show up depends on -s. Started bare it loads market, account, paper, workspace and feedback. market and the two paper groups work with no key at all. account needs a key and is mostly reads. trade, futures, funding, earn and subaccount can place and cancel real orders, withdraw, stake and move money, so you have to ask for them by name or pass -s all. With every group loaded the repo's pinned test snapshot lists 152 tools, out of the 188 commands in its catalog. There is a research side too. You can try a paper strategy in a workspace and judge it with lab experiments built on recorded sessions before any real funds move.
The key it signs with can be one you paste in, or one the CLI made for you when a person ran `kraken auth login` in a terminal and approved access in the browser. The server picks up that stored key, but it never offers the login itself as a tool.
Tools that move money are flagged dangerous. Unless you start it with --allow-dangerous, the server asks you to approve each such call through MCP elicitation. Kraken calls the CLI experimental and the MCP part alpha.
| Runtime | Rust 1.97+ |
|---|---|
| Runs on | macOS, Linux |
| Kraken | FreeOnly for account and live trading tools. Market data and paper trading need no account |
Kraken's installer script or a release binary puts kraken, kraken-mcp and kraken-shell in ~/.cargo/bin with no Rust needed. Building from source needs Rust 1.97 or later. Windows works only through WSL. For account and live spot tools, run `kraken auth login` once in your own terminal: it opens Kraken in the browser, you approve within 5 minutes, and it stores a restricted spot key in config.toml (no withdrawals, 90 days at most, --read-only for one that cannot trade). Over SSH, forward ports 27461 to 27463 and add --no-browser. Or create an API key pair on Kraken and pass it as KRAKEN_API_KEY and KRAKEN_API_SECRET. Futures tools always need their own futures key pair.
Streaming groups (websocket, futures-ws) are not exposed over MCP, nor are recording, replay and other long-running CLI features. Runs over stdio only, with no hosted endpoint. The setup tools kraken_auth_set and kraken_auth_reset are kept out of MCP. xStocks are not offered in the USA and product availability varies by country. Kraken calls the software experimental and the MCP part alpha. Its skill guide warns that clients cope best with 50-100 tools, so -s all may be too many for some clients.
Suits someone with a Kraken account who wants an assistant to read prices, check balances or test paper strategies on their own Mac or Linux box, using the exchange's own code rather than a third-party wrapper. Leaving the groups at market and paper needs no key and cannot touch funds. Adding trade, funding or earn hands the assistant real money, which only makes sense with a tightly scoped key and a client that shows approval prompts. If you trade elsewhere, want a hosted server, or run Windows without WSL, look at other options.
30 only read, 23 change things, 3 can delete or overwrite.
kraken_tickerkraken_orderbookkraken_ohlckraken_tradeskraken_pairskraken_assetskraken_statuskraken_server_timekraken_tape_listkraken_balancekraken_trade_balancekraken_open_orderskraken_closed_orderskraken_trades_historykraken_ledgerskraken_export_delete deleteskraken_order_buy changeskraken_order_sell changeskraken_order_amend changeskraken_order_cancel changeskraken_order_cancel_all changeskraken_withdraw changeskraken_deposit_methodskraken_deposit_addresseskraken_wallet_transfer changeskraken_earn_strategieskraken_earn_allocate changeskraken_earn_deallocate changeskraken_subaccount_transfer changeskraken_futures_tickerskraken_futures_positionskraken_futures_order_buy changeskraken_futures_order_sell changeskraken_futures_cancel_all changeskraken_futures_set_leverage changeskraken_paper_init changeskraken_paper_buy changeskraken_paper_sell changeskraken_paper_statuskraken_paper_reset deleteskraken_futures_paper_buy changeskraken_futures_paper_positionskraken_explain_pnlkraken_workspace_create changeskraken_workspace_reportkraken_workspace_promote changeskraken_workspace_reset deleteskraken_session_note changeskraken_session_showkraken_lab_new changeskraken_lab_scorekraken_lab_comparekraken_lab_nextkraken_feedback changeskraken_auth_showkraken_auth_test