INDIVIDUAL MCP TOOL
explain_rails
Returns DeFi Garden's full API contract document: the exact CURRENT trust-rail values (the APY sanity limit and the minimum TVL floor, read live, never hardcoded), prose explanations of what each rail excludes and why, the upstream data source, and the endpoint list.
LIVE ENDPOINT
https://www.defi.garden/mcp
Connect to this endpoint to inspect the live schema for explain_rails and invoke it with your own arguments.
Indexed input schema
{}Risk classification
Inferred read-only · medium confidence · heuristic, not a guarantee.
- No write-capable action terms were found; this is not proof that invocation has no side effects.
Parent server
CONNECT WITH APPROVAL
Client installation
Review this server and its permissions before adding it. Secret placeholders must be set locally.
Codex
~/.codex/config.toml
[mcp_servers.defi-garden-mcp]
url = "https://www.defi.garden/mcp"
enabled = true
Claude Code
.mcp.json
{
"mcpServers": {
"defi-garden-mcp": {
"type": "http",
"url": "https://www.defi.garden/mcp"
}
}
}
Claude Desktop
Settings → Connectors → Add custom connector
Name: defi-garden-mcp
Remote MCP URL: https://www.defi.garden/mcp
Add this remote URL as a custom connector in Claude Desktop. Availability depends on the user plan and workspace policy.
Cursor
.cursor/mcp.json
{
"mcpServers": {
"defi-garden-mcp": {
"url": "https://www.defi.garden/mcp"
}
}
}
Visual Studio Code
.vscode/mcp.json
Add to Visual Studio Code{
"servers": {
"defi-garden-mcp": {
"type": "http",
"url": "https://www.defi.garden/mcp"
}
}
}
Generic MCP
Client-specific MCP configuration
{
"name": "defi-garden-mcp",
"transport": "streamable-http",
"url": "https://www.defi.garden/mcp"
}
MCP Inspector
Run the official MCP Inspector locally and enter the indexed Streamable HTTP endpoint.
Related tools
find_pools— Search DeFi Garden's railed, curated pool list by token symbol, chain, project, and/or a minimum TVL floor.get_pool— Look up a single DeFi Garden pool by its DefiLlama pool id.forever_number— Computes the lump-sum capital whose yield alone would cover a recurring monthly bill forever (capital * rate/12 >= monthly), the SUBSCRIPTION-archetype math.