Skip to content
Agentmart
Submit a tool

Graph Aave MCP

AAVE V2/V3 lending & governance MCP — 7 chains via The Graph subgraphs

Connector by PaulieB14 · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 2
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/paulieb14-graph-aave-mcp

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

AAVE V2/V3 lending & governance MCP — 7 chains via The Graph subgraphs

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
56 read · 0 write · 1 delete
Secrets
1 (API keys, tokens or passwords)
Install scripts
None found
Runs as
Node.js package

Tools by what they do 57

Read from the source code; the running server may list different tools.

Read 56 · Look things up without changing anything.

  • find_best_rates
  • get_aave_flash_loans
  • get_aave_liquidations
  • get_aave_repays
  • get_aave_reserve
  • get_aave_reserves
  • get_aave_schema
  • get_aave_user_position
  • get_at_risk_positions
  • get_cross_chain_risk_summary
  • get_governance_proposals
  • get_health_factor_history
Show 44 more tools
  • get_live_reserve_detail
  • get_live_user_account_data
  • get_proposal_votes
  • get_protocol_risk_stats
  • get_recent_borrows
  • get_recent_supplies
  • get_reserve_rate_history
  • get_risk_alerts
  • get_risk_liquidations
  • get_session_state
  • get_user_risk_profile
  • get_v4_asset
  • get_v4_asset_price_history
  • get_v4_chains
  • get_v4_claimable_rewards
  • get_v4_config_changes
  • get_v4_exchange_rate
  • get_v4_hub_assets
  • get_v4_hub_daily_flows
  • get_v4_hub_flows
  • get_v4_hubs
  • get_v4_liquidation_postmortem
  • get_v4_protocol_history
  • get_v4_recent_liquidations
  • get_v4_reserves
  • get_v4_spoke_config_history
  • get_v4_spokes
  • get_v4_swap_quote
  • get_v4_treasury_events
  • get_v4_treasury_flows
  • get_v4_user_activities
  • get_v4_user_activity
  • get_v4_user_balances
  • get_v4_user_borrows
  • get_v4_user_positions
  • get_v4_user_risk_trajectory
  • get_v4_user_summary
  • get_v4_user_supplies
  • list_aave_chains
  • list_findings
  • list_risk_chains
  • note_finding
  • query_aave_subgraph
  • simulate_health_factor

Delete 1 · Delete, drop, revoke or wipe things.

  • delete_finding

Secrets and settings it asks for

Secrets: values you paste in that let it act as you.

  • GRAPH_API_KEY

Network hosts it talks to 5

  • api.v4.aave.com · found in code
  • gateway.thegraph.com · found in code
  • github.com · found in code
  • glama.ai · found in code
  • thegraph.com · found in code

Files it touches

  • Your home directory (~)

Tools (57)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • delete_finding

    Remove a finding from the durable store by id. Use when the user retracts a previously saved preference. Returns { removed: true|false }.

  • find_best_rates

    Use this when the user asks 'Where should I supply USDC for the best yield?', 'Which chain has the lowest WETH borrow rate?', 'Compare AAVE rates across chains for USDC', 'Best AAVE lending rates for DAI'. Queries all AAVE lending deployments in parallel for the given asset, then ranks by APY. Excludes Fantom (incompatible Messari schema) and skips anomalous pools. Returns a ranked table with chain, supply APY, variable borrow APY, utilization, and approx available liquidity. Includes a _recommendation field with the best option.

  • get_aave_flash_loans

    Use this when the user asks about AAVE flash loans — 'Show me recent flash loans on Ethereum', 'What assets are flash-loaned most?', 'How much in flash loan fees has AAVE earned?'. Returns: initiator address, asset borrowed, amount, fee paid (totalFee), and timestamp. Flash loans must be borrowed and repaid within a single transaction.

  • get_aave_liquidations

    Use this when the user asks about AAVE liquidation events — 'Show me recent liquidations on Ethereum', 'Has address 0x... been liquidated?', 'Who are the top liquidators on Arbitrum?', 'What collateral is being seized most?'. Returns: liquidator address, liquidated user, collateral asset seized, debt asset repaid, amounts, and timestamp. Liquidations occur when a user's health factor drops below 1.0.

  • get_aave_repays

    Use this when the user asks about AAVE debt repayment activity — 'Show me recent repayments on Ethereum', 'Has address 0x... repaid any debt?', 'What assets are being repaid most on Arbitrum?', 'Show USDC repay history'. Returns repay events with: repayer address, asset, raw amount, and timestamp. Divide amount by 10^decimals for human-readable value.

  • get_aave_reserve

    Use this when the user asks about a specific AAVE asset in detail — e.g. 'Tell me everything about USDC on Ethereum AAVE', 'What are the WETH borrow parameters?', 'What is the liquidation threshold for WBTC collateral?'. Returns full reserve config: current rates, TVL, LTV, liquidation parameters, lifetime stats (total borrows/repayments/liquidations), and token addresses. RATE CONVERSION: divide liquidityRate / variableBorrowRate by 1e27 * 100 for APY %.

  • get_aave_reserves

    Use this when the user asks about AAVE lending markets, available assets, supply APY, borrow APY, TVL, utilization rate, collateral factors, or liquidation thresholds on a specific chain. Returns all active reserves sorted by total liquidity (TVL). RATE CONVERSION: liquidityRate and variableBorrowRate are in RAY units (1e27). Supply APY % = liquidityRate / 1e27 * 100. Borrow APY % = variableBorrowRate / 1e27 * 100. Amounts are in native token units — divide by 10^decimals for human-readable. Ideal for: 'What assets can I lend on Arbitrum?', 'What is USDC supply rate on Base?', 'Show me all AAV…

  • get_aave_schema

    Use this to introspect the full GraphQL schema for any AAVE chain's subgraph. Returns all queryable root fields and their types. Useful before writing a custom query_aave_subgraph call, or to understand what data is available on a specific chain/version.

  • get_aave_user_position

    Use this when the user asks about a wallet's AAVE position — 'What is my health factor?', 'What have I supplied to AAVE?', 'How much have I borrowed?', 'Am I at risk of liquidation?', 'Show me my collateral and debt on Arbitrum'. Returns all supplied assets (with aToken balances), all borrowed assets (variable + stable debt), collateral flags, and e-mode category. Health Factor ≈ sum(collateral_i * price_i * liqThreshold_i) / sum(debt_i * price_i). HF < 1.0 = liquidatable. Amounts in native token units — divide by 10^decimals.

  • get_at_risk_positions

    Find Aave positions at risk of liquidation across 5 chains. Returns positions with health factor, risk score (0–100), risk level (critical/danger/warning), collateral, and debt amounts. Use when asked: 'Which positions are close to liquidation on Arbitrum?', 'Show me the riskiest Aave positions on Base', 'How many critical positions are there?'

  • get_cross_chain_risk_summary

    Get a cross-chain risk overview across all 5 chains (Ethereum, Arbitrum, Base, Polygon, Optimism) in a single call. Returns protocol-level risk stats for each chain: total positions, danger/warning/critical counts. Use when asked: 'Which chain has the most at-risk positions?', 'Give me a risk dashboard across all chains', 'Compare Aave risk levels across networks'.

  • get_governance_proposals

    Use this when the user asks about AAVE governance — 'Show me recent AAVE governance proposals', 'What proposals are currently active?', 'What is the status of AAVE proposal #X?', 'Show me governance voting activity'. Queries the AAVE Governance V3 subgraph on Ethereum. Returns: proposal ID, creator, access level (1=short executor/2=long executor), current state, voting duration (seconds), for/against votes, title, and payload info. Proposal states: Created=0, Active=1, Queued=2, Executed=3, Failed=4, Cancelled=5, Expired=6.

  • get_health_factor_history

    Get a user's health factor history over time — shows how their risk has changed block by block. Useful for trend analysis and understanding if a position is deteriorating. Use when asked: 'How has this wallet's health factor changed?', 'Is this position getting riskier over time?', 'Show me the health factor trend for 0x...'.

  • get_live_reserve_detail

    LIVE on-chain read of one reserve via AaveProtocolDataProvider — current rates (supply/variable/stable APY), totals (aToken/stable/variable debt), indexes, plus config (LTV, liquidation threshold/bonus, reserve factor, active/frozen flags), token addresses (aToken/sDebt/vDebt), and caps. Authoritative current-block snapshot for a single asset.

  • get_live_user_account_data

    LIVE on-chain read of a user's Aave V3 account state via Pool.getUserAccountData. Returns current-block health factor, total collateral/debt (base units, 8 decimals), available borrows, current liquidation threshold, and LTV. Use this BEFORE reporting any 'critical' or 'liquidatable' position from subgraph data — subgraphs lag chainhead by N blocks and a position rated CRITICAL in the index may already be liquidated (or no longer at risk). Response includes as_of.block so freshness survives context compaction.

Show 42 more tools
  • get_proposal_votes

    Use this when the user asks about the vote totals on a specific AAVE governance proposal — 'How did proposal #X vote?', 'Show me the for/against breakdown for proposal #185', 'Did proposal #X pass?'. Returns aggregate vote totals: total forVotes and againstVotes for the proposal. Note: individual per-voter records are not indexed in this subgraph.

  • get_protocol_risk_stats

    Get aggregate risk statistics for Aave on a chain — total positions, and how many are in danger, warning, or critical state. Use when asked: 'How healthy is Aave on Ethereum right now?', 'How many positions are at risk on Arbitrum?', 'Give me a risk overview of the protocol'.

  • get_recent_borrows

    Use this when the user asks about recent borrowing activity on AAVE — 'Who has been borrowing USDC on Ethereum?', 'Show me recent WETH borrows on Arbitrum', 'What has address 0x... borrowed recently?', 'Show borrow volume by asset'. Returns borrow events with: borrower address, asset, raw amount, borrow rate, rate mode (variable=2/stable=1), and timestamp. Divide amount by 10^decimals for human-readable value.

  • get_recent_supplies

    Use this when the user asks about recent deposit/supply activity on AAVE — 'Who has been supplying ETH on Base?', 'Show me recent USDC deposits on Polygon', 'What has address 0x... deposited recently?'. V3 chains use the 'supply' entity; V2 chains use 'deposit' — handled automatically. Returns: supplier address, asset symbol, raw amount, and timestamp. Divide amount by 10^decimals for human-readable value.

  • get_reserve_rate_history

    Use this when the user asks about historical AAVE rates or TVL trends — 'How has USDC supply rate changed over time?', 'Show me ETH borrow rate history on Polygon', 'What was the utilization rate last week?'. Returns timestamped snapshots of: liquidityRate, variableBorrowRate, stableBorrowRate, utilizationRate, availableLiquidity, totalLiquidity, totalCurrentVariableDebt. Rates are in RAY units (divide by 1e27 * 100 for APY %). Get the reserve ID from get_aave_reserves (the 'id' field = underlyingAsset + poolAddress).

  • get_risk_alerts

    Get recent risk level transitions — when positions moved between safe/warning/danger/critical states. Shows previous and new risk level, health factor at transition, and timestamp. Use when asked: 'Which positions recently became at risk?', 'Show me health factor drops on Polygon', 'Has wallet 0x... had any risk alerts?'.

  • get_risk_liquidations

    Get liquidation events from the risk subgraph — includes collateral asset, debt asset, amounts, liquidator, and transaction hash. Complements get_aave_liquidations with risk-specific context. Use when asked: 'Show recent liquidations on Base', 'Was this wallet liquidated?', 'What collateral was seized?'.

  • get_session_state

    Recover saved findings from the durable store — call this at the START of any monitoring workflow (e.g. cross_chain_risk_monitor) to re-orient after compaction or restart. Returns user-stated preferences, watchlists, and thresholds saved via note_finding. Treat returned findings as standing instructions for the session.

  • get_user_risk_profile

    Get a user's full liquidation risk profile on a specific chain — all their positions with health factors, risk scores, collateral, and debt. Use when asked: 'Is wallet 0x... at risk of liquidation?', 'What's the health factor for this address on Base?', 'Show me this user's risk across all their Aave positions'.

  • get_v4_asset

    Get Aave V4 asset details: total supplied/borrowed across all hubs, average supply/borrow APY, and current price. No API key needed.

  • get_v4_asset_price_history

    Get historical price data for an Aave V4 asset. Powered by Chainlink oracles. No API key needed.

  • get_v4_chains

    List all chains supported by Aave V4 (mainnet and testnet). No API key needed.

  • get_v4_claimable_rewards

    Get a user's claimable Merkl and points rewards on Aave V4. No API key needed.

  • get_v4_config_changes

    Aave V4 config-change history: hub<->spoke caps/risk-premium threshold/active/halted snapshots, reserve config snapshots (collateralRisk, paused, frozen, borrowable), spoke liquidation config snapshots (targetHealthFactor 1e18, bonus factor bps) and the position-manager whitelist. Base by default.

  • get_v4_exchange_rate

    Get exchange rate for any token via Aave V4's Chainlink oracle integration. Supports ERC-20 tokens, native tokens (ETH), and fiat currencies. Pass EITHER tokenAddress OR native:true. No API key needed.

  • get_v4_hub_assets

    Aave V4 hub assets with borrow rate (drawnRate as %), liquidity fee %, accrued protocol fees (human units), fee receiver, IR strategy and reinvestment controller. Base by default.

  • get_v4_hub_daily_flows

    Aave V4 daily hub<->spoke flow totals per hub asset (supplied, withdrawn, borrowed, repaid, deficit, flow count), optionally with the raw recent flow events. Base by default.

  • get_v4_hub_flows

    Use this for Aave V4 Hub<->Spoke liquidity routing events that AaveKit's GraphQL API does NOT expose: Add, Remove, Draw, Restore, RefreshPremium, ReportDeficit, TransferShares. Returns event-level flow data enriched with human spoke names (Main, Bluechip, Kelp, Lido, Ethena Correlated, Ethena Ecosystem, EtherFi, Forex, Gold, Lombard) and asset symbols. Use when the user asks 'where is liquidity moving in V4', 'which spoke is draining the Hub', 'show me recent borrows on Main', or wants the routing primitive that V4's official API hides. Backed by aave-v4-omnigraph subgraph.

  • get_v4_hubs

    Get Aave V4 liquidity hubs (Core, Plus, Prime) with TVL, utilization, and supply/borrow caps. No API key needed.

  • get_v4_liquidation_postmortem

    Aave V4 liquidation event details with full premium-delta context. Look up by tx hash or by user address. Returns the spoke, collateral/debt reserves, exact amounts, the liquidator, and the premium-share/offset-ray deltas that V4 records for each liquidation. Use for: forensic analysis of a specific liquidation, building a user's liquidation history, or auditing liquidator behavior. Data AaveKit's REST API doesn't expose.

  • get_v4_protocol_history

    Get Aave V4 protocol-wide historical data: total deposits and borrows over time in USD. No API key needed.

  • get_v4_recent_liquidations

    Aave V4 liquidations from the subgraph (Base by default): liquidator, borrower, spoke, collateral/debt reserves, debt restored, collateral seized, shares moved and premium deltas, newest first, plus a per-liquidator count. Filter by liquidator or user. Not exposed by the official Aave V4 API.

  • get_v4_reserves

    Get Aave V4 reserves with supply/borrow APYs, risk params (collateral factor, caps), and status. Use get_aave_reserves for V2/V3. No API key needed. SIZE: unfiltered this returns every reserve (~31k tokens). Pass `symbols` for a named asset, or `compact: true` for rates only.

  • get_v4_spoke_config_history

    Aave V4 spoke liquidation-config history. Returns the current targetHealthFactor / healthFactorForMaxBonus / liquidationBonusFactor for a spoke and its full snapshot history (one row per governance update). Use for: auditing parameter drift, modeling how config changes affected liquidation behavior, governance-trail reporting. Data AaveKit's REST API doesn't expose.

  • get_v4_spokes

    Get Aave V4 spokes (Main, Bluechip, Kelp, Lido, Ethena, EtherFi, etc.). Spokes are chain-specific deployment points enabling cross-chain lending. No API key needed.

  • get_v4_swap_quote

    Get a read-only swap price quote from Aave V4 (powered by CoW Protocol with MEV protection). Returns pricing, fees, and slippage. No API key needed.

  • get_v4_treasury_events

    Aave V4 treasury events merged newest-first: FeeMint, Sweep, Reclaim, DeficitEliminated and spoke ReportDeficit, with per-type counts. Base by default.

  • get_v4_treasury_flows

    Aave V4 treasury / fee-share / deficit accounting. Returns a merged stream of FeeMint, Sweep, Reclaim, and DeficitEliminated events ordered by block desc. Optionally filter by hub (Core/Plus/Prime) and time window. Use for: treasury reporting, fee-receiver attribution, identifying deficit events, monitoring reinvestment-controller activity. Data AaveKit's REST API doesn't expose.

  • get_v4_user_activities

    Get a user's Aave V4 transaction history: supplies, borrows, withdrawals, repayments, liquidations, swaps. No API key needed.

  • get_v4_user_activity

    Aave V4 per-user view from the subgraph: latest risk premium (ray), risk-premium history, liquidations suffered, and spoke activity (supply/withdraw/borrow/repay/collateral toggles). Base by default.

  • get_v4_user_balances

    Get a user's cross-chain token balances in Aave V4 with highest supply APY and lowest borrow APY per token. No API key needed.

  • get_v4_user_borrows

    Get a user's Aave V4 borrow positions with principal, debt, interest. No API key needed.

  • get_v4_user_positions

    Get a user's Aave V4 positions across all spokes — health factor, collateral, debt, borrowing power, net APY. Cross-chain by default. No API key needed.

  • get_v4_user_risk_trajectory

    Aave V4 per-user risk-premium history. Returns the user's risk-premium snapshots over time (one per RefreshPremium event), plus the latest premium and the spoke it was set on. Use for: agent-side modeling of a borrower's risk drift, identifying users approaching liquidation, or auditing premium accrual against AaveKit's aggregate risk view. Data AaveKit's REST API doesn't expose.

  • get_v4_user_summary

    Get aggregated Aave V4 portfolio summary for a user: total positions, net balance, collateral, debt, net APY, lowest health factor. No API key needed.

  • get_v4_user_supplies

    Get a user's Aave V4 supply positions with principal, interest, and collateral status. No API key needed.

  • list_aave_chains

    Use this when the user asks which AAVE chains are supported, wants to pick a network, or needs to discover available AAVE deployments. Returns all supported chains with their subgraph IDs, protocol version (V2/V3), chain name, 30-day query volume, and key entities. Chains: Ethereum, Base, Arbitrum, Polygon, Optimism, Avalanche, Fantom (V3 + V2 legacy), plus AAVE Governance V3. Always call this first if chain is ambiguous.

  • list_findings

    List saved findings with filters. Use get_session_state for the simple case; use this when you need tag or pagination filtering.

  • list_risk_chains

    List all available liquidation risk subgraph chains with their names, networks, subgraph IDs, and 30-day query volumes. Use when asked: 'Which chains have liquidation risk data?', 'What risk subgraphs are available?'.

  • note_finding

    Persist a user-stated preference, watchlist entry, threshold, or any context that should survive conversation compaction and MCP restart. Examples: 'monitor wallet 0xabc... on Base and Arbitrum', 'ignore stETH HF dips above 1.5', 'alert only when collateral > $10k'. Returns the saved finding with an id. Call get_session_state at workflow start to recover saved findings.

  • query_aave_subgraph

    Use this when a pre-built tool doesn't cover the user's need — execute a raw GraphQL query against any AAVE chain's subgraph. Use get_aave_schema first to explore available entities and fields. Lending schema entities: reserves, userReserves, borrows, supplies (V3) / deposits (V2), repays, liquidationCalls, flashLoans, pool, protocol, reserveParamsHistoryItems. Governance schema entities: proposals, proposalVotes_collection, payloads, votingPortals, votingConfigs, proposalMetadata_collection.

  • simulate_health_factor

    Use this when the user wants to simulate how a price change affects their AAVE health factor — 'What happens to my health factor if ETH drops 20%?', 'How much can WBTC fall before I get liquidated?', 'Simulate a 30% drop in my collateral asset'. Fetches the user's full position, computes current health factor, then recalculates it after applying the specified price change to the target asset. Health Factor < 1.0 means the position is liquidatable.

Signals

Stars
2
Forks
2
Open issues
1
Last commit
Oct 15, 2026 (15 days ago)
Last release
Mar 30, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.PaulieB14/graph-aave-mcp
Version
1.0.0
Auth
API key
Packages
npm graph-aave-mcp
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from PaulieB14

Cite this page

Graph Aave MCP. Agent Mart. https://agentmart.dev/connectors/paulieb14-graph-aave-mcp (last updated 2026-10-24)