DeFi Garden MCP Server
Underwritten DeFi yield discovery & goal planning for AI agents on Base & EVM.
DeFi Garden scores 67 (Good), licensed MIT and written in JavaScript. It can be reached as a remote MCP endpoint. It declares 1 tool. Filed under Uncategorized. GitHub shows 1 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
67 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
86/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 67 comes from
22 + 20 + 1 + 10 + 4 + 10 = 67. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 1 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "alex0xhodler-defi-garden": { "url": "https://www.defi.garden/api/mcp" } }}
Environment variables
This server does not declare environment variables.
Tools1Tool docs quality grade D
All capabilitiesplan.htmltool1. ๐ชด Garden Planner (Default Experience โ and )
About
๐ฑ DeFi Garden
Calm, honest DeFi yield discovery and goal-based savings planning.
DeFi Garden is a static, zero-backend, zero-build-step web application built on the DefiLlama yields API, designed for cautious savers and DeFi operators who value trust, realistic projections, and mathematical transparency over speculative hype.
๐ The Two Core Faces of DeFi Garden
DeFi Garden serves two distinct workflows through an inline, zero-flash IA router (window.__APP_MODE in home.html):
1. ๐ชด Garden Planner (Default Experience โ / and plan.html)
- Goal-First Conversational Savings: Plan savings around real-life goals (subscriptions, gadgets, life milestones) rather than chasing abstract APY numbers.
- Yield-Funded Paradigm: "Buy it outright and the money's gone. Garden it and you keep the money AND get the thing."
- Blended Yield Rates: Calculates honest "forever numbers" โ the capital required so ongoing live yield pays recurring bills automatically.
- Degen Honesty: Applies a mandatory โ decay haircut to variable farm/reward emissions, ensuring users plan around realistic long-term carry.
2. ๐ Analytics & Yield Discovery (/?token=, /?chain=, /?pool=, /?app=1)
- Multi-Chain Pool Explorer: Real-time yield monitoring across 50+ blockchains (Ethereum, Arbitrum, Base, Hyperliquid, Solana, etc.) and all major protocol types (Lending, Staking, LP/DEX, Yield Farming).
- Deep Pool Breakdown (
PoolDetail.js): In-depth pool analytics, 30-day mean APY tracking, base vs. reward emission separation, and impermanent loss risk indicators. - Funding Harvest Module (
/hype-harvest.html//?module=hype-harvest): Delta-neutral cash-and-carry funding harvest calculator for Hyperliquid perps with live basis spread tracking and dual-oracle divergence tripwires.
๐ก๏ธ Trust Rails (The Core Moat)
Every metric rendered across DeFi Garden derives from live on-chain and API data through strict, non-negotiable trust rails:
APY_SANITY_LIMIT = 1000%: Anomalous, short-lived spikes can never enter a plan. In analytics, anomalous pools are demoted, flagged withโ, and forced to high-risk classification.DEFAULT_MIN_TVL = $100K: Low-liquidity pools below the safety floor are filtered out to protect savers from illiquid exits and sudden deprecations.- Dual-Oracle Divergence Guard: Modules verify mark vs. oracle price divergence ($<15\text{ bps}$ tripwire) to alert on basis dislocation and squeeze risk.
- Deterministic Math Layer: LLMs may narrate or explain mechanisms, but numbers, projections, and compounded yields are calculated deterministically.
๐จ Design System โ "Quiet"
DeFi Garden uses the "Quiet" design system โ a restrained, clean-minimal, table-first interface designed for clarity and focus:
- Surface Tokens (
--ui-*):- Backgrounds:
--ui-bg(#F7F8FAlight /#161A20dark),--ui-surface(#FFFFFF/#1E242C),--ui-surface-muted,--ui-surface-sunken. - Separation: Single-pixel hairline borders (
--ui-border: #E4E7EE,--ui-border-strong: #CBD2DF). - Text: High-contrast hierarchy (
--ui-text: #10151F,--ui-text-secondary: #5A6478,--ui-text-muted: #8A93A6). - Accents: Fixed trust-blue palette (
--ui-accent: #3B82F6,--ui-accent-hover: #2563EB,--ui-accent-soft: #EFF5FF). - Radii: Clean geometric squircles (
--ui-radius-sm: 8px,--ui-radius-md: 12px,--ui-radius-lg: 16px,--ui-radius-pill: 999px).
- Backgrounds:
- No Heavy Shadows or Skeuomorphic Skeins: Depth is created through crisp hairline borders and subtle surface tone steps, not artificial dual-direction shadows or background gradients.
- Physical Press Physics: Interactive controls sink 1px on
:active(transform: translateY(1px)), respectingprefers-reduced-motion. - First-Class Bilingual Support (
translations.js): Complete English (en) and Korean (ko) localization synchronized across all user-facing strings.
๐ ๏ธ Architecture & Technology Stack
- Zero Build Step: Runs natively on vanilla web standards. React 18 UMD loaded via script tag; components written in pure
React.createElement(no JSX compilation step required). - Data Ingestion: Client-side integration with
https://yields.llama.fi/poolsand Hyperliquid Info API (https://api.hyperliquid.xyz/info). - State Management:
- Theme:
localStorage.getItem('theme')withdata-theme="light|dark"attribute on<html>. - Language: URL param
?lang=+localStorage.getItem('defi-garden-lang'). - Saved Plan:
localStorage.getItem('garden-plan').
- Theme:
- SEO & Machine Readability:
- Automated dynamic sitemaps (
generate-sitemap.js). - AI Context endpoints:
llms.txtandllms-full.txt(generate-llms.js). - Model Context Protocol (MCP) server integration (
mcp_server.js).
- Automated dynamic sitemaps (
๐ Repository Structure
defi_garden/
โโโ home.html # Master router & analytics app shell
โโโ plan.html # Standalone Garden Planner entry
โโโ hype-harvest.html # HYPE Funding Harvest module
โโโ planner.js # Conversational Garden Planner engine
โโโ app.js # Core analytics grid & pool filtering
โโโ PoolDetail.js # In-depth pool analytics & calculator
โโโ hype-harvest.js # HYPE funding harvest React UMD module
โโโ translations.js # Bilingual dictionary (EN + KO)
โโโ translations.min.js # Production-minified translation dictionary
โโโ style.css # "Quiet" design system tokens & base styles
โโโ planner-styles.css # Planner-specific layout styles
โโโ pool-detail-styles.css # Pool detail drawer styles
โโโ hype-harvest.css # Funding harvest layout styles
โโโ trust-rails.js # Shared trust-rail constants
โโโ canonical.js # URL canonicalization logic
โโโ keeper/ # Autonomous execution & risk keeper scripts
โ โโโ keeper_engine.py # Core risk keeper engine
โ โโโ hype_funding_harvest.py # Hyperliquid HYPE funding rate worker
โโโ tests/ # Python unit & integration test suite
โ โโโ test_keeper_engine.py
โ โโโ test_keeper_hype_harvest.py
โโโ test_*.js # JavaScript offline test suite (71+ test files)
๐งช Development & Testing
DeFi Garden requires no build pipeline. Serve locally with any static HTTP server:
# Start local server
python3 -m http.server 8000
# Open in browser: http://localhost:8000
Running Tests
# Run all unit tests in fast plain mode
npm run test:fast
# Run the complete test suite (plain + browser)
npm test
# Minify production assets
npm run minify
๐ License
MIT License. See LICENSE for details.
Frequently asked questions
What is DeFi Garden MCP Server?
Underwritten DeFi yield discovery & goal planning for AI agents on Base & EVM.
How do I install DeFi Garden MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. DeFi Garden MCP Server connects to the remote endpoint https://www.defi.garden/api/mcp, so there is nothing to install locally.
Is DeFi Garden MCP Server free and open source?
Yes. DeFi Garden MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does DeFi Garden MCP Server support remote (HTTP) connections?
Yes. DeFi Garden MCP Server offers a hosted endpoint over Streamable HTTP, so HTTP-capable clients can connect to it without running anything locally.
What tools does DeFi Garden MCP Server provide?
DeFi Garden MCP Server provides 1 tool: plan.html. See the full tool list for descriptions and parameters.
How is DeFi Garden MCP Server's trust score calculated?
DeFi Garden MCP Server scores 67 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yetโBe the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.