跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 Deribit,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
摘要
Deribit 公开的加密衍生品数据:带未平仓量、隐含波动率和标记价格的期权与期货,DVOL 指数,历史波动率,带希腊值的行情,订单簿,K 线,成交,永续合约资金费率,指数价格和交割价格。无需账户或密钥;只读,不能交易。
试试这样问
Deribit 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Deribit、直接安装 (无需密钥)、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
Deribit + Cursor
Deribit 公开的加密衍生品数据:带未平仓量、隐含波动率和标记价格的期权与期货,DVOL 指数,历史波动率,带希腊值的行情,订单簿,K 线,成交,永续合约资金费率,指数价格和交割价格。无需账户或密钥;只读,不能交易。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
(无必需变量)
步骤 1 — 设置连接器
公开数据,无需密钥:设置不到一分钟。该连接器通过 HTTP 上的 JSON-RPC API(https://www.deribit.com/api/v2/public/...)读取加密期权和期货交易所 Deribit 的公开市场数据。公开方法既不需要账户也不需要密钥。
- 在连接器商店中选择 Deribit 并安装,无需填写任何内容。
- 用
deribit_get_index_price_names检查:它会列出 Deribit 的价格指数,例如btc_usd和eth_usd。
名称:currency 为 BTC、ETH、USDC、USDT 或 EURR(deribit_get_currencies 会列出),在工具支持时也可以是 any。instrument_name 可以是永续合约 BTC-PERPETUAL、期货 BTC-27DEC26、期权 BTC-27DEC26-100000-C(币种、到期日、行权价,C 为看涨、P 为看跌),或线性永续合约 SOL_USDC-PERPETUAL;deribit_get_instruments 会列出当前有效的合约及其到期日、行权价、最小变动价位和合约规模。index_name 为 btc_usd、eth_usd、sol_usdc 等。
读取的数据:一次调用获取某币种全部合约的概要(未平仓量、24 小时成交量、买价、卖价、标记价格和最新价,期权还有标记隐含波动率),可用于期权偏斜、按行权价和到期日的未平仓量以及最大痛点;单个合约的同类概要;单个合约的行情,包括最优买卖价、未平仓量、永续合约的资金费率,以及期权的希腊值和隐含波动率;订单簿;OHLCV K 线;单个合约或整个币种的最近成交,并标注大宗交易和强平;以 K 线形式呈现的 DVOL 隐含波动率指数;约最近 16 天按小时的已实现波动率;永续合约的每小时资金费率和某时段的累计资金费率;当前指数价格;以及指数的每日交割(结算)价格。
单位和时间:所有输入和输出的时间戳都是 Unix 毫秒(UTC);AI 会从当前时间推算时间范围(最近 7 天即当前时间减去 604800000)。BTC 和 ETH 反向期权的价格以基础币计价,而不是 USD:AI 会乘以 underlying_price 或指数价格换算成美元。期货和永续合约价格以 USD 计价。反向期货的未平仓量以 USD 计,期权的未平仓量以基础币合约数计。mark_iv 为百分比。funding_8h 和 interest_8h 是每 8 小时的比率(0.0001 = 0.01%)。
分页:当存在更早的数据时,DVOL 历史会返回 continuation 值,AI 会把 end_timestamp 设为该值再次调用。成交数据会返回 has_more;交割价格会返回 records_total,并通过 offset 分页。
只读:所有工具都只读取公开市场数据,因此没有需要确认的操作,安装时也没有被关闭的工具。私有方法(交易、持仓、钱包)不属于该连接器。
限制:公开调用按 IP 以积分制限速,短时间内大量调用可能返回 too_many_requests(代码 10028)。AI 会避免循环查询数百个合约:一次 deribit_get_book_summary_by_currency 调用即可覆盖全部合约。除非需要完整订单簿,订单簿深度会保持较小(例如 20);成交每次调用最多 1000 条。
常见错误:错误以 JSON-RPC error 对象返回,例如合约名称未知或缺少必填参数。已到期的期权不再出现在有效合约中;将 expired 设为 true 调用 deribit_get_instruments 可列出最近到期的合约。
该连接器不会下单或撤单,不读取账户、持仓或钱包,也不会转移资金。
步骤 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 — 在 Cursor 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
Cursor 从 ~/.cursor/mcp.json 读取 MCP 服务器。添加以下条目:
{
"mcpServers": {
"anythingmcp": {
"url": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
"headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
}
}
}
- 在 AnythingMCP 的 MCP Servers → 你的服务器 → API keys 中创建 MCP API 密钥,并用它替换
YOUR_MCP_API_KEY。 - 保存文件并重启 Cursor。
- 打开 Cursor → Settings → MCP,确认
anythingmcp已列出并处于已连接状态。 - 开始对话,智能体现在可以调用
Deribit的工具。
可用工具
| Tool | What it does |
|---|---|
deribit_get_book_summary_by_currency | Summary of every instrument of one currency in one call: instrument name, open interest, 24 hour volume, bid, ask, mark and last price, 24… |
deribit_get_book_summary_by_instrument | Summary of one instrument: open interest, 24 hour volume, bid, ask, mark and last price, price change, and for options mark implied… |
deribit_get_volatility_index_data | History of the DVOL implied volatility index of a currency as candles: result.data is a list of [timestamp_ms, open, high, low, close] |
deribit_get_historical_volatility | Realised (historical) volatility of a currency: a list of [timestamp_ms, volatility_percent] points, hourly, covering about the last 16 days |
deribit_get_instruments | List the tradable instruments of a currency: name, kind, expiry (expiration_timestamp), strike and option type for options, contract size… |
deribit_get_ticker | Current ticker of one instrument: last, mark and index price, best bid and ask with amounts, 24 hour stats, open interest, settlement… |
deribit_get_order_book | Order book of one instrument: bids and asks as [price, amount], plus the ticker fields (mark price, open interest, funding or greeks) |
deribit_get_tradingview_chart_data | OHLCV candles of one instrument between two times: parallel arrays ticks (timestamps ms), open, high, low, close, volume and cost. status… |
deribit_get_last_trades_by_instrument | Recent trades of one instrument: time, price, amount, direction, index and mark price, implied volatility for options, and flags for block… |
deribit_get_last_trades_by_currency | Recent trades across all instruments of a currency, optionally of one kind (e.g. all BTC options): instrument, time, price, amount… |
deribit_get_funding_rate_history | Hourly funding of a perpetual between two times: for each hour the index price, interest_1h and interest_8h (fractions, 0.0001 = 0.01%) |
deribit_get_funding_rate_value | Total funding rate of a perpetual accumulated over a period, as one fraction (0.001 = 0.1%) |
deribit_get_index_price | Current price of a Deribit index (e.g. btc_usd) and its estimated delivery price |
deribit_get_index_price_names | List the names of all Deribit price indexes (btc_usd, eth_usdc, ...), the values deribit_get_index_price and deribit_get_delivery_prices… |
deribit_get_delivery_prices | Daily delivery (settlement) prices of an index, newest first: date and delivery_price, with records_total for paging |
deribit_get_currencies | List the currencies Deribit supports, with their long name, decimals and withdrawal fee |
示例提示
- “按行权价显示下一个月度到期日的 BTC 期权未平仓量,并计算最大痛点价格。”
- “BTC 的 DVOL 指数现在是多少,过去 30 天走势如何?”
- “比较过去两周 BTC 的隐含波动率(DVOL)和已实现波动率。”
- “过去 7 天 BTC-PERPETUAL 的资金费率是多少,总计和每天分别是多少?”
- “显示一个本月到期、接近平值的 ETH 看跌期权的行情,包括希腊值和以 USD 计的价格。”
FAQ
Cursor 免费套餐支持自定义 MCP 服务器吗? 支持,Hobby、Pro 和 Business 套餐均可使用 MCP。
下一步
这份指南对你有帮助吗?