关于 ProfitSpot MCP — The DeFi Brain for AI Agents
ProfitSpot MCP 是面向 AI Agent 的 DeFi 情报服务,可跨多条链发现和分析收益机会。它结合风险评级、收益模拟、无常损失计算与巨鲸追踪。
主要功能
- 01跨链发现收益机会
- 02A–F 池风险评级
- 03蒙特卡洛收益预测
- 04无常损失计算
- 05追踪巨鲸资金流动
- 06DeFi 市场概览
适用场景
- 01按收益和风险筛选资金池
- 02比较资金池风险因素
- 03模拟投资结果
- 04监测资金池的大额资金流
MCP 相关
通过 MCP 向客户端提供七种 DeFi 分析工具,包括收益发现、风险评分、模拟和巨鲸追踪。部分工具及更高调用额度需要 API 密钥。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://profitspotmcp.mcpize.runclaude mcp add --transport http profitspot https://profitspotmcp.mcpize.run{"mcpServers":{"profitspot":{"type":"http","url":"https://profitspotmcp.mcpize.run"}}}在 Cursor 中打开{"servers":{"profitspot":{"type":"http","url":"https://profitspotmcp.mcpize.run"}}}在 VS Code 中打开{"mcpServers":{"profitspot":{"type":"http","url":"https://profitspotmcp.mcpize.run"}}}{"mcpServers":{"profitspot":{"serverUrl":"https://profitspotmcp.mcpize.run"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
ProfitSpot MCP
为 AI Agent 提供跨链 DeFi 情报。
风险评分收益、蒙特卡洛模拟、巨鲸追踪
覆盖 86 条链和 6,500+ 个资金池。
这是什么?
ProfitSpot MCP 让任何 AI Agent——Claude、GPT、Gemini 或你的自定义 Agent——都能即时访问为 profitspot.live 提供支持的同一套 DeFi 情报。可以把它看作 面向 AI Agent 的彭博终端。
现有的 DeFi MCP 服务要么只是只有 1 个工具的基础 DeFiLlama 封装,要么仅支持单条链。ProfitSpot MCP 覆盖 86 条链、6,500+ 个资金池,并加入了情报层——风险等级、蒙特卡洛收益模拟、巨鲸检测——这些都是竞争对手所不具备的。
无需 API 密钥即可开始使用。 免费层立即提供收益发现、市场概览和 IL 计算。
🚀 快速安装
Claude Desktop
添加到你的 claude_desktop_config.json:
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
{
"mcpServers": {
"profitspot": {
"command": "uvx",
"args": ["profitspot-mcp"],
"env": {
"PROFITSPOT_API_KEY": "your-pro-key-here"
}
}
}
}
免费层? 只需删除整个
"env"块。无需密钥。
Cursor
添加到项目根目录下的 .cursor/mcp.json:
{
"mcpServers": {
"profitspot": {
"command": "uvx",
"args": ["profitspot-mcp"],
"env": {
"PROFITSPOT_API_KEY": "your-pro-key-here"
}
}
}
}
VS Code(Copilot)
添加到你的 .vscode/mcp.json:
{
"servers": {
"profitspot": {
"type": "stdio",
"command": "uvx",
"args": ["profitspot-mcp"],
"env": {
"PROFITSPOT_API_KEY": "your-pro-key-here"
}
}
}
}
pip(手动安装)
pip install profitspot-mcp
💡 工具调用示例
以下是来自实时 DeFiLlama 数据的真实响应。每个响应都包含 confidence(0–1)和 data_freshness(ISO 时间戳)。
1. 发现收益——Ethereum,等级为 B 或更高
discover_yields(chain="Ethereum", min_tvl=10000000, min_apy=3, max_risk="B", limit=5)
完整 JSON 响应(点击展开)
{
"data": {
"pools": [
{
"pool_id": "fc9f488e-8183-416f-a61e-4e5c571d4395",
"symbol": "WETH-USDT",
"protocol": "uniswap-v3",
"chain": "Ethereum",
"apy": 31.53,
"apy_base": 31.53,
"apy_reward": 0,
"apy_mean_30d": 37.11,
"tvl_usd": 73909084,
"risk_grade": "B",
"risk_score": 74,
"prediction": "Down",
"stablecoin": false,
"il_risk": "yes",
"exposure": "multi"
},
{
"pool_id": "3dd2c646-c05a-4483-98f4-d7a924a6d6d3",
"symbol": "WBTC-USDT",
"protocol": "uniswap-v3",
"chain": "Ethereum",
"apy": 22.24,
"apy_base": 22.24,
"apy_reward": 0,
"apy_mean_30d": 21.92,
"tvl_usd": 16180215,
"risk_grade": "B",
"risk_score": 74,
"prediction": "Down",
"stablecoin": false,
"il_risk": "yes",
"exposure": "multi"
},
{
"pool_id": "49717ee2-9808-4288-b76d-e658195b7979",
"symbol": "USDC-WETH",
"protocol": "uniswap-v3",
"chain": "Ethereum",
"apy": 18.24,
"apy_base": 18.24,
"apy_reward": 0,
"apy_mean_30d": 20.65,
"tvl_usd": 23656801,
"risk_grade": "B",
"risk_score": 78,
"prediction": "Down",
"stablecoin": false,
"il_risk": "yes",
"exposure": "multi"
},
{
"pool_id": "0d9e7113-c9bc-4fb6-b138-5ca6f6944d6d",
"symbol": "SDCRV",
"protocol": "stake-dao",
"chain": "Ethereum",
"apy": 17.51,
"apy_base": 0,
"apy_reward": 17.51,
"apy_mean_30d": 16.61,
"tvl_usd": 26093458,
"risk_grade": "B",
"risk_score": 71,
"prediction": "Down",
"stablecoin": false,
"il_risk": "no",
"exposure": "single"
}
],
"total_matching": 146,
"total_scanned": 16642,
"filters_applied": {
"chain": "Ethereum",
"min_tvl": 10000000,
"min_apy": 3,
"max_risk": "B",
"limit": 5
}
},
"confidence": 0.92,
"data_freshness": "2026-04-12T02:31:10.638795+00:00",
"tool": "discover_yields",
"tier": "pro",
"powered_by": "profitspot.live"
}
你将获得: 从扫描的 16,642 个资金池中匹配出 146 个 Ethereum 资金池。每个资金池都包含风险评分(A–F)、30 天平均 APY 和 APY 预测趋势。按 APY 降序排列。
2. 风险评分——深入分析 Uniswap V3 资金池
risk_score(pool_id="fc9f488e-8183-416f-a61e-4e5c571d4395")
完整 JSON 响应(点击展开)
{
"data": {
"type": "pool",
"pool_id": "fc9f488e-8183-416f-a61e-4e5c571d4395",
"symbol": "WETH-USDT",
"protocol": "uniswap-v3",
"chain": "Ethereum",
"grade": "B",
"score": 71,
"summary": "Moderate Risk — Solid fundamentals, minor concerns. Good for diversified portfolios.",
"factors": {
"tvl_stability": {
"score": 20,
"max": 25,
"detail": "$73.9M TVL — strong"
},
"apy_sustainability": {
"score": 10,
"max": 20,
"detail": "31.5% APY — moderate | Volatility: extreme (CV=1.04)"
},
"protocol_reputation": {
"score": 20,
"max": 20,
"detail": "uniswap-v3 — Tier 1 Blue Chip (est. 48+ months)"
},
"il_exposure": {
"score": 8,
"max": 15,
"detail": "Medium IL — monitor price divergence"
},
"pair_stability": {
"score": 3,
"max": 10,
"detail": "Non-stable pair — volatile"
},
"security_audit": {
"score": 10,
"max": 10,
"detail": "Blue chip + deep TVL — high confidence"
}
}
},
"confidence": 0.88,
"data_freshness": "2026-04-12T02:31:11.516026+00:00",
"tool": "risk_score",
"tier": "pro",
"powered_by": "profitspot.live"
}
你将获得: 综合 B 级(71/100) 评分,并附有 6 个因素的细分结果。该资金池在协议声誉(Uniswap 属于 Tier 1 蓝筹协议,运行 48+ 个月)和安全性方面得分满分,但在 APY 波动率(CV=1.04)和非稳定币交易对风险方面被扣分。AI Agent 可以据此准确解释资金池为何获得该等级。
3. 无常损失 — ETH +50%,USDC −10%
calculate_impermanent_loss(token_a_price_change=50, token_b_price_change=-10, investment_amount=10000)
完整 JSON 响应(点击展开)
{
"data": {
"token_a_change_pct": 50.0,
"token_b_change_pct": -10.0,
"investment_amount": 10000.0,
"il_percent": 3.1754,
"il_usd": 381.05,
"value_if_held": 12000.0,
"value_in_lp": 11618.95,
"net_with_fees": {
"5%": {
"fees_earned": 500.0,
"net_gain_usd": 2118.95,
"net_roi_pct": 21.19
},
"10%": {
"fees_earned": 1000.0,
"net_gain_usd": 2618.95,
"net_roi_pct": 26.19
},
"20%": {
"fees_earned": 2000.0,
"net_gain_usd": 3618.95,
"net_roi_pct": 36.19
},
"50%": {
"fees_earned": 5000.0,
"net_gain_usd": 6618.95,
"net_roi_pct": 66.19
}
},
"interpretation": "Moderate IL — needs decent APY to compensate."
},
"confidence": 0.99,
"data_freshness": "2026-04-12T02:31:11.517000+00:00",
"tool": "calculate_impermanent_loss",
"tier": "pro",
"powered_by": "profitspot.live"
}
你将获得: 1 万美元头寸的确切无常损失为 3.18%(381 美元)。如果只是持有,你的 LP 价值为 11,619 美元,而持有资产的价值为 12,000 美元。但关键在于,net_with_fees 表格显示,即使费用 APY 只有 5%,你的净收益也能达到 +2,119 美元(ROI 为 +21.2%)。该工具会为你的 AI Agent 提供完整信息,帮助其给出明智的建议。
📖 工具参考
MCP 协议提供的全部 7 个工具:
discover_yields 🟢 免费
查找 86 条链上的顶级收益机会。可筛选、评估风险并排序。
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
chain | string | null | null | 按链名称筛选(例如,"Ethereum"、"Arbitrum") |
min_tvl | float | 1000000 | 最低 TVL(美元) |
min_apy | float | 0 | 最低 APY 百分比 |
max_risk | string | "F" | 最高风险等级:A、B、C、D 或 F (仅限 Pro) |
limit | int | 20 | 返回结果的上限(免费版:10,Pro:50) |
analyze_pool 🔒 Pro
深入分析单个池:APY 趋势、风险细分、无常损失情景和预期回报。
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
pool_id | string | 必填 | 来自 discover_yields 结果的池 UUID |
返回: 历史 APY(7 天/30 天/90 天平均值)、趋势方向、波动率标准差、完整的风险等级细分、3 种价格偏离情景下的无常损失估算,以及在 30/90/365 天后,投入 1,000/10,000/100,000 美元的预期回报。
calculate_impermanent_loss 🟢 始终免费
纯数学计算——适用于任意 50/50 LP 代币对的精确无常损失。无需调用 API。
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
token_a_price_change | float | 必填 | 代币 A 的价格变化百分比(例如,50 表示 +50%) |
token_b_price_change | float | 必填 | 代币 B 的价格变化百分比(例如,-20 表示 −20%) |
investment_amount | float | 10000 | 初始投资金额(美元) |
返回: 以美元和百分比表示的无常损失、持有资产价值与 LP 价值对比、在 5%/10%/20%/50% 费用 APY 下的净收益/损失,以及通俗易懂的解读。
simulate_profit 🔒 Pro
使用 Ornstein-Uhlenbeck APY 模型进行蒙特卡洛收益预测。共 1,000 次模拟。
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
pool_id | string | 必填 | 来自 discover_yields 结果的池 UUID |
investment | float | 10000 | 投资金额(美元) |
days | int | 365 | 预测期限(1–730 天) |
compound | bool | true | 是否每日复利 |
返回: 看跌/基准/乐观情景的金额、完整的百分位数分布(P5–P95)、盈利概率、风险因素和模型参数。
risk_score 🔒 Pro
为任意池或整个协议评定 A–F 风险等级。基于 6 项因素加权细分。
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
pool_id | string | null | null | 为指定池评分 |
protocol | string | null | null | 为整个协议评分(例如,"aave-v3") |
至少需要提供一个参数。对于协议,会为按 TVL 排名靠前的 10 个池评分,并返回汇总等级。
6 项因素: TVL 稳定性(25 分)、APY 可持续性与波动率(20 分)、协议声誉与运行时间(20 分)、无常损失敞口(15 分)、交易对稳定性(10 分)、安全性/审计代理指标(10 分)。
track_whales 🔒 Pro
检测大额资金流动——聪明资金进入或退出资金池。
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
chain | string | null | null | 按链筛选 |
min_tvl_change | float | 500000 | 触发标记的最低 TVL 变化(美元) |
timeframe | string | "24h" | 检测时间窗口 |
返回: TVL 变化较大的资金池列表,包含方向(流入/流出)、美元金额、变化百分比,以及是否与 APY 变化相关。首次调用会建立基准;后续调用则检测实际变动。
defi_overview 🟢 免费(基础版)/ Pro(完整版)
跨所有链的 DeFi 全景仪表板。
| 参数 | 类型 | 默认值 | 描述 |
|---|---|---|---|
chain | string | null | null | 筛选特定链 |
免费版: 总 TVL、排名前 10 的链、排名前 10 的协议、资金池数量、平均 APY。 Pro: + 按风险等级划分的平均收益率、稳定币市值、热门机会(APY 上升且风险等级良好的新资金池)。
💰 定价
🆓 免费版$0/月 3 个工具,每天 50 次调用 无需 API 密钥 |
⚡ Pro$29/月 全部 7 个工具,每天 1K 次调用 |
🏢 Enterprise$99/月 全部 7 个工具,每天 10K 次调用 |
| 免费版 | Pro($29/月) | Enterprise($99/月) | |
|---|---|---|---|
discover_yields | ✅ 10 个结果 | ✅ 50 个结果 + 风险筛选 | ✅ 50 个结果 + 风险筛选 |
defi_overview | ✅ 基础版 | ✅ 完整版 + 热门机会 | ✅ 完整版 + 热门机会 |
calculate_impermanent_loss | ✅ | ✅ | ✅ |
analyze_pool | ❌ | ✅ | ✅ |
simulate_profit | ❌ | ✅ | ✅ |
risk_score | ❌ | ✅ | ✅ |
track_whales | ❌ | ✅ | ✅ |
| 每日速率限制 | 50 | 1,000 | 10,000 |
| 支持 | 社区 | 电子邮件 | 优先支持 |
# Unlock Pro / Enterprise
export PROFITSPOT_API_KEY=ps_live_xxxxxxxxxxxxxxxx
🚀 获取 Pro — $29/月 | 🏢 获取 Enterprise — $99/月 | 比较方案
🏠 自托管
选项 1:uvx(推荐)
uvx profitspot-mcp
无需安装,直接运行。需要 uv。
选项 2:pip + 运行
pip install profitspot-mcp
profitspot-mcp # stdio (for MCP clients)
python -m profitspot_mcp # HTTP/SSE on :8080
选项 3:Docker
docker build -t profitspot-mcp .
docker run -p 8080:8080 -e PROFITSPOT_API_KEY=your-key profitspot-mcp
选项 4:从源代码构建
git clone https://github.com/profitspot/profitspot-mcp.git
cd profitspot-mcp
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
# Development with inspector UI
fastmcp dev run_server.py
# Production
fastmcp run run_server.py --transport sse --port 8080
🧠 实现原理
风险评级 — 六因素综合评分
每个资金池均按 6 个加权因素进行评分,总分为 100 分:
| 因素 | 权重 | 衡量内容 |
|---|---|---|
| TVL 稳定性 | 25 分 | 流动性深度、跑路风险。$100M 及以上 = 满分。 |
| APY 可持续性 | 20 分 | 收益率水平(是否合理?)+ 波动性(历史数据的标准差)。 |
| 协议信誉 | 20 分 | Tier 1/2 分类(Aave、Uniswap、Curve = Tier 1)+ 估算存续时间。 |
| IL 风险敞口 | 15 分 | 单一资产、稳定币交易对还是波动性 LP? |
| 交易对稳定性 | 10 分 | 检测稳定币资金池,以降低价格风险。 |
| 安全/审计代理指标 | 10 分 | 根据等级 + TVL 深度得出的协议可信度信号。 |
等级: A(85–100)· B(70–84)· C(55–69)· D(40–54)· F(0–39)
蒙特卡洛引擎——不只是 APY × Days
simulate_profit 工具会运行 1,000 次模拟,使用:
- Ornstein-Uhlenbeck 过程——APY 会向长期均值回归(APY 较高的资金池衰减得更快)
- 几何布朗运动——模拟价格分歧带来的无常损失
- 资金池失效事件——根据 TVL 和 APY 水平计算资金池失效的概率
- APY 暴跌事件——随机发生状态变化,导致 APY 下跌 60–95%
返回看跌、基准和乐观情景下的实际美元金额。
数据来源
完全由 DeFiLlama API 提供支持——免费、无需密钥、没有速率限制。覆盖 86+ 条链、6,500+ 个资金池以及所有主流协议。
📄 许可证
AGPL-3.0——可免费使用、修改和分发。通过网络使用(作为服务运行)时,必须基于相同许可证共享修改内容。
由 ProfitSpot 构建
DeFi 领域的 Bloomberg Terminal——现已面向所有 AI Agent 开放。
🔎 也可以看看 Scout Intel MCP——面向 AI Agent 的商业与市场情报工具。几秒钟内即可调查任意公司、市场或竞争对手。
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。