AlgoVault — Crypto Quant Trade Calls
The Brain Layer for AI Trading Agents — quant calls + cross-venue arb across perp venues via MCP.
作者提供的说明(英文原文)
AI agent access to on-chain DeFi data on Polygon & Arbitrum: balances, positions, prices.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
POLYGON_RPC_URL, ARBITRUM_RPC_URL标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"defi": {
"command": "uvx",
"args": [
"defi-mcp"
],
"env": {
"POLYGON_RPC_URL": "your-value",
"ARBITRUM_RPC_URL": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add defi --env POLYGON_RPC_URL=your-value --env ARBITRUM_RPC_URL=your-value -- uvx defi-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"defi": {
"command": "uvx",
"args": [
"defi-mcp"
],
"env": {
"POLYGON_RPC_URL": "your-value",
"ARBITRUM_RPC_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"defi": {
"type": "stdio",
"command": "uvx",
"args": [
"defi-mcp"
],
"env": {
"POLYGON_RPC_URL": "your-value",
"ARBITRUM_RPC_URL": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 matiosera3-ops 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:POLYGON_RPC_URL, ARBITRUM_RPC_URL
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.6)于5个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:AlgoVault — Crypto Quant Trade Calls, Iran Crypto Exchanges, Highwire
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
The Brain Layer for AI Trading Agents — quant calls + cross-venue arb across perp venues via MCP.
Unofficial read-only Iranian crypto exchanges: prices in Toman, order books, trades, candles.
Trade, launch and research higher.fun coins on Solana, from any AI agent. Unsigned or policy-signed.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
An MCP (Model Context Protocol) server that gives AI agents direct, on-chain access to DeFi data on EVM chains — wallet balances, Aave v3 lending positions, and live token prices, with no centralized API in the middle.
Status: Live and functional. 5 tools available today, more on the roadmap.
Most "DeFi + AI" integrations route through a centralized API that can rate-limit, paywall, or simply disappear. defi-mcp talks directly to the chain (via your own RPC provider) and to first-party oracles (Chainlink), so the data your AI agent gets is exactly what's on-chain — verifiable, and not dependent on a third-party API staying online.
get_token_balanceReads the ERC-20 balance of any wallet address for a supported token.
Supported tokens:
USDC, USDC.e, USDT, WETH, WMATIC, WBTC, DAI, AAVEUSDC, USDC.e (bridged), USDT, WETH, WBTC, ARB// get_token_balance(address="0x...", token_symbol="USDC", chain="polygon")
{ "address": "0x...", "token": "USDC", "chain": "polygon", "balance": 268.21, "raw_balance": "268210000", "decimals": 6 }
get_aave_positionReads a user's full Aave v3 lending/borrowing position: collateral, debt, available borrowing power, and health factor — straight from the Aave v3 Pool contract.
// get_aave_position(address="0x...", chain="polygon")
{ "address": "0x...", "chain": "polygon", "total_collateral_usd": 969.78, "total_debt_usd": 288.16, "available_borrows_usd": 484.86, "liquidation_threshold_pct": 82.79, "ltv_pct": 79.71, "health_factor": 2.79, "has_active_position": true }
A health_factor below 1.0 means the position is at risk of liquidation. A null health factor means the user has no outstanding debt.
get_token_priceReads the current USD price of a token directly from a Chainlink price feed — the same oracle DeFi protocols use internally, so the price is consistent with what get_aave_position reports.
Supported feeds:
ETH/WETH, MATIC/WMATIC, WBTC, USDC, USDTETH/WETH, WBTC, ARB, USDC, USDT// get_token_price(token_symbol="WBTC", chain="polygon")
{ "token": "WBTC", "chain": "polygon", "price_usd": 63835.77, "decimals": 8, "updated_at": 1782032816 }
simulate_swapSimulates a Uniswap v3 swap on-chain via the QuoterV2 contract — no transaction submitted, no wallet needed. Tries all four fee tiers (0.01%, 0.05%, 0.3%, 1%) and returns the best available output amount.
Supported tokens:
USDC, USDC.e, USDT, WETH, WMATIC, WBTC, DAI, AAVEUSDC, USDC.e (bridged), USDT, WETH, WBTC, ARB// simulate_swap(token_in="WMATIC", token_out="USDC", amount_in=100.0, chain="polygon")
{ "chain": "polygon", "token_in": "WMATIC", "token_out": "USDC", "amount_in": 100.0, "amount_out": 7.990547, "fee_tier_used_pct": 0.05, "fee_tier_used_bps": 500, "gas_estimate": 122770 }
If no pool exists for the pair at any fee tier, returns {"error": "No liquidity found for this pair on any fee tier"}.
helloSimple connectivity check — confirms the MCP server is reachable and responding.
| Chain | get_token_balance | get_aave_position | get_token_price | simulate_swap |
|---|---|---|---|---|
| Polygon | ✅ | ✅ | ✅ | ✅ |
| Arbitrum | ✅ | ✅ | ✅ | ✅ |
Requires Python 3.10+ and an RPC provider API key (e.g. Alchemy, free tier works).
pip install defi-mcp
Create a .env file in your working directory (see .env.example):
POLYGON_RPC_URL=https://polygon-mainnet.g.alchemy.com/v2/YOUR_API_KEY
ARBITRUM_RPC_URL=https://arb-mainnet.g.alchemy.com/v2/YOUR_API_KEY
Each chain only needs its RPC URL configured. Tools called with chain="arbitrum" will fail gracefully if ARBITRUM_RPC_URL is not set.
Add this to your Claude Desktop MCP config (claude_desktop_config.json):
{
"mcpServers": { "defi-mcp": { "command": "uvx", "args": ["defi-mcp"], "env": { "POLYGON_RPC_URL": "https://polygon-mainnet.g.alchemy.com/v2/YOUR_API_KEY", "ARBITRUM_RPC_URL": "https://arb-mainnet.g.alchemy.com/v2/YOUR_API_KEY" } } } }
Restart Claude Desktop, and the tools above will be available to the model.
You can test the server directly with the official MCP Inspector:
npx @modelcontextprotocol/inspector uvx defi-mcp
defi-mcp-cloud — hosted tier with MEV-specific tools, caching, and higher rate limitsOpen-core model: this repository (MIT licensed) covers standard on-chain read tools. A separate defi-mcp-cloud will offer a hosted version with MEV-related tools, request caching, and managed RPC access for users who don't want to run their own infrastructure.
web3.py snippets. Useful if you want to read on-chain state directly via eth_getStorageAt instead of calling view functions — the lower-level approach behind some of what this server does under the hood.Issues and PRs welcome. This is an early-stage project — feedback on what tools would actually be useful to you is especially valuable.
MIT