Skip to main content
Glama
mcp-orbit-kraken

mcp-orbit-kraken

by okahari

mcp-orbit-kraken

Kraken exchange plugin for mcp-orbit. Provides 32 MCP tools for trading, account management, and grid trading automation.

Usage

As a plugin (in an existing mcp-orbit server)

import { registerPlugin, startServer } from "mcp-orbit";
import { krakenPlugin } from "mcp-orbit-kraken";

await registerPlugin(krakenPlugin);
startServer({ mode: "stdio", plugins: [krakenPlugin] });

Manual CLI (lokaler Test)

# stdio mode (manual run)
npx mcp-orbit-kraken --stdio

# HTTP mode
npx mcp-orbit-kraken --http --port 3333

Dieser Schritt ist nur für lokale Tests nötig. Claude Desktop (oder andere MCP-Clients) starten den Server selbstständig über ihre Command/Args-Konfiguration.

Claude Desktop configuration

{
  "mcpServers": {
    "kraken": {
      "command": "node",
      "args": ["/path/to/mcp-orbit-kraken/dist/index.js", "--stdio"],
      "env": {
        "KRAKEN_API_KEY": "your-api-key",
        "KRAKEN_PRIVATE_KEY": "your-private-key"
      }
    }
  }
}

Related MCP server: cdcx

Environment Variables

Variable

Required

Description

KRAKEN_API_KEY

Yes (for private endpoints)

Kraken API key

KRAKEN_PRIVATE_KEY

Yes (for private endpoints)

Kraken API private key

KRAKEN_DB_PATH

No

SQLite database path for grid trading (default: data/grids.db)

GRID_CHECK_WEBHOOK_URL

No

Webhook URL for grid monitoring (default: http://localhost:3001)

GRID_WEBHOOK_SECRET

No

Secret for grid check webhook authentication

Tools

Public Market Data (no API key required)

Tool

Description

kraken_get_server_time

Get Kraken server time

kraken_get_system_status

Get system status

kraken_get_asset_info

Get asset information

kraken_get_tradable_asset_pairs

Get tradable asset pairs

kraken_get_ticker_info

Get ticker information

kraken_get_ohlc_data

Get OHLC candlestick data

kraken_get_order_book

Get order book depth

kraken_get_recent_trades

Get recent trades

kraken_get_recent_spreads

Get recent bid/ask spreads

Account Balance

Tool

Description

kraken_get_account_balance

Get account balances

kraken_get_extended_balance

Get extended balance info

Trading

Tool

Description

kraken_add_order

Place a new order

kraken_edit_order

Edit an existing order

kraken_cancel_order

Cancel a specific order

kraken_cancel_all_orders

Cancel all open orders

kraken_cancel_all_orders_after

Dead man's switch — cancel all orders after timeout

kraken_query_orders

Query order status

Deposits

Tool

Description

kraken_get_deposit_methods

Get available deposit methods

kraken_get_deposit_addresses

Get deposit addresses

kraken_get_deposit_status

Get deposit status

Withdrawals

Tool

Description

kraken_get_withdrawal_methods

Get withdrawal methods

kraken_get_withdrawal_addresses

Get withdrawal addresses

kraken_get_withdrawal_info

Get withdrawal fee and limit info

kraken_withdraw_funds

Execute a withdrawal

kraken_get_withdrawal_status

Get withdrawal status

kraken_cancel_withdrawal

Cancel a pending withdrawal

Misc

Tool

Description

kraken_get_trades_history

Get trade history

kraken_get_websockets_token

Get WebSocket authentication token

kraken_wallet_transfer

Transfer between Kraken wallets

Grid Trading

Tool

Description

grid_plan

Calculate a grid trading plan

grid_state

CRUD store for grid configurations (save/get/list/delete)

grid_log

Log and query grid trading events

Development

npm install
npm run build
npm run start:stdio

License

MIT

Available Tools

32 tools
grid_logA

Append-only audit log for grid events. append: Write a new log entry (event + optional data). read: Retrieve all log entries for a grid in chronological order.

Inputs: action (required), gridId (required), data, event.

grid_planA

Pure price-level calculation for a grid. No side-effects, no DB writes. Returns computed levels with price, side (buy/sell/null), and volume for each level.

Inputs: levels (required), gridType (required), priceMax (required), priceMin (required), +4 more. Returns: levels

grid_stateB

CRUD store for grid configurations. Actions: save (upsert), get (load one), list (all summaries), delete.

Inputs: action (required), data, gridId.

kraken_add_orderC

Execute a buy or sell order for cryptocurrency on the Kraken exchange

Inputs: pair (required), type (required), volume (required), ordertype (required), +7 more. Returns: txid, descr

kraken_cancel_all_ordersA

Execute a command to cancel all open orders in the trading account

Inputs: no named parameters. Returns: count

kraken_cancel_all_orders_afterA

Schedule a time window after which all open orders will be cancelled automatically

Inputs: timeout (required). Returns: currentTime, triggerTime

kraken_cancel_orderB

Cancel an active order on Kraken using its unique identifier

Inputs: txid, cl_ord_id. Returns: count, pending

kraken_cancel_withdrawalB

Cancel a pending withdrawal using its reference ID

Inputs: refid (required), asset. Returns: result

kraken_edit_orderB

Modify an existing order by updating price, volume, or other execution parameters

Inputs: txid (required), pair, price, oflags, +4 more. Returns: txid, descr, originaltxid

kraken_get_account_balanceA

Get the current account balance for all assets on Kraken exchange

Inputs: no named parameters. Returns: Map of asset balances keyed by asset name WITH prefix (e.g., XXBT, ZEUR, ZUSD)

kraken_get_asset_infoB

Get detailed information about supported assets, including precision and margin availability

Inputs: asset, aclass. Returns: Assets keyed by internal code (XXBT for BTC, ZEUR for EUR, ZCHF for CHF, XADA f…

kraken_get_deposit_addressesC

Get deposit addresses for an asset using a selected method

Inputs: asset (required), new, method. Returns: result

kraken_get_deposit_methodsB

Retrieve available deposit methods for a specific asset

Inputs: asset (required). Returns: result

kraken_get_deposit_statusA

Check the status of recent deposit transfers for an asset

Inputs: asset (required), method. Returns: result

kraken_get_extended_balanceB

Retrieve extended balance information, including credit and hold details

Inputs: asset. Returns: Extended balance information keyed by asset name WITH prefix (e.g., XXBT, ZEUR,…

kraken_get_ohlc_dataB

Obtain open, high, low, close (OHLC) candlestick data for a specific asset pair

Inputs: pair (required), since, interval. Returns: last, pair

kraken_get_order_bookA

Fetch the current order book depth for an asset pair

Inputs: pair (required), count. Returns: Order book keyed by pair name

kraken_get_recent_spreadsB

List recent bid-ask spreads for an asset pair to analyze market depth

Inputs: pair (required), since. Returns: Recent spreads keyed by pair name

kraken_get_recent_tradesB

Retrieve the most recent public trades for an asset pair

Inputs: pair (required), since. Returns: Recent trades keyed by pair name

kraken_get_server_timeA

Fetch the current time according to the Kraken server

Inputs: no named parameters. Returns: rfc1123, unixtime

kraken_get_system_statusB

Retrieve the current operational status of the Kraken platform

Inputs: no named parameters. Returns: status, timestamp

kraken_get_ticker_infoB

Retrieve ticker information including bid/ask, last trade, and volume data

Inputs: pair (required). Returns: Ticker info keyed by internal pair name (may have X/Z prefix)

kraken_get_tradable_asset_pairsB

List tradable asset pairs. For filtering cached results, use "altname" (e.g., "BTCEUR") or "wsname" (e.g., "BTC/EUR") fields.

Inputs: info, pair. Returns: Pairs keyed by internal name with X/Z prefix (e.g., XXBTZEUR, ADAZCHF). Use "al…

kraken_get_trades_historyB

Retrieve the history of trades and executed orders for analysis or reporting

Inputs: end, ofs, type, start, +1 more. Returns: count, trades

kraken_get_websockets_tokenA

Retrieve a token for accessing the Websockets API to enable real-time data streams

Inputs: no named parameters. Returns: token, expires

kraken_get_withdrawal_addressesA

List configured withdrawal addresses for a given asset and method

Inputs: asset (required), method (required). Returns: result

kraken_get_withdrawal_infoA

Get withdrawal fee and limit information for a requested transfer

Inputs: key (required), asset (required), amount (required). Returns: fee, limit, amount, method

kraken_get_withdrawal_methodsB

Retrieve available withdrawal methods for a specific asset

Inputs: asset (required). Returns: result

kraken_get_withdrawal_statusC

Check the status of recent withdrawals for a specific asset

Inputs: asset (required), method. Returns: result

kraken_query_ordersA

Retrieve detailed information about specific orders, including their execution status

Inputs: txid (required), trades. Returns: Map of order info keyed by transaction ID

kraken_wallet_transferA

Initiate a transfer of funds between Kraken wallets (e.g., spot to futures)

Inputs: to (required), from (required), asset (required), amount (required). Returns: refid

kraken_withdraw_fundsB

Initiate a withdrawal of funds to a preconfigured address

Inputs: key (required), asset (required), amount (required). Returns: refid

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 32 tools

    Disambiguation4/5

    Most tools are distinct by resource and action, but pairs like kraken_get_recent_trades (public market data) and kraken_get_trades_history (account trades) could be confused. Account balance vs extended balance are also similar, though their descriptions clarify the difference.

    Naming Consistency4/5

    The kraken_* tools consistently use verb_noun snake_case, but the grid_state, grid_plan, and grid_log tools deviate with noun-only names. This creates a minor but noticeable inconsistency in the overall naming pattern.

    Tool Count2/5

    With 32 tools, the server is over the comfortable range and becomes unwieldy for agents to select from. While the coverage is comprehensive, the sheer number makes it harder to navigate and increases cognitive load.

    Completeness5/5

    The server covers market data, trading operations, account balances, funding (deposits/withdrawals), system status, and grid strategy utilities. This provides full lifecycle coverage for crypto exchange workflows with no obvious missing operations.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      An MCP server for the pex.bot AI simulated crypto exchange that enables users to manage accounts, check real-time market data, and execute trades. It provides tools for profile management, order execution, and asset tracking within a simulated cryptocurrency trading environment.
      11
      97 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      MCP server for the Crypto.com Exchange API, providing 86 dynamically generated tools for market data, trading, account management, and more with real-time WebSocket streaming and safety enforcement.
      49 npm
      27
      Apache 2.0
    • A
      license
      B
      quality
      D
      maintenance
      An MCP server that exposes the Kraken cryptocurrency exchange Spot REST API over HTTP with bearer token authentication, enabling account management, trading, and market data queries through natural language.
      54
      1
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      MCP server for Hyperliquid perpetual DEX with 48 tools for trading, monitoring, risk management, and security. Enables real-time market data, order management, risk validation, and automated trading strategies.
      -