MangroveAI — Claude Code MCP server: backtest and autotrade crypto
MangroveAI — an MCP server for backtesting and automated crypto trading via Kraken and DEX. Runs strategies on schedule, logs every trade to SQLite.
MIT ★ 9 updated 2026-10-23
claude mcp add --transport http mangroveai https://api.mangrovedeveloper.ai/mcp/What MangroveAI does
The server takes a natural-language goal (momentum on ETH) and generates tested strategies through the MangroveAI API. It trades on Kraken (API key or OAuth) and decentralized exchanges via 1inch across ten EVM networks (Ethereum, Base, Arbitrum, Polygon, Optimism, BNB, Avalanche, zkSync Era, Gnosis, Linea). Signing is client-side; the private key stays on your machine.
Inside: 119 tools, seven Claude Code skills (security audit, Kraken connection, tool specs, bot setup), a REST API, and an SQLite log of every trade. Works with any MCP client — the hosted version is available without installation at https://api.mangrovedeveloper.ai/mcp/. For a local copy you need Python 3.11+ and bash.
Get a no-cost API key at mangrovedeveloper.ai, or pay per call in USDC (x402) without signing up. The setup script ./scripts/setup.sh asks which to use, secures local access, starts the agent, and registers it with Claude if the CLI is present.
What it helps with
- test a crypto strategy without writing code
- run automated Kraken or DEX trades on a schedule
- audit every agent trade in a single database
- access MangroveAI tools from any MCP client
Example prompts for the agent
- Build a momentum strategy for ETH and run a backtest
- Connect Kraken via OAuth and show the balance
- Check the SQLite log for the last ten DEX trades
How to install MangroveAI
Platform CLI: remote server
claude mcp add --transport http mangroveai https://api.mangrovedeveloper.ai/mcp/Platform CLI: remote server
codex mcp add mangroveai --url https://api.mangrovedeveloper.ai/mcp/Config file
{
"mcpServers": {
"mangroveai": {
"url": "https://api.mangrovedeveloper.ai/mcp/"
}
}
}Config file
{
"servers": {
"mangroveai": {
"type": "http",
"url": "https://api.mangrovedeveloper.ai/mcp/"
}
}
}Platform CLI: remote server
gemini mcp add -t http mangroveai https://api.mangrovedeveloper.ai/mcp/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 MangroveAI
How to install MangroveAI in Claude Code?
The command claude mcp add --transport http mangroveai https://api.mangrovedeveloper.ai/mcp/ adds the hosted version without a local install. For the full copy with the plugin, clone the repository and run ./scripts/setup.sh.
What does MangroveAI do?
It turns a language goal into backtested strategies via the MangroveAI API, runs them automatically on cron, trades on Kraken and DEX via 1inch across ten EVM chains, and writes every trade to SQLite.
What does MangroveAI need to run?
Python 3.11+, bash, a no-cost API key from mangrovedeveloper.ai or USDC payment per call. For trading: a Kraken API key or OAuth authorization, or an EVM wallet for DEX.