Trading Strategy DeFi vaults
by Trading Strategy
Comprehensive vault performance and yield database with 1000+ vaults across 20+ chains and dozens of digital asset management protocols. Includes returns, Sharpe, volatility, fees, and risk ratings.
by AlphaGrowth Crypto Leads
Comprehensive crypto investment intelligence: 82K+ projects, 70K+ VC investments with amounts and investors, 123K+ DAO treasury snapshots, 942K+ protocol revenue records, and 14M+ historical price data points. Tables: serendb_project, serendb_investment, serendb_daotreasury, serendb_projectrevenue, serendb_coingeckoprice. Updated daily.
Install the x402 MCP server to let your AI agent access this data with automatic USDC payments on Base.
Required: You need a SerenDB database to store query results.
Get your connection string from the SerenDB Console under your database settings.
Add to claude_desktop_config.json:
{
"mcpServers": {
"x402": {
"command": "npx",
"args": ["@serendb/x402-mcp-server"],
"env": {
"X402_GATEWAY_URL": "https://x402.serendb.com",
"WALLET_PRIVATE_KEY": "0x...",
"BASE_RPC_URL": "https://mainnet.base.org",
"SERENDB_CONNECTION_STRING": "postgresql://..."
}
}
}
}Replace 0x... with your wallet private key and postgresql://... with your SerenDB connection string.
claude mcp add x402 \ -e X402_GATEWAY_URL=https://x402.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -e BASE_RPC_URL=https://mainnet.base.org \ -e "SERENDB_CONNECTION_STRING=postgresql://..." \ -- npx -y @serendb/x402-mcp-server
claude mcp add x402 ` -e X402_GATEWAY_URL=https://x402.serendb.com ` -e WALLET_PRIVATE_KEY=0x... ` -e BASE_RPC_URL=https://mainnet.base.org ` -e "SERENDB_CONNECTION_STRING=postgresql://..." ` '--' npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key and postgresql://... with your SerenDB connection string.
gemini mcp add x402 \ -e X402_GATEWAY_URL=https://x402.serendb.com \ -e WALLET_PRIVATE_KEY=0x... \ -e BASE_RPC_URL=https://mainnet.base.org \ -e "SERENDB_CONNECTION_STRING=postgresql://..." \ -- npx -y @serendb/x402-mcp-server
Replace 0x... with your wallet private key and postgresql://... with your SerenDB connection string.
codex mcp add x402 \ --env X402_GATEWAY_URL=https://x402.serendb.com \ --env WALLET_PRIVATE_KEY=0x... \ --env BASE_RPC_URL=https://mainnet.base.org \ --env "SERENDB_CONNECTION_STRING=postgresql://..." \ -- npx -y @serendb/x402-mcp-server
Important: Cursor has a 60s timeout. Pre-install globally first: npm install -g @serendb/x402-mcp-server
First, install globally to avoid timeout issues:
npm install -g @serendb/x402-mcp-server
Then add to ~/.cursor/mcp.json:
{
"mcpServers": {
"x402": {
"command": "x402-mcp-server",
"args": [],
"env": {
"X402_GATEWAY_URL": "https://x402.serendb.com",
"WALLET_PRIVATE_KEY": "0x...",
"BASE_RPC_URL": "https://mainnet.base.org",
"SERENDB_CONNECTION_STRING": "postgresql://..."
}
}
}
}Also works with Windsurf, Zed, and other MCP-compatible clients. See the full setup guide for details.
Access data directly via HTTP using the x402 payment protocol.
HTTP 402 with payment requirements (amount, wallet, EIP-712 data)X-PAYMENT header containing the signaturecurl -X POST https://x402.serendb.com/api/query \
-H "Content-Type: application/json" \
-d '{
"sql": "SELECT * FROM your_table LIMIT 10",
"publisherId": "c5ef017b-ebd6-4688-bcbb-2fcbe469dfae",
"agentWallet": "0xYourWalletAddress"
}'This returns 402 Payment Required with the payment details you need to sign.
After signing the EIP-712 authorization, add the base64-encoded signature:
curl -X POST https://x402.serendb.com/api/query \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64-encoded-signature>" \
-d '{ ... }'Copy these prompts to use with your AI assistant. Make sure you have the x402 MCP server configured.
Using the x402 MCP server, query the AlphaGrowth database to find the top 20 crypto projects by recent VC investment amounts. Analyze the investment landscape: - Which projects are attracting the most capital? - Who are the most active investors? - What categories or sectors are hot right now? - Any emerging trends in where smart money is flowing Save this to my SerenDB under "vc_investment_analysis" to track funding trends over time.
Using the x402 MCP server, query AlphaGrowth to find the top 20 crypto projects by total funding raised. Show project name, number of funding rounds, total amount raised, and average round size to understand which projects attracted the most investor confidence.
Using the x402 MCP server, query AlphaGrowth for the largest DAO treasuries and their recent changes. Summarize DAO treasury health: - Top DAOs by treasury size - Recent inflows or outflows - Treasury composition if available - Which DAOs are best capitalized for their roadmaps Save this to my SerenDB under "dao_treasury_monitor" to track protocol financial health.
Using the x402 MCP server, analyze AlphaGrowth's DAO treasury data to identify the largest DAO treasuries by value. Show the top 15 DAOs ranked by current treasury value (USD) - these represent the most well-funded decentralized organizations.
Using the x402 MCP server, query AlphaGrowth for protocol revenue data across DeFi projects. Research protocol fundamentals: - Which protocols generate the most revenue? - Revenue trends over recent months - Revenue per token or valuation metrics - Undervalued protocols with strong revenue Save this to my SerenDB under "defi_revenue_research" for fundamental analysis.
Using the x402 MCP server, calculate protocol efficiency metrics from AlphaGrowth: for each top protocol, compare total fees collected vs revenue generated. Identify which protocols are most efficient (high revenue-to-fee ratio) and which are cash-burners (low ratios).
Using the x402 MCP server, analyze venture capital strategies in AlphaGrowth: rank the top 15 investors by total capital deployed, number of investments, and average check size. Identify portfolio concentration vs diversification strategies.
Using the x402 MCP server, find emerging investment opportunities in AlphaGrowth: identify protocols with strong revenue growth but below-average funding compared to peers. What patterns indicate promising but undervalued projects?
Pay per 1K rows via x402 protocol
by Trading Strategy
Comprehensive vault performance and yield database with 1000+ vaults across 20+ chains and dozens of digital asset management protocols. Includes returns, Sharpe, volatility, fees, and risk ratings.
by Google Trends
Real-time Google Trends data including interest over time, regional breakdowns, related topics and queries. Supports up to 5 keywords per search, geographic filtering, date ranges (hourly to 5 years), and search property filters (web, images, news, YouTube, shopping).
by Yearn Finance Risk Scores
DeFi vault risk assessment scores across Ethereum, Arbitrum, Base, Optimism, Polygon, and Gnosis. Returns risk scores from 1-5 (low to high risk) with detailed breakdowns for longevity, TVL impact, audit quality, code complexity, team knowledge, and protocol safety.