By krakenfx
Build and deploy AI agents to trade crypto, stocks, forex, and derivatives on Kraken via bash CLI: monitor markets, execute strategies like DCA, grid bots, basis trades, portfolio rebalancing; manage risks, staking, subaccounts with paper trading default and live opt-in safeguards. Integrates with Claude, Cursor, VSCode for stdio tool calls.
Portfolio analysis, P&L tracking, trade history, and export reports.
Understand Kraken API rate limits and adapt agent behavior when limits are hit.
Portfolio rebalancing to maintain target allocations across assets.
Operational risk controls for live agent trading sessions.
Install kraken-cli, create API credentials, and go from paper trading to live in under five minutes.
Requires secrets
Needs API keys or credentials to function
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
This plugin requires configuration values that are prompted when the plugin is enabled. Sensitive values are stored in your system keychain.
api_keyLeave blank to use market data and paper trading only (no account needed).
${user_config.api_key}api_secretLeave blank if you left the API key blank.
${user_config.api_secret}
The first AI-native CLI for trading crypto, stocks, forex, and derivatives.
Full Kraken API access. Built-in MCP server. Live and paper trading. Single binary.
Works with Cursor, Claude, Codex, Copilot, Gemini, Goose, and OpenClaw.
Try these with your AI agent:
"Install kraken-cli (https://github.com/krakenfx/kraken-cli) and build me a morning market brief."
"Watch ETH, SOL, and BTC for 30 seconds. What are the pros and cons of buying each right now?"
"Look up AAPLx, TSLAx, and SPYx on xStocks. Summarize how each is performing today."
"You are a Wall Street veteran with 20 years of experience. You have 1 minute. Paper trade BTC and show me your P&L."
"Open a 10x leveraged long on BTC futures paper with $5,000 collateral. Set a trailing stop at 3%."
[!CAUTION] Experimental software. Interacts with the live Kraken exchange and can execute real financial transactions. Read DISCLAIMER.md before using with real funds or AI agents.
Single binary, no runtime dependencies.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/krakenfx/kraken-cli/releases/latest/download/kraken-cli-installer.sh | sh
Detects your OS and architecture, downloads the right binary, and installs it. macOS (Apple Silicon and Intel) and Linux (x86_64 and ARM64) are supported. Windows: use WSL.
Verify it works:
kraken status && kraken ticker BTCUSD
Pre-built binaries are also available on the GitHub Releases page.
Requires Rust.
cargo install --git https://github.com/krakenfx/kraken-cli
Or clone and build:
git clone https://github.com/krakenfx/kraken-cli.git
cd kraken-cli
cargo install --path .
One binary covers six asset classes. All trading commands work across asset classes using the same interface; pass --asset-class where needed.
| Asset class | Instruments | Margin | Flag | Example |
|---|---|---|---|---|
| Crypto spot | 1,400+ pairs (BTC, ETH, SOL, and hundreds more) | Up to 10x on major pairs | (default) | kraken order buy BTCUSD 0.001 --type limit --price 50000 |
| Tokenized U.S. stocks & ETFs (xStocks) | 79 assets: AAPL, NVDA, TSLA, GOOGL, AMZN, MSFT, SPY, QQQ, and more | Up to 3x on top 10 | --asset-class tokenized_asset | kraken order buy AAPLx/USD 0.1 --type limit --price 200 --asset-class tokenized_asset |
| Forex | 11 fiat pairs: EUR/USD, GBP/USD, USD/JPY, AUD/USD, and more | — | --asset-class forex | kraken ticker EURUSD --asset-class forex |
| Perpetual futures | 317 contracts: crypto, 5 forex perps, 11 equity/index perps (AAPL, NVDA, TSLA, SPY, QQQ, S&P 500) | Up to 50x | (futures engine) | kraken futures order buy PF_XBTUSD 1 --type limit --price 50000 |
| Inverse & fixed-date futures | 20 contracts: BTC, ETH, SOL, LTC, XRP, ADA, DOGE, LINK | Varies | (futures engine) | kraken futures order buy FI_XBTUSD_260327 1 --type limit --price 50000 |
| Earn / staking | Flexible and bonded strategies across multiple assets | — | — | kraken earn strategies --asset ETH |
xStocks are not available in the USA. Availability for all products varies by jurisdiction.
If you're an AI agent or building one, start here:
| Resource | Description |
|---|---|
| CONTEXT.md | Runtime context for tool-using agents |
| AGENTS.md | Full integration guide: auth, invocation, errors, rate limits |
| agents/tool-catalog.json | 151 commands with parameter schemas, types, and safety flags |
| agents/error-catalog.json | 9 error categories with retry guidance |
| skills/ | 50 goal-oriented SKILL.md workflow packages |
| CLAUDE.md | Claude-specific integration guidance |
Core invocation pattern:
kraken <command> [args...] -o json 2>/dev/null
-v). Never parse stderr for data.npx claudepluginhub krakenfx/kraken-cliAgent-first CLI for the Crypto.com Exchange API. Market data by default; live trading opt-in via API keys. Available --services: market (default), trade, account, advanced, margin, staking, funding, fiat. Update args in MCP settings to expand capabilities.
Paper-trade across Kalshi, Polymarket, Alpaca, and Coinbase from a Claude Code session. Onboarding collects API keys; a tiny Node helper handles scan/order/ledger for all rails. v1 is paper-only.
Agent-first CLI for trading perpetual futures on Phoenix DEX (Solana). Paper trading and read-only market data work out of the box; live trading opt-in via wallet password + dangerous-mode flag.
Multi-agent cryptocurrency intelligence system with 7 specialized AI agents, 65 MCP tools, cognitive learning, and self-evolving capabilities for comprehensive market analysis and paper trading.
Multi-DEX perpetual futures CLI + MCP server for AI agents — Pacifica (Solana), Hyperliquid (HyperEVM), Lighter (Ethereum), Aster (BNB Chain). Trade, bridge, arb, and manage positions via natural language.
Integration with Bankr API for crypto trading, market analysis, and Polymarket predictions