Alertio — Claude Code MCP server: DeFi position risk
Reads health factors for lending positions, simulates liquidations and watches stablecoin pegs. No API key needed.
claude mcp add --transport http alertio https://www.alertio.io/api/mcpWhat Alertio does
The server speaks Streamable HTTP at https://www.alertio.io/api/mcp and hands your agent a set of DeFi risk tools. scan_wallet takes an EVM address and pulls every active borrow across Aave V3 and V4, Spark, Morpho, Euler V2 and Moonwell, with health factor, collateral and debt. Solana (Kamino) and TON (EVAA) get their own tools.
simulate_liquidation takes a collateral drop percentage and reports which positions would be liquidated and which only move up a risk tier. The maths is a straight multiplication of the current health factor. Every collateral leg is assumed to fall by the same amount, so for a mix of volatile and stable assets the result is a conservative estimate.
calculate_health_factor needs no wallet and no chain: you pass collateral legs with their own liquidation thresholds plus the debt. It is the one tool that calls no upstream service, so rate limits and outages elsewhere do not touch it. Rounding out the set are get_stablecoin_pegs, which pulls DeFiLlama data and flags deviations past 0.5%, and get_market_utilization for Aave V3 markets.
What it helps with
- check a wallet's borrows across several protocols at once
- find the collateral drop that triggers liquidation
- size a health factor for a position you have not opened yet
- catch a stablecoin drifting off its dollar peg
- read Aave V3 market utilization before borrowing
Example prompts for the agent
- Scan wallet
0xabc...1234and list positions with their risk levels - What happens to my loans if collateral drops 30%?
- Calculate the health factor for 5 ETH collateral at an 80% threshold and $6,500 debt
How to install Alertio
Platform CLI: remote server
claude mcp add --transport http alertio https://www.alertio.io/api/mcpPlatform CLI: remote server
codex mcp add alertio --url https://www.alertio.io/api/mcpConfig file
{
"mcpServers": {
"alertio": {
"url": "https://www.alertio.io/api/mcp"
}
}
}Config file
{
"servers": {
"alertio": {
"type": "http",
"url": "https://www.alertio.io/api/mcp"
}
}
}Platform CLI: remote server
gemini mcp add -t http alertio https://www.alertio.io/api/mcpStep 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 Alertio
How do I install Alertio in Claude Code?
One command: claude mcp add --transport http alertio https://www.alertio.io/api/mcp.
What does Alertio do?
It gives an agent DeFi lending risk data: health factors, liquidation simulation, stablecoin pegs and market utilization. No API key is involved.
Does Alertio need an API key?
No. The endpoint https://www.alertio.io/api/mcp accepts connections without authentication.