Luzia

io.github.luziadev由 GitHub 帳號 luziadev 發布v1.3.0更新於 Oct 24, 2026

Real-time crypto prices from Binance, Coinbase, Kraken, OKX, and Bybit

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

Luzia 讓 AI 助理透過 Luzia API 取得多家交易所的即時加密貨幣價格、OHLCV 歷史資料、交易所狀態與代幣資訊。

可以做什麼
查詢單一或多個交易對在各交易所的目前價格,並取得歷史 OHLCV K 線資料供技術分析使用。列出支援的交易所與其狀態,以及交易對(含 DEX 池中介資料)。搜尋標準資產與鏈上代幣,或依複合 id 查詢單一代幣。列出市場引用的 ISO 4217 法幣。執行內建分析提示,涵蓋價格走勢、OHLCV 趨勢與跨交易所比較。
適用情境
適合讓助理在對話中回答加密貨幣行情問題、比較不同交易所價格,或進行 K 線與套利類分析。
執行需求
需要以 lz_ 開頭的 Luzia API 金鑰。遠端方式連線託管端點並使用 Authorization Bearer 標頭;本機方式透過 stdio 執行 npm 套件,需設定 LUZIA_API_KEY 並安裝 Node.js 20+。速率限制依 Luzia 訂閱方案而定。
安裝前請注意
API 金鑰屬於憑證,請勿寫入共用設定或日誌。請求會送往第三方 Luzia API,用量依訂閱方案計費。此伺服器僅提供行情資料與分析,不執行交易。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Luzia,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.luziadev%2Fluzia/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "luzia": {
      "type": "http",
      "url": "https://mcp.luzia.dev/mcp"
    }
  }
}

README

@luziadev/mcp-server

[npm version] [License: MIT]

Model Context Protocol (MCP) server for cryptocurrency pricing data. Gives AI assistants like Claude real-time access to ticker prices, exchange information, and OHLCV history 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

Remote connection (recommended)

The fastest way to use Luzia with your AI assistant is to connect to our hosted MCP server at https://mcp.luzia.dev/mcp. No install required. Just paste the URL and your API key.

Claude.ai web / Anthropic console

Settings → Integrations → Add custom MCP:

  • URL: https://mcp.luzia.dev/mcp
  • Authentication: Bearer token — paste your API key (lz_...)

Claude Desktop (via mcp-remote)

Claude Desktop's native remote MCP support is still rolling out, so the easiest path today is the mcp-remote shim, which bridges a remote HTTP MCP to Claude Desktop's stdio interface.

Edit your config:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
json
{  "mcpServers": {    "luzia": {      "command": "npx",      "args": [        "-y",        "mcp-remote",        "https://mcp.luzia.dev/mcp",        "--header",        "Authorization:Bearer lz_your_api_key"      ]    }  }}

Restart Claude Desktop (Cmd+Q on macOS) and start asking questions.

VS Code, Cursor, Cline, Continue.dev

Paste the URL and Authorization header into the MCP settings for your tool:

  • URL: https://mcp.luzia.dev/mcp
  • Header: Authorization: Bearer lz_your_api_key

MCP Inspector

bash
npx @modelcontextprotocol/inspector

Then point the inspector at https://mcp.luzia.dev/mcp and add the Authorization: Bearer lz_... header.

Local install (advanced)

Prefer running the server locally? @luziadev/mcp-server still ships on npm and runs over stdio.

bash
# Run directly with npx (no install needed)LUZIA_API_KEY=lz_your_api_key npx -y @luziadev/mcp-server --stdio

Claude Desktop config (local stdio)

json
{  "mcpServers": {    "luzia": {      "command": "npx",      "args": ["-y", "@luziadev/mcp-server", "--stdio"],      "env": {        "LUZIA_API_KEY": "lz_your_api_key"      }    }  }}

Claude Code config (local stdio)

Add to .claude/settings.json:

json
{  "mcpServers": {    "luzia": {      "command": "npx",      "args": ["-y", "@luziadev/mcp-server", "--stdio"],      "env": {        "LUZIA_API_KEY": "lz_your_api_key"      }    }  }}

Available Tools

ToolDescription
get_tickerGet current price for a specific trading pair
get_tickersGet prices for multiple pairs or all pairs on an exchange
get_historyGet historical OHLCV candlestick data for a trading pair
get_exchangesList supported exchanges (CEX and DEX) and their status
get_marketsList trading pairs on an exchange, including DEX pool metadata
get_tokensList canonical assets and on-chain tokens, with search and chain filters
get_tokenLook up a single token by composite id (crypto:SYMBOL or {chain}:SYMBOL)
get_fiat_currenciesList ISO 4217 fiat currencies referenced by markets

Available Prompts

Prompts are pre-built analysis templates that fetch data and generate structured insights. They are available in clients that support MCP prompts (e.g., Claude Desktop via the / menu).

Note: Claude Code does not support MCP prompts directly — use natural language instead (e.g., "Analyze BTC/USDT price movement on Binance") and it will call the underlying tools automatically.

PromptDescription
analyze_price_movementAnalyze price movements and trends for a trading pair
analyze_ohlcvAnalyze OHLCV candlestick data with technical analysis
compare_exchangesCompare prices across exchanges for arbitrage opportunities

Prompt Examples

analyze_price_movement

Fetches current ticker data and analyzes bid-ask spread, 24h stats, and volume.

Arguments:

  • exchange (required): e.g., "binance", "coinbase"
  • symbol (required): e.g., "BTC/USDT", "ETH/USD"

Claude Desktop: Type / → select analyze_price_movement → fill in exchange: binance, symbol: BTC/USDT

Natural language (any client): "Analyze the current BTC/USDT price movement on Binance"

analyze_ohlcv

Fetches historical candlestick data and requests technical analysis including trends, support/resistance, volume patterns, and candlestick patterns.

Arguments:

  • exchange (required): e.g., "binance"
  • symbol (required): e.g., "BTC/USDT"
  • interval (optional): "1m", "5m", "15m", "1h", "1d" (default: "1h")
  • period (optional): e.g., "24h", "7d", "30d" (default: "24h")

Claude Desktop: Type / → select analyze_ohlcv → fill in exchange: binance, symbol: BTC/USDT, interval: 1h

Natural language (any client): "Analyze BTC/USDT OHLCV candles on Binance with 1h interval for the last 7 days"

compare_exchanges

Fetches ticker data from multiple exchanges and compares prices, spreads, and liquidity for arbitrage analysis.

Arguments:

  • symbol (required): e.g., "BTC/USDT"
  • exchanges (optional): comma-separated list, e.g., "binance,coinbase,kraken" (default: "binance,coinbase,kraken")

Claude Desktop: Type / → select compare_exchanges → fill in symbol: BTC/USDT

Natural language (any client): "Compare BTC/USDT prices across all exchanges"

Rate Limits

Inherits from your Luzia subscription tier:

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

Troubleshooting

"Unauthorized" errors

  • Remote: verify your Authorization: Bearer lz_... header is set and the key starts with lz_.
  • Stdio: verify LUZIA_API_KEY is set in your MCP client config and that the key has not been revoked.

Remote session errors

  • If your client reports "Unknown session id", the server was restarted or your session expired (30min idle). Reconnect and the client will re-initialize automatically.

Claude Desktop can't find the server (stdio)

  • Verify claude_desktop_config.json is valid JSON.
  • Ensure Node.js 20+ is installed (node --version).
  • Restart Claude Desktop completely (Cmd+Q on macOS).

License

MIT - see LICENSE for details.

來源:README.md,提交 208d1e7

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.3.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分