DeFi Intelligence Engine
Complete DeFi intelligence — Yield, Staking, Restaking, RWA, Perps, Gas Optimization & Contract Security. One answer, not raw data.
README
DeFi Intelligence Engine — MCP Server
A Model Context Protocol (MCP) server providing complete DeFi intelligence — Yield, Liquid Staking, Restaking, RWA, Perpetuals, Gas Optimization, and Smart Contract Security. Risk-adjusted single recommendations with reasoning, 97% fewer tokens than raw data.
Built with the MCP SDK (FastMCP) · Transport: streamable-http · Compatible with Claude Desktop, Claude Code, OpenClaw, Cursor, Windsurf, and any MCP-compatible client.
MCP Tools (paid · 0.05 USDC via x402 on Base)
| Tool | Description |
|---|---|
get_best_yield |
Best yield for USDC, USDT, ETH across 548 protocols |
get_optimal_allocation |
Multi-protocol capital split for max risk-adjusted yield |
explain_risk |
9-signal risk breakdown for any DeFiLlama protocol |
compare_yields |
Side-by-side protocol comparison |
get_best_liquid_staking |
Best LST for ETH, SOL, BNB (Lido, Rocket Pool, Jito...) |
get_best_restaking |
Best restaking/LRT (EigenLayer, Ether.fi, Renzo, Puffer) |
get_best_rwa |
Best Real World Asset protocol (Ondo, BUIDL, Maple, Centrifuge) |
get_perps_overview |
Top perps by 24h volume (Hyperliquid, dYdX, GMX, Drift) |
compare_perps |
Side-by-side perpetuals comparison |
get_optimal_gas_window |
Predict best time window to transact for minimum gas cost |
score_contract |
Smart contract security risk score via GoPlus Security API |
MCP Tools (free)
| Tool | Description |
|---|---|
get_gas_price |
Current gas prices (safe/standard/fast) for any EVM chain |
get_defi_overview |
Full DeFi market snapshot across all categories |
yield_alert_set |
Register APY threshold alert |
yield_alert_check |
Poll alert triggered/watching status |
yield_alert_delete |
Remove an alert by ID |
yield_alerts_list |
List all active alerts |
server_info |
Server metadata, all tools, resources, pricing |
MCP Resources (free)
| URI | Description |
|---|---|
defi://market-overview |
Real-time top yields snapshot (~168 tokens) |
defi://risk-glossary |
Risk term definitions for output interpretation |
MCP Prompts (free)
| Prompt | Usage |
|---|---|
/yield-check |
Find best yield for asset + amount |
/portfolio-optimize |
Optimize multi-asset DeFi allocation |
/daily-briefing |
Morning yield market summary |
/yield-watch |
Monitor APY threshold + act on trigger |
Installation — Claude Desktop
{
"mcpServers": {
"defi-intelligence-engine": {
"url": "https://defi-yield-engine-production.up.railway.app/mcp"
}
}
}
Installation — Any MCP Client
MCP Server URL : https://defi-yield-engine-production.up.railway.app/mcp
Transport : streamable-http
Protocol : Model Context Protocol (MCP)
Payment — x402 Protocol
Paid tools require 0.05 USDC per call on Base. No signup, no API key.
Recipient : 0x74E3ab71eC674D343aD481Ea20F489C720C11Ad4
Network : Base (chain 8453)
Asset : USDC
Protocol : x402
Discovery Endpoints
| Endpoint | Description |
|---|---|
/.well-known/x402.json |
x402 payment manifest (Coinbase Bazaar) |
/.well-known/agent.json |
A2A Agent Card (Google A2A Protocol) |
/health |
Health check + x402 status |
Data Sources
- DeFiLlama — 13,800+ pools, 7,000+ protocols, 500+ chains (yield, staking, RWA, perps)
- Etherscan Gas Oracle — real-time gas prices + pattern-based prediction
- GoPlus Security API — smart contract honeypot + risk detection
No API keys required · No user data stored · Cache: 1-5 min
Tech Stack
- MCP SDK: FastMCP (Python)
- Transport: Streamable HTTP (MCP standard)
- Payment: x402 (USDC on Base)
- Hosting: Railway
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。