Skip to main content
Glama
luziadev

Luzia MCP Server

by luziadev

@luziadev/mcp-server

npm version License: MIT

Model Context Protocol (MCP) server for cryptocurrency pricing data. Allows AI assistants like Claude to access real-time ticker prices, exchange information, and market data from the Luzia API.

Features

  • Real-time ticker prices from multiple exchanges (Binance, Coinbase, Kraken, OKX, Bybit)

  • Historical OHLCV candlestick data for technical analysis

  • Market information and trading pairs

  • Exchange status and availability

Requirements

Install Bun:

# macOS/Linux
curl -fsSL https://bun.sh/install | bash

# Windows
powershell -c "irm bun.sh/install.ps1 | iex"

Installation

# Run directly (no install needed)
bunx @luziadev/mcp-server --stdio

# Or install globally
bun add -g @luziadev/mcp-server
luzia-mcp --stdio

Updating

# If installed globally
bun add -g @luziadev/mcp-server@latest

# If using bunx, it always fetches the latest version

Claude Desktop Setup

  1. Find your Bun path:

    which bun
    # Usually: /Users/YOUR_USERNAME/.bun/bin/bun
  2. Open Claude Desktop config:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • Windows: %APPDATA%\Claude\claude_desktop_config.json

  3. Add the Luzia server (replace YOUR_USERNAME and your API key):

    {
      "mcpServers": {
        "luzia": {
          "command": "/Users/YOUR_USERNAME/.bun/bin/bun",
          "args": ["x", "@luziadev/mcp-server", "--stdio"],
          "env": {
            "PATH": "/Users/YOUR_USERNAME/.bun/bin:/usr/local/bin:/usr/bin:/bin",
            "LUZIA_API_KEY": "lz_your_api_key"
          }
        }
      }
    }
  4. Restart Claude Desktop (Cmd+Q on macOS, then reopen)

  5. Start asking questions:

    • "What's the current price of Bitcoin on Binance?"

    • "Compare ETH prices across all exchanges"

    • "Show me the top trading pairs on Coinbase"

Claude Code Setup

Add to .claude/settings.json (replace YOUR_USERNAME):

{
  "mcpServers": {
    "luzia": {
      "command": "/Users/YOUR_USERNAME/.bun/bin/bun",
      "args": ["x", "@luziadev/mcp-server", "--stdio"],
      "env": {
        "PATH": "/Users/YOUR_USERNAME/.bun/bin:/usr/local/bin:/usr/bin:/bin",
        "LUZIA_API_KEY": "lz_your_api_key"
      }
    }
  }
}

Available Tools

Tool

Description

get_ticker

Get current price for a specific trading pair

get_tickers

Get prices for multiple pairs or all pairs on an exchange

get_history

Get historical OHLCV candlestick data for a trading pair

get_exchanges

List supported exchanges and their status

get_markets

List available trading pairs on an exchange

Available Prompts

Prompt

Description

analyze_price_movement

Analyze price movements and trends for a trading pair

analyze_ohlcv

Analyze OHLCV candlestick data with technical analysis

compare_exchanges

Compare prices across exchanges for arbitrage opportunities

Rate Limits

Inherits from your Luzia subscription tier:

  • Free: 100 requests/minute, 5,000/day

  • Pro: 1,000 requests/minute, 20,000/day

Troubleshooting

Claude Desktop can't find the server

  1. Verify claude_desktop_config.json is valid JSON

  2. Ensure the bun path is correct (run which bun)

  3. Restart Claude Desktop completely (Cmd+Q on macOS)

"Unauthorized" errors

  1. Verify your API key is correct

  2. Check that the API key has not expired

License

MIT - see LICENSE for details.

-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/luziadev/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server