加密货币技术分析指标服务器
提供多种加密货币技术分析指标和策略的MCP服务器,助力AI交易。
快速入门
前置条件
- 安装 Node.js (v18.x 或更高版本)
- 安装 npm (v8.x 或更高版本)
步骤
-
克隆仓库: git clone https://github.com/kukapay/crypto-indicators-mcp.git cd crypto-indicators-mcp
-
安装依赖: npm install
-
配置MCP客户端(如Claude Desktop),在配置文件中添加以下内容: { "mcpServers": { "crypto-indicators-mcp": { "command": "node", "args": ["path/to/crypto-indicators-mcp/index.js"], "env": { "EXCHANGE_NAME": "binance" } } } }
示例 1: 计算BTC/USDT的MACD指标
输入指令: Calculate the MACD for BTC/USDT on a 1-hour timeframe with fast period 12, slow period 26, signal period 9, and fetch 100 data points.
输出结果: {"macd": [...], "signal": [...], "histogram": [...]}
示例 2: 计算ETH/USDT的RSI策略信号
输入指令: Give me the RSI strategy signals for ETH/USDT on a 4-hour timeframe with a period of 14 and 50 data points.
输出结果: [-1, 0, 1, 0, ...]