Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Provides real-time cryptocurrency data, technical analysis, and market information from Binance and CoinGecko APIs, enabling price queries, K-line analysis, and alpha token tracking.

README.md

🪙 加密货币 MCP 服务器

为 Kiro/Claude 提供币安和 CoinGecko API 的 MCP (Model Context Protocol) 服务器

![License: MIT](https://opensource.org/licenses/MIT) ![Python 3.8+](https://www.python.org/downloads/)

---

✨ 特性

  • 统一服务器架构 - 同时支持 REST API 和 MCP 协议
  • 📊 币安 API - 现货/合约价格、资金费率、技术分析、Alpha 代币
  • 🪙 CoinGecko API - 价格查询、热门币种、币种搜索
  • 🔒 HTTPS 支持 - Let's Encrypt 自动证书
  • 🌐 免费域名 - DuckDNS 集成
  • 🔧 易于部署 - 一键部署脚本

---

� 包含的服务

1. Binance MCP

币安交易所全功能数据分析服务器(模块化架构)

核心功能

| 类别 | 功能 | |------|------| | 价格查询 | 现货/合约价格、24小时行情、批量查询 | | K线分析 | K线数据、形态识别(十字星、锤子线等) | | 技术分析 | RSI、MACD、布林带、支撑阻力位 | | 合约分析 | 资金费率、现货合约价差、套利机会 | | Alpha代币 | 实时空投、竞赛追踪、价值分析 | | 市场数据 | 交易对搜索、涨跌幅排行 |

2. CoinGecko MCP

获取加密货币市场数据,支持所有主流币种

核心功能

  • 实时价格查询(BTC、ETH、BNB 等)
  • 7日涨跌概率分析
  • 热门币种查询
  • 币种搜索

---

🚀 快速开始

方式 1:远程服务器(推荐)

# 1. 部署到服务器
scp -r ./* root@YOUR_SERVER:/opt/mcp-crypto-api/
ssh root@YOUR_SERVER "cd /opt/mcp-crypto-api && ./quick_deploy.sh"

# 2. 配置 Kiro
cat > ~/.kiro/settings/mcp.json << 'EOF'
{
  "mcpServers": {
    "binance-remote": {
      "type": "http",
      "url": "https://your-domain.duckdns.org/mcp"
    },
    "coingecko-remote": {
      "type": "http",
      "url": "https://your-domain.duckdns.org/mcp-coingecko"
    }
  }
}
EOF

# 3. 重启 Kiro 并测试

方式 2:本地运行

# 1. 安装依赖
pip install -r requirements.txt

# 2. 启动服务器
python3 unified_server.py

# 3. 配置 Kiro(本地)
{
  "binance-local": {
    "command": "python3",
    "args": ["-m", "binance_mcp"],
    "cwd": "/path/to/project"
  }
}

---

� 文档

| 文档 | 说明 | |------|------| | DEPLOYMENT_GUIDE.md | 部署指南(快速开始) | | SSL_SETUP_GUIDE.md | SSL 完整配置(DuckDNS、证书、隧道) | | LOCAL_WORKFLOW.md | 本地开发工作流 | | 完整部署文档.md | 详细部署文档(架构、原理) | | MCP_DEVELOPMENT_GUIDE.md | MCP 开发指南 | | QUICK_START.md | 三步快速部署 | | CHANGELOG.md | 更新日志 |

---

🛠️ 项目结构

.
├── binance_mcp/              # 币安 MCP 模块(模块化包)
│   ├── __init__.py
│   ├── api.py               # API 调用
│   ├── analysis.py          # 技术分析
│   ├── alpha.py             # Alpha 代币
│   └── server.py            # MCP 服务器
├── coingecko_mcp.py         # CoinGecko MCP 服务
├── unified_server.py        # 统一服务器(REST + MCP)
├── mcp_http_server.py       # HTTP 服务器(旧版)
├── setup_ssl_for_duckdns.sh # SSL 配置脚本
├── check_dns.sh             # DNS 检查工具
├── start_tunnel.sh          # SSH 隧道启动
├── quick_deploy.sh          # 快速部署脚本
└── requirements.txt         # Python 依赖

---

🔧 配置示例

远程 MCP(HTTPS)

{
  "mcpServers": {
    "binance-remote": {
      "type": "http",
      "url": "https://tager.duckdns.org/mcp",
      "description": "Binance API"
    }
  }
}

SSH 隧道

# 启动隧道
ssh -f -N -L 8443:localhost:443 root@YOUR_SERVER

# 配置
{
  "url": "https://localhost:8443/mcp"
}

---

📊 使用示例

在 Kiro 中询问:

你:BNB现价多少?
Kiro:BNB 当前价格为 $692.50

你:分析 BTC 的技术指标
Kiro:[调用 comprehensive_analysis 工具]
      BTC 技术分析:
      - RSI: 65.2(中性偏多)
      - MACD: 金叉信号
      - 布林带: 价格接近上轨
      ...

你:有哪些 Alpha 空投正在进行?
Kiro:[调用 get_realtime_alpha_airdrops 工具]
      当前进行中的空投:
      1. TIMI - 总价值 $12,500
      2. H - 总价值 $8,900
      ...

---

🔄 更新部署

# 方式 1:使用部署脚本
./deploy_simple.sh

# 方式 2:手动部署
rsync -avz ./* root@YOUR_SERVER:/opt/mcp-crypto-api/
ssh root@YOUR_SERVER "supervisorctl restart mcp-crypto-api"

# 方式 3:使用 Git
git push
ssh root@YOUR_SERVER "cd /opt/mcp-crypto-api && git pull && supervisorctl restart mcp-crypto-api"

---

🐛 故障排查

# 查看服务状态
ssh root@YOUR_SERVER
sudo systemctl status mcp-crypto-api

# 查看日志
sudo journalctl -u mcp-crypto-api -n 50

# 重启服务
sudo systemctl restart mcp-crypto-api

# 测试 API
curl https://your-domain.duckdns.org/health

---

📝 许可证

MIT License

---

� 致谢

---

快速链接

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Finance & Payments servers.