DeFi Trading Agents — Claude Code MCP server: setup & features
A collection of 42 Web3 agent schemas covering portfolio management, yield farming, and crypto analytics. Connects ready-made DeFi personas directly to your coding assistant.
Open on GitHubWhat DeFi Trading Agents does
The repository serves a structured JSON API containing 42 pre-built agent definitions for blockchain workflows. It supplies specialized profiles for impermanent loss estimation, gas optimization, smart contract security audits, and token unlock tracking. Schemas support 18 languages and load directly from CDN endpoints or https://sperax.click/index.json.
Every persona is structured as a machine-readable JSON manifest compatible with LLMs and orchestrators. Developers can also clone the source, run bun install, and execute bun run build to generate custom agent indexes locally.
Keep in mind that the flagship Sperax Portfolio agent currently operates strictly in read-only mode for tracking metrics; automated trading bots and live execution remain in development.
What it helps with
- import validated agent schemas for decentralized finance workflows
- calculate impermanent loss and liquidation thresholds in liquidity pools
- assemble collaborative agent groups for risk assessment and gas tracking
- inspect smart contract risks and tokenomics data using focused personas
Example prompts for the agent
- Fetch the portfolio agent schema from
https://sperax.click/sperax-portfolio.jsonand review wallet holdings - Load the
defi-yield-optimizerdefinition to evaluate farming yields - Use
agents-manifest.jsonto organize a team of gas and risk evaluation specialists
How to install DeFi Trading Agents
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about DeFi Trading Agents
How to install and build DeFi Trading Agents?
Clone the project with git clone https://github.com/nirholas/defi-agents.git, run bun install to fetch dependencies, and build schemas via bun run build. You can also pull schemas directly from https://sperax.click/index.json.
What does DeFi Trading Agents provide?
It delivers 42 standardized JSON profiles for crypto tasks, including whale watchers, tax calculators, yield optimizers, and portfolio trackers across 18 languages.
Can these agents execute trades automatically?
The primary Sperax Portfolio persona is restricted to read-only balance monitoring and analytics. Autonomous trading bots and automated interactions are scheduled for later releases.