by krakenfx
Trade crypto, tokenized stocks, forex and futures on Kraken from your terminal or your AI agent. Built-in MCP server for Claude, Codex and Cursor, JSON output, and paper trading on live prices.
# Add to your Claude Code skills
git clone https://github.com/krakenfx/kraken-cliGuides for using ai agents skills like kraken-cli.
See how kraken-cli compares with popular alternatives.
kraken-cli is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by krakenfx. Trade crypto, tokenized stocks, forex and futures on Kraken from your terminal or your AI agent. Built-in MCP server for Claude, Codex and Cursor, JSON output, and paper trading on live prices. It has 807 GitHub stars.
kraken-cli's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/krakenfx/kraken-cli" and add it to your Claude Code skills directory (see the Installation section above).
kraken-cli is primarily written in Rust. It is open-source under krakenfx on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh kraken-cli against similar tools.
No comments yet. Be the first to share your thoughts!
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Trade on Kraken from your terminal, or let your AI agent trade for you. One install covers crypto, tokenized U.S. stocks and ETFs (for non-U.S. customers), forex, and futures. Every command can answer in JSON. A built-in MCP server connects the CLI to Claude, Cursor, Codex and other agents, and paper trading runs on live prices with no account.
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/krakenfx/kraken-cli/releases/latest/download/kraken-cli-installer.sh | sh
source "$HOME/.cargo/env" # puts kraken on your PATH in this terminal
kraken ticker BTCUSD # live price, no account needed
[!TIP] New: sign in with OAuth. You no longer have to fumble around for API keys.
kraken auth loginopens Kraken in your browser, you approve, and the CLI saves a restricted Spot API key for you. The key can't withdraw funds, and it expires on its own. See how it works.
With kraken-cli you can:
kraken-mcp, which serves up to 152 MCP tools. On clients that support MCP
elicitation, calls that move money ask you first; the kraken CLI itself
places orders without a prompt. MCP server-o json, and a failure comes back as JSON
with a stable error field and a non-zero exit code.
For AI agents| You are | Start here |
|---|---|
| A person at a terminal | Install, then follow the Quick start from sign-in to your first order. |
| An AI agent, or building one | Read For AI agents and AGENTS.md. Ask your human to open a new terminal and run kraken auth login there, then call kraken <command> -o json 2>/dev/null. Orders trade real money with no confirmation prompt, so follow the rules for trading real money. |
| Just looking around | Market data and paper trading need no account. Try steps 1 and 2 of the Quick start. |
Paste one of these prompts into Claude Code, Codex, Cursor, or another AI coding agent. No agent yet? Install Claude Code first.
Install kraken-cli (https://github.com/krakenfx/kraken-cli) and tell me how to sign in with OAuth.
Install kraken-cli (https://github.com/krakenfx/kraken-cli) and build me a morning market brief.
With kraken-cli, watch ETH, SOL, and BTC for 30 seconds. What are the pros and cons of buying each right now?
With kraken-cli, 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 with kraken-cli and show me your P&L.
With kraken-cli futures paper trading, open a 10x leveraged long on BTC with $5,000 collateral. Set a trailing stop at 3%.
If kraken-cli is useful to you, star the repo so other traders and agent builders can find it. To hear about new releases, choose Watch > Custom > Releases on the repo page.
[!CAUTION] Experimental software. It interacts with the live Kraken exchange and can execute real financial transactions. Read DISCLAIMER.md before using it with real funds or AI agents.
One install, no runtime dependencies. It puts three binaries on your PATH:
kraken, kraken-mcp (the MCP server) and kraken-shell (an interactive
shell).
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/krakenfx/kraken-cli/releases/latest/download/kraken-cli-installer.sh | sh
The installer detects your OS and architecture, downloads the right build, and installs it. macOS (Apple Silicon and Intel) and Linux (x86_64 and ARM64) are supported. On Windows, use WSL. AI agents: ask your human before you run the installer on their machine.
Open a new terminal (or run source "$HOME/.cargo/env"), then check that it
works:
kraken status && kraken ticker BTCUSD
[!NOTE]
command not found: krakenright after install? The installer puts the binaries in~/.cargo/bin(or$CARGO_HOME/binif you set it) and adds that folder to your PATH for new terminals only.
- AI agent in the middle of a task: call
~/.cargo/bin/kraken(or$CARGO_HOME/bin/kraken) by its full path for the rest of the session.- Terminal: open a new window, or run
source "$HOME/.cargo/env"($CARGO_HOME/envif you set it,env.fishfor fish).- Claude Code, Codex, or another agent you start in a terminal: quit it, open a new terminal window, and start it there. The old window keeps the old PATH.
- Cursor, VS Code, Claude Desktop, or another desktop app: quit it and open it again. If it still can't find
kraken, use the full path thatcommand -v krakenprints in a new terminal.
Pre-built binaries are also on the GitHub Releases page.
Releases are signed with minisign. Every
release archive, its .sha256 file, the installer script and SHA256SUMS.txt
on the Releases page has a
matching .minisig signature file.
Download the archive and its .minisig into the same folder, then check it
against the public key:
minisign -Vm kraken-cli-aarch64-apple-darwin.tar.gz -P RWQJue8SwPzZBZO8Up5ppAUqm0wM/gK5yjnam+Dbf7KbY0utkiO+7XCd
Public key:
RWQJue8SwPzZBZO8Up5ppAUqm0wM/gK5yjnam+Dbf7KbY0utkiO+7XCd
Install minisign with brew install minisign (macOS) or apt install minisign
(Linux). To check the installer before you run it:
curl -LO https://github.com/krakenfx/kraken-cli/releases/latest/download/kraken-cli-installer.sh
curl -LO https://github.com/krakenfx/kraken-cli/releases/latest/download/kraken-cli-installer.sh.minisig
minisign -Vm kraken-cli-installer.sh -P RWQJue8SwPzZBZO8Up5ppAUqm0wM/gK5yjnam+Dbf7KbY0utkiO+7XCd && sh kraken-cli-installer.sh
Requires Rust 1.97 or later. If cargo says a newer rustc
is required, run rustup update. A clone pins its toolchain in
rust-toolchain.toml, so rustup may download that version on the first build.
A source build is DuckDB-free by default, because the bundled DuckDB C++ build
dominates compile time and only DuckDB tapes need it: writing one
(kraken record --to duckdb) or reading one, such as a 0.4.x tape. Pass
--features record-duckdb to any command below to include it; the released
binaries already carry it.
Both commands install all three binaries: kraken, kraken-mcp and
kraken-shell.