ccxt-mcp
by lazy-dinosaur·★ 85·综合分 47
CCXT MCP 服务器通过 MCP 协议使 AI 模型能够与 100+ 加密货币交易所交互。
概述
CCXT MCP 服务器利用模型上下文协议(MCP)在 AI 模型和加密货币交易平台之间提供标准化接口。它利用 CCXT 库访问 100 多个交易所,提供全面的功能,包括市场数据检索、订单执行、头寸管理和风险控制。服务器支持基本交易操作和高级分析,如性能分析和模式识别。
试试问 AI
装完之后,这里有 6 个你可以让 AI 做的事:
什么时候选它
如果您需要 AI 助手直接与加密货币交易所交互以进行自动交易或多平台投资组合分析,请选择此 MCP 服务器。
什么时候不要选它
如果您需要 CCXT 库未涵盖的交易所功能,或者有严格的防止外部 API 访问的安全要求,请不要使用此服务器。
此 server 暴露的工具
从 README 抽取出 12 个工具list_exchangesRetrieve a list of available cryptocurrency exchanges.
get_market_infoGet market information for a specific exchange.
get_priceGet the current price of a cryptocurrency symbol.
get_order_bookRetrieve order book information for a specific trading pair.
create_orderCreate a market or limit order for trading.
cancel_orderCancel an existing order and check its status.
get_balanceView account balance for a specific exchange.
get_trading_historyCheck trading history for an account.
analyze_performanceAnalyze trading performance with various metrics.
set_leverageSet leverage for futures market trading.
set_stop_lossSet a stop loss order for risk management.
set_take_profitSet a take profit order to lock in gains.
可对比工具
安装
安装
全局安装
npm install -g @lazydino/ccxt-mcp使用 npx 运行
npx @lazydino/ccxt-mcpClaude Desktop 配置
{
"mcpServers": {
"ccxt-mcp": {
"command": "npx",
"args": ["-y", "@lazydino/ccxt-mcp"],
"mcpBearerToken": "YOUR_MCP_TOKEN",
"accounts": [
{
"name": "bybit_main",
"exchangeId": "bybit",
"apiKey": "YOUR_API_KEY",
"secret": "YOUR_SECRET_KEY",
"defaultType": "spot"
}
]
}
}
}FAQ
- 支持哪些交易所?
- 该服务器通过 CCXT 库支持 100 多个加密货币交易所,包括币安、Bybit、Coinbase、Kraken 等。
- API 密钥信息是否安全?
- API 密钥可以存储在 Claude Desktop 配置文件中或单独的配置文件中。建议使用单独的文件以提高安全性和便于管理。
- 我可以用除 Claude 之外的其他 AI 模型使用此服务器吗?
- 是的,该服务器实现了 MCP 协议,设计为支持各种支持 MCP 的 AI 模型,尽管文档主要关注 Claude Desktop 集成。
ccxt-mcp 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。