跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 CoinMarketCap,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
来自 CoinMarketCap Pro API 的加密市场数据:币种和交易所的 ID 与元数据、实时和历史价格、排名和分类、全市场总量、恐惧贪婪指数、山寨币季节指数和 CMC100 指数、交易所储备金证明以及币种换算。只读;大多数工具使用免费的 Basic 套餐即可。
试试这样问
CoinMarketCap 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → CoinMarketCap、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
CoinMarketCap + Microsoft Copilot
来自 CoinMarketCap Pro API 的加密市场数据:币种和交易所的 ID 与元数据、实时和历史价格、排名和分类、全市场总量、恐惧贪婪指数、山寨币季节指数和 CMC100 指数、交易所储备金证明以及币种换算。只读;大多数工具使用免费的 Basic 套餐即可。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
CMC_PRO_API_KEY
步骤 1 — 获取凭证
设置大约需要 2 分钟。你需要一个 CoinMarketCap API 密钥;大多数工具用免费的 Basic 套餐就够了。
- 在 https://pro.coinmarketcap.com/signup 注册。Basic 套餐每月 10,000 积分,每分钟 30 次请求。
- 从 https://pro.coinmarketcap.com/account 的控制台复制 API 密钥到
CMC_PRO_API_KEY。它通过X-CMC_PRO_API_KEY请求头发送。 - 安装连接器并运行
coinmarketcap_get_key_info:它显示你的套餐、速率限制以及今天和本月剩余的积分,本身不消耗积分。
先确定币种 ID:代码并不唯一,多个币种可能使用同一个符号。AI 会用 coinmarketcap_map_cryptocurrencies(传入 symbol)把名称或代码解析为 CoinMarketCap 数字 ID,之后的所有调用都使用这个 ID。常用 ID:1 = Bitcoin,1027 = Ethereum,825 = Tether,5426 = Solana。convert_id 用的法币 ID 来自 coinmarketcap_map_fiat(2781 = USD),它还可以列出黄金、白银、铂金和钯金。
可以读取的内容:
- 实时价格:最快的回答用
coinmarketcap_get_simple_price,完整报价用coinmarketcap_get_quotes_latest,包含市值、市场占比、24 小时成交量、1 小时到 90 天的涨跌幅、供应量和排名。 - 排名和筛选:
coinmarketcap_list_listings_latest可按价格、市值、成交量、供应量或 24 小时涨跌幅排序和筛选,也可按币或代币、按标签筛选。coinmarketcap_list_gainers_losers显示 1h、24h、7d 或 30d 内涨幅和跌幅最大的币种。 - 历史数据:
coinmarketcap_get_quotes_historical按固定间隔返回价格,coinmarketcap_get_ohlcv_historical返回日线或小时线 K 线,coinmarketcap_get_global_metrics_historical返回全市场的历史走势。 - 币种资料:
coinmarketcap_get_cryptocurrency_info提供简介、官网、白皮书、区块浏览器、社交链接、标签、上线日期和合约地址,也可以按合约地址查询。分类(DeFi、Layer 1、Memes、AI 等)用coinmarketcap_list_categories,某个分类下的币种用coinmarketcap_get_category。 - 市场情绪:
coinmarketcap_get_global_metrics(总市值和成交量、Bitcoin 和 Ethereum 市场占比、DeFi、稳定币和衍生品数据),coinmarketcap_get_fear_and_greed_latest和coinmarketcap_get_fear_and_greed_historical(0 = 极度恐惧,100 = 极度贪婪),coinmarketcap_get_altcoin_season_index(高于 75 为山寨币季节,低于 25 为比特币季节),以及带成分和权重的coinmarketcap_get_cmc100_index。 - 交易所:
coinmarketcap_map_exchanges查找 ID(270 = Binance),coinmarketcap_get_exchange_info提供简介、所在国家、支持的法币以及 maker 和 taker 费率,coinmarketcap_get_exchange_assets列出储备金证明钱包,包括区块链、代币、余额和 USD 价值。 - 换算:
coinmarketcap_convert_price把一笔加密货币或法币金额换算成一种或多种其他货币。
只读:所有工具都只读取数据,因此安装时没有关闭任何工具。
数据格式:每个响应都有 status 对象(error_code、error_message、credit_count),结果在 data 中。在最新行情列表和最新报价中,data 是列表,每个币种的 quote 也是列表,每种请求的货币一项;其他接口中 quote 是以货币为键的对象(quote.USD.price)。价格和市值以请求的货币表示,默认 USD。涨跌幅为百分比(2.5 = +2.5%),供应量以币为单位,时间为 UTC 的 ISO 8601。
分页:列表工具接受 start(从 1 开始)和 limit;下一页从 start 加 limit 开始。
积分和套餐:每次调用至少消耗一个积分。行情列表每 250 个币种一个积分,历史数据每 100 个数据点一个积分,convert 中第一个之后的每种货币再加一个积分;恐惧贪婪历史数据每次调用一个积分(最多 500 天)。积分按天和按月重置,Basic 套餐在 UTC 午夜重置。coinmarketcap_get_ohlcv_historical、coinmarketcap_list_gainers_losers 以及按过去某个 time 换算需要 Startup 或更高套餐。Basic 套餐的历史报价在日内间隔下可回溯 1 个月,按日间隔可回溯 1 年。
常见错误:401 表示密钥缺失或错误(错误码 1001、1002),402 表示套餐未付款或已过期,403 表示套餐不包含该接口(1006),429 表示超过每分钟速率限制或每日、每月积分用完(1008 到 1011),400 表示参数无效,例如未知的符号;把 skip_invalid 设为 true 后,AI 会跳过未知的 ID 或符号,而不是让整个请求失败。
该连接器不进行交易,不读取你自己的交易所账户或钱包,也不设置价格提醒。它展示的是 CoinMarketCap 的市场数据,不构成投资建议。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Microsoft Copilot 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。
- 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
- 填写 Server name(例如
AnythingMCP)、说明连接器用途的 Server description,以及 Server URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。 - 身份验证选择 API key,把 Type 设为 Header,请求头名称填
X-API-Key,然后选择 Create。 - 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
- 在智能体的 Test 窗格中试一试:提出需要用到
CoinMarketCap的工具的请求。 - 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。
希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。
自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。
可用工具
| Tool | What it does |
|---|---|
coinmarketcap_get_key_info | Plan and usage of the API key: monthly credit limit and reset date, rate limit per minute, credits used and left today and this month… |
coinmarketcap_map_cryptocurrencies | Map of cryptocurrencies to their CoinMarketCap ids: id, name, symbol, slug, rank, active flag, first and last data dates and, for tokens… |
coinmarketcap_get_cryptocurrency_info | Static metadata of one or more cryptocurrencies: description, logo, website, whitepaper, explorers, source code, social links, tags… |
coinmarketcap_list_listings_latest | Ranked list of active cryptocurrencies with latest market data: price, market cap, dominance, fully diluted market cap, 24 hour volume… |
coinmarketcap_get_quotes_latest | Latest market quote for specific cryptocurrencies: price, market cap, dominance, 24 hour volume and volume change, percent change over 1h… |
coinmarketcap_get_simple_price | Fastest price lookup: the current price of one or more cryptocurrencies in one or more currencies, optionally with market cap, 24 hour… |
coinmarketcap_get_quotes_historical | Historical quotes of one or more cryptocurrencies at regular intervals: price, volume, market cap and supply per point |
coinmarketcap_get_ohlcv_historical | Daily or hourly open, high, low, close and volume candles of one or more cryptocurrencies over a period |
coinmarketcap_list_gainers_losers | Biggest gainers and losers by price change over 1h, 24h, 7d or 30d, with full market data |
coinmarketcap_list_categories | Cryptocurrency categories (DeFi, Layer 1, Memes, AI, ...) with id, name, number of tokens, average price change, market cap and volume and… |
coinmarketcap_get_category | One category with its aggregate figures and the coins in it, each with market data |
coinmarketcap_get_global_metrics | Latest totals of the whole crypto market: total market cap and 24 hour volume, Bitcoin and Ethereum dominance with their change since… |
coinmarketcap_get_global_metrics_historical | Total market cap, volume and dominance of the crypto market over time |
coinmarketcap_get_fear_and_greed_latest | Today's CMC Crypto Fear and Greed Index: a value from 0 (extreme fear) to 100 (extreme greed), its classification (Extreme fear, Fear… |
coinmarketcap_get_fear_and_greed_historical | Past values of the CMC Crypto Fear and Greed Index, one per day, newest first, each with value, classification and timestamp |
coinmarketcap_get_altcoin_season_index | CMC Altcoin Season Index (0 to 100): above 75 means altcoin season, below 25 Bitcoin season |
coinmarketcap_get_cmc100_index | Latest value of the CoinMarketCap 100 index with its 24 hour change, the constituents and their weights in percent, and the next rebalance… |
coinmarketcap_map_exchanges | Map of exchanges to their CoinMarketCap ids: id, name, slug, active flag and first and last data dates |
coinmarketcap_get_exchange_info | Static metadata of one or more exchanges: description, logo, website and fee links, launch date, countries, fiat currencies, maker and… |
coinmarketcap_get_exchange_assets | Proof-of-reserves wallets of one exchange: each wallet address with its blockchain, the token held, the balance and its USD value |
coinmarketcap_convert_price | Convert an amount of one cryptocurrency or fiat currency into one or more others at the latest rate, or at a past time with the time… |
coinmarketcap_map_fiat | Fiat currencies (and optionally precious metals) with their CoinMarketCap ids, names, signs and symbols, for use in convert_id |
示例提示
- “Bitcoin、Ethereum 和 Solana 现在值多少欧元?过去 24 小时涨跌了多少?”
- “列出市值前 20 的币种,附上价格、7 天涨跌幅和 24 小时成交量。”
- “过去 30 天恐惧贪婪指数是怎么变化的?今天是多少?”
- “现在是山寨币季节吗?顺便告诉我比特币市场占比和加密市场总市值。”
- “按最新汇率,2.5 ETH 等于多少 USD 和 CHF?”
FAQ
这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。
我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。
智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。
下一步
这份指南对你有帮助吗?