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 分