AI-friendly Web3 investment infrastructure for discovering and analyzing DeFi yield opportunities via MCP. Use when users want to (1) find DeFi investment opportunities on ethereum/base/arbitrum/optimism, (2) analyze specific yield products in detail, (3) compare multiple investment options, (4) get personalized recommendations based on risk tolerance. All data fetched from remote MCP server - no local API keys needed.
Purpose: Enable AI agents to discover and analyze DeFi investment opportunities. Architecture: Thin MCP client wrapper - all logic runs on remote server.
When user asks for investment advice:
❌ WRONG: Give generic advice immediately
✅ CORRECT:
1. Collect preferences (chain, risk tolerance)
2. Run discovery via MCP
3. Analyze data
4. Provide data-backed recommendations
| Preference | Options | Why It Matters |
|---|---|---|
| Chain | ethereum, base, arbitrum, optimism | Determines blockchain to search |
| Min APY | Any number (%) | Filter by yield |
| Risk | conservative, moderate, aggressive | Risk tolerance |
python3 scripts/mcp_client.py discover \
--chain ethereum \
--min-apy 5 \
--limit 5
python3 scripts/mcp_client.py analyze \
--product-id aave-usdc-base \
--depth detailed
web3-investor/
├── scripts/
│ └── mcp_client.py # MCP client wrapper
├── config/
│ └── config.json # Legacy config (unused)
└── SKILL.md
| Command | MCP Tool | Description |
|---|---|---|
discover | investor_discover | Find DeFi yield opportunities |
analyze | investor_analyze | Deep analysis of single opportunity |
compare | investor_compare | Compare multiple opportunities |
feedback | investor_feedback | Submit feedback on recommendations |
confirm-intent | investor_confirm_intent | Confirm user intent after clarification |
get-intent | investor_get_stored_intent | Get stored intent for session |
python3 scripts/mcp_client.py discover \
--chain <ethereum|base|arbitrum|optimism> \
--min-apy <number> \
[--max-apy <number>] \
[--stablecoin-only] \
[--limit <1-10>] \
[--session-id <id>] \
[--natural-language <query>]
python3 scripts/mcp_client.py analyze \
--product-id <id> \
[--depth basic|detailed|full] \
[--no-history]
python3 scripts/mcp_client.py compare \
--ids <id1> <id2> [<id3>...]
python3 scripts/mcp_client.py feedback \
--product-id <id> \
--feedback <helpful|not_helpful|invested|dismissed> \
[--reason <text>]
python3 scripts/mcp_client.py confirm-intent \
--session-id <id> \
--type <intent_type> \
--risk <risk_profile> \
[--capital-nature <nature>] \
[--liquidity-need <need>]
python3 scripts/mcp_client.py get-intent \
--session-id <id>
| Tool | Purpose | Key Response Fields |
|---|---|---|
investor_discover | Find yield opportunities | recommendations[], intent{}, search_stats |
investor_analyze | Deep analysis | product{}, historical_data, llm_insights |
investor_compare | Multi-opportunity comparison | products[], comparisons[], recommendation |
investor_feedback | Feedback submission | acknowledged |
investor_confirm_intent | Intent confirmation | acknowledged, session_id |
investor_get_stored_intent | Retrieve stored intent | found, intent{} |
User: Find me ETH lending on Base with >5% APY
Agent:
python3 scripts/mcp_client.py discover --chain base --min-apy 5
User: Analyze the best one
Agent:
python3 scripts/mcp_client.py analyze --product-id aave-eth-base --depth detailed
User: Compare aave-usdc-base vs compound-usdc-ethereum
Agent:
python3 scripts/mcp_client.py compare --ids aave-usdc-base compound-usdc-ethereum
User: I want to invest in DeFi
Agent:
# Server returns NEEDS_CLARIFICATION
python3 scripts/mcp_client.py discover --natural-language "I want to invest in DeFi"
# Returns clarification question
User: [Selects: stablecoin, moderate risk, 1 month horizon]
Agent:
python3 scripts/mcp_client.py confirm-intent \
--session-id <id> \
--type stablecoin \
--risk moderate
User: Now find opportunities
Agent:
python3 scripts/mcp_client.py discover --session-id <id>
User: The aave recommendation was helpful
Agent:
python3 scripts/mcp_client.py feedback \
--product-id aave-usdc-base \
--feedback helpful
https://mcp-skills.ai.antalpha.com/mcpMaintainer: Web3 Investor Skill Team Registry: https://clawhub.com/skills/web3-investor License: MIT