Introduction
DeFi Copilot is a Stellar-native DeFi intelligence layer for AI agents. Query yield strategies and swap routes — paying per request with x402. No API keys. No subscriptions.
Overview
DeFi Copilot exposes two intelligent endpoints — /defi/yield/best and /defi/swap/best — that return live on-chain intelligence from Blend Finance via Soroban RPC and Stellar DEX.
Each paid call uses the x402 protocol: the server returns HTTP 402, the agent builds and signs a Stellar USDC transaction, and the local facilitator settles it on-chain before returning data.
Two ways to use
Install in Claude Desktop or any MCP-compatible AI. Agents query and pay automatically without human intervention.
Standard HTTP with x402 payment protocol. Works with any HTTP client. Live at api.fxjrin.com.
How it works
Live backend
Quick start
The fastest way to get started is via the MCP server — install in Claude Code with one command:
Or add to Claude Desktop config: