Mcp Crypto Toolkit

io.github.nad33mahm3d由 GitHub 账号 nad33mahm3d 发布v1.3.0更新于 Oct 24, 2026

Live crypto prices, conversion, gas tracker, portfolio tools, and calculators for AI agents.

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

一个加密货币行情数据服务器,让助手获取实时价格、换算币种、估算投资组合、查询 Gas 费用并计算盈亏。

可以做什么
查询实时价格及市值、成交量、排名和历史最高/最低价,按名称或符号搜索币种,列出市值前列币种及涨跌幅榜、热门币种与恐惧贪婪指数。在加密货币与法币或币种之间换算,并排比较 2 至 5 个币种。获取指定日期或区间的历史价格,并对一组持仓做投资组合估值。查询 EVM Gas 费用及美元转账估算,计算含交易所和网络手续费的盈亏、ROI 与盈亏平衡点。使用内置提示词完成市场概览、单币分析、盈亏推演和 Gas 检查。
适用场景
适合让助手在对话中回答日常加密行情问题、估算持仓价值、比较币种或预估交易成本。适用于一般性查询与计算,而非交易或资产托管。
运行要求
可作为远程托管端点使用,也可通过 npx 在本地运行(需 Node.js)。无需 API 密钥;可选的 CoinGecko API 密钥可提高速率限制,可选的 Gas 预言机密钥可改善 Gas 估算。需要访问 CoinGecko、Alternative.me、Binance P2P 及 Gas 服务商的网络。
安装前请注意
价格与 Gas 数据来自第三方 API,可能延迟;未配置 Gas 密钥时会回退到静态估算。投资组合与盈亏工具仅做计算,不执行交易也不持有资金。可选 API 密钥通过环境变量或 Worker 密钥提供,应妥善保密。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mcp Crypto Toolkit,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.nad33mahm3d%2Fmcp-crypto-toolkit/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "crypto-toolkit": {
      "type": "http",
      "url": "https://mcp-crypto-toolkit.nad33mahm3d.workers.dev/mcp"
    }
  }
}

README

mcp-crypto-toolkit

[npm version] [License: MIT] [MCP] [CI] [Listed on mcpservers.org] [DeepWiki]

Live crypto prices, conversion, gas tracker, portfolio tools, and calculators for AI agents.

Ask Claude: What's ETH doing? Top 10 coins? Gas on Base? What's my portfolio worth?

Hosted (Claude.ai Custom Connector): https://mcp-crypto-toolkit.nad33mahm3d.workers.dev/mcp
Docs: DeepWiki · mcpservers.org

[Demo]

[Claude.ai Custom Connector — 10 tools]

Features

  • Live prices with market cap, volume, rank, ATH/ATL (CoinGecko)
  • Convert between crypto and fiat (optimized PKR via Binance P2P when needed)
  • Search coins by name/symbol
  • Top coins + gainers/losers snapshot
  • Compare 2–5 coins side by side
  • Portfolio valuation (batch holdings)
  • Historical point-in-time + range charts (7d/30d/…)
  • EVM gas tracker with USD transfer estimates
  • Profit/loss calculator with exchange + network fees
  • Trending coins + Crypto Fear & Greed Index
  • MCP prompts for common workflows
  • Zero config — no API key required (optional COINGECKO_API_KEY for higher limits)
  • stdio + HTTP + Cloudflare Workers transports

Quick Install

bash
npx -y mcp-crypto-toolkit

Installation

Claude Desktop / Cursor / Windsurf

json
{  "mcpServers": {    "crypto-toolkit": {      "command": "npx",      "args": ["-y", "mcp-crypto-toolkit"]    }  }}

Local build:

json
{  "mcpServers": {    "crypto-toolkit": {      "command": "node",      "args": ["/ABSOLUTE/PATH/TO/mcp-crypto-toolkit/dist/index.js"]    }  }}

HTTP server

bash
npm run buildnpm run start:http# POST http://localhost:3000/mcp
Deploy (Smithery / remote MCP) — optional

You do not need paid hosting for discoverability. This server already installs via npx -y mcp-crypto-toolkit (stdio) and is listed on the Official MCP Registry. Glama and PulseMCP ingest from there — no Fly/Railway bill required.

Only deploy HTTP if you want a remote /mcp endpoint (e.g. Claude.ai Custom Connector or Smithery URL publish).

Claude.ai Custom Connector

Public hosted endpoint (Cloudflare Workers):

https://mcp-crypto-toolkit.nad33mahm3d.workers.dev/mcp
  1. In Claude.ai: Settings → Connectors → Add custom connector
  2. Paste the URL above (must include /mcp)
  3. You should see 10 tools (get price, convert, trending, …)

Or deploy your own (Cloudflare / Docker / Render) and use https://YOUR-HOST/mcp. After upgrading a hosted server, remove and re-add the connector if tools still show as empty.

Do not put a remote URL in claude_desktop_config.json — that file is stdio-only. For Claude Desktop local use, prefer:

json
{  "mcpServers": {    "crypto-toolkit": {      "command": "npx",      "args": ["-y", "mcp-crypto-toolkit"]    }  }}

Cloudflare Workers (recommended remote — free tier)

Uses the web-standard MCP transport (src/worker.ts) — no Docker required.

Live demo: health · MCP

bash
npm installnpx wrangler loginnpm run deploy:cf

After deploy: https://mcp-crypto-toolkit.<your-subdomain>.workers.dev/health
Claude / Smithery URL: https://mcp-crypto-toolkit.<your-subdomain>.workers.dev/mcp

Local preview: npm run dev:cf

Optional secrets / vars:

bash
npx wrangler secret put COINGECKO_API_KEYnpx wrangler secret put MCP_API_KEY   # optional: require Bearer / x-api-key on /mcp# Pro keys also need: wrangler.toml [vars] COINGECKO_PRO = "1"# Optional: RATE_LIMIT_PER_MINUTE = "60" (default)

CI: add repo secrets CLOUDFLARE_API_TOKEN + CLOUDFLARE_ACCOUNT_ID — Worker auto-deploys on GitHub Release (and via workflow_dispatch).

Render (free — no credit card)

  1. Fork/connect repo at render.com
  2. New → Blueprint → point at this repo (render.yaml uses the Free plan)
  3. After deploy: https://YOUR-SERVICE.onrender.com/health
  4. Smithery: publish https://YOUR-SERVICE.onrender.com/mcp

Free tier sleeps after ~15 min idle; first request may take ~30s to wake.

Docker (local / your own VPS)

bash
docker build -t mcp-crypto-toolkit .docker run -p 3000:3000 mcp-crypto-toolkit

Paid PaaS (if you outgrow free tier): Fly.io and Railway work with the included fly.toml / railway.toml but are not free long-term.

Optional env: COINGECKO_API_KEY, COINGECKO_PRO=1, gas oracle keys (see table below).

Tools (10)

ToolDescription
get_priceLive price + market cap, volume, rank, ATH/ATL
convertCrypto ↔ fiat/crypto conversion
search_coinSearch by name or symbol
top_coinsTop N by market cap/volume + gainers/losers
compare_coinsSide-by-side compare 2–5 coins
portfolio_valueValue a list of holdings
historical_pricePoint date or range chart + investment snapshot
gas_trackerGas fees + estimated transfer cost (USD)
profit_calcP&L, ROI, break-even (fees + network fee)
trendingTrending coins + Fear & Greed Index

Prompts

PromptPurpose
market-overviewTop coins + trending + market tone
whats-trendingTrending coins + Fear & Greed
analyze-coinPrice + 7d trend for one coin
trade-pnlWalk through a P&L calc
gas-checkGas + transfer cost advice

Example prompts

  1. What's the current price of Bitcoin and its market cap?
  2. Search for coins matching "pepe"
  3. Show top 10 coins and today's gainers
  4. Compare BTC, ETH, and SOL
  5. Value my portfolio: 0.5 BTC and 2 ETH in USD
  6. What was ETH on 01-01-2024, and what would $1000 then be worth now?
  7. Show SOL's 30-day price range
  8. What's gas on Base right now in USD?
  9. I bought at 100, sold at 120, qty 10, 0.1% fees — profit?
  10. What's trending and what's the Fear & Greed index?

Development

bash
git clone https://github.com/nad33mahm3d/mcp-crypto-toolkitcd mcp-crypto-toolkitnpm installnpm testnpm run buildnpm run inspector

Optional env

VariablePurpose
COINGECKO_API_KEYHigher CoinGecko rate limits (still optional)
COINGECKO_PRO=1Use Pro header with your key
MCP_API_KEYWorker only: require Bearer / x-api-key on /mcp
RATE_LIMIT_PER_MINUTEWorker only: default 60
ETHERSCAN_API_KEY / BSCSCAN_API_KEY / …Better gas oracles
OPTIMISM_API_KEYOptimism gas oracle
PORTHTTP server port (default 3000)

Without gas API keys, gas falls back to Blocknative then static estimates.

Contributing

See CONTRIBUTING.md for setup, PR guidelines, and the release process.

Releasing (maintainers)

  1. One-time: npm package Settings → Trusted Publisher → GitHub Actions → repo nad33mahm3d/mcp-crypto-toolkit, workflow publish.yml, environment release, allow npm publish
  2. Update CHANGELOG.md
  3. Create a GitHub Release with tag vX.Y.Z
  4. Actions publishes to npm via OIDC (no NPM_TOKEN; provenance automatic)

API Credits

License

MIT — see LICENSE

来源:README.md,提交 39c76bf

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

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

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分