Skip to main content
Glama
Kraken Pro MCP

Kraken Pro MCP

by zacacollier

Kraken Pro MCP

A Model Context Protocol (MCP) server that provides real-time cryptocurrency market data from the Kraken Pro exchange.

Overview

This MCP server exposes Kraken's public API as MCP tools, allowing AI assistants to fetch real-time cryptocurrency prices, trading pairs, and market data.

Related MCP server: Crypto MCP Server

Available Tools

Tool

Description

get_system_status

Check if Kraken API is online and operational

get_ticker

Get real-time ticker data for a trading pair (e.g., XBTUSD, ETHUSD)

get_asset_info

List all available assets on Kraken with their details

Installation

pnpm install

Development

Run in development mode with hot reload:

pnpm run dev

Build

Compile TypeScript to JavaScript:

pnpm run build

Usage

Start the MCP server:

pnpm start

The server runs on stdio and communicates via the Model Context Protocol.

Claude Desktop

To use this server with Claude Desktop, add the following to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{
    "mcpServers": {
        "kraken-pro": {
            "command": "node",
            "args": [
                "<PATH TO REPO>/kraken-pro-mcp/dist/index.js"
            ]
        }
    }
}

Replace <PATH TO REPO> with the absolute path to this repository on your system.

Development Mode

For development and testing new changes with hot reload, use the development mode instead:

{
    "mcpServers": {
        "kraken-pro": {
            "command": "pnpm",
            "args": ["run", "dev"],
            "cwd": "<PATH TO REPO>/kraken-pro-mcp"
        }
    }
}

This will automatically restart the server when you make changes to the source code.

Testing

# Run all tests in watch mode
pnpm test

# Run unit tests only (with mocks)
pnpm run test:unit

# Run acceptance tests (hits real Kraken API - rate limited)
pnpm run test:acceptance

Linting & Formatting

# Check linting
pnpm run lint

# Format code
pnpm run format

# Run all checks (lint + format + organize imports)
pnpm run check

Project Structure

src/
  index.ts           # MCP server entry point with tool registrations
  kraken-client.ts   # Kraken API client using native fetch
  types.ts           # Shared TypeScript interfaces
test/
  unit/              # Fast unit tests with mocked fetch
  acceptance/        # Slower integration tests hitting real API

Technologies

  • Model Context Protocol - Protocol for AI tool integration

  • Zod - Schema validation

  • TypeScript 5.9 with strict mode

  • Vitest for testing

  • Biome for linting and formatting

License

ISC

Available Tools

8 tools
get_asset_infoGet Asset InfoB

List all available assets on Kraken with their details

Inputs: no named parameters.

get_ohlc_dataGet OHLC DataC

Get OHLC/candlestick data for a trading pair (price history)

Inputs: pair (required), since, interval.

get_order_bookGet Order BookB

Get order book (depth) for a trading pair showing bids and asks

Inputs: pair (required), count.

get_recent_spreadsGet Recent SpreadsC

Get recent bid-ask spreads for a trading pair

Inputs: pair (required), since.

get_recent_tradesGet Recent TradesC

Get recent trades for a trading pair

Inputs: pair (required), since.

get_system_statusGet System StatusA

Check if Kraken API is online and operational

Inputs: no named parameters.

get_tickerGet TickerB

Get real-time ticker data for a trading pair (default: BTC/USD)

Inputs: pair (required).

get_tradable_pairsGet Tradable PairsB

Get all tradable asset pairs on Kraken with fees, leverage, and limits

Inputs: pair.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 8 tools

    Disambiguation5/5

    Each tool targets a distinct data type or endpoint (assets, pairs, OHLC, order book, trades, spreads, ticker, system status) with no overlapping purposes. An agent can easily select the correct tool for a given market data need.

    Naming Consistency5/5

    All tools follow a consistent get_<noun> pattern in snake_case (e.g., get_asset_info, get_order_book, get_recent_trades). The naming is predictable and uniform throughout.

    Tool Count5/5

    Eight tools is well-scoped for a market data API, covering the essential public endpoints without redundancy. Each tool earns its place and the set is not bloated.

    Completeness3/5

    The tool set comprehensively covers market data and system status, but for a server named 'Kraken Pro' it lacks any trading or account operations (e.g., place order, cancel order, get balances, list open orders). These are notable missing operations that would limit an agent's ability to interact with the platform.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Provides real-time and historical cryptocurrency price data from the OKX exchange, including live WebSocket updates, candlestick charts, and visual price analysis for trading pairs.
      5
      3
      ISC
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Provides real-time and historical cryptocurrency market data using ccxt, with tools for ticker, OHLCV, and streaming updates.
      -
    • A
      license
      A
      quality
      D
      maintenance
      Provides live market and account data from Hyperliquid, including perp and spot prices, funding rates, open interest, order books, and wallet positions, without requiring an API key.
      7
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Provides live cryptocurrency market data including spot prices, OHLCV candles, order books, funding rates, and technical indicators via public exchange APIs.
      8
      MIT