# Defillama MCP server

Agent View of the PolicyLayer registry record for Defillama: identity, probed posture, risk grade, and all 14 tools classified. HTML page: https://policylayer.com/tools/defillama

## Facts

- Server id: `@nic0xflamel/defillama-mcp-server`
- Install: `npx -y @nic0xflamel/defillama-mcp-server`
- Homepage: git+https://github.com/nic0flamel/notion-automation.git
- Registry record: grade B, identity unverified
- Lifecycle: active
- Rate-limited: no
- Tools: 14 (10 with introspected schema)
- Tool categories present: Read
- Tags: defillama
- Record last modified: 2026-07-31T11:28:40.926Z

## Tools (14)

| Tool | Category | Risk | Record |
| --- | --- | --- | --- |
| `get_chart__by_pool` | Read | Low | https://policylayer.com/tools/defillama/get-chart--by-pool.md |
| `get_overview_dexs` | Read | Low | https://policylayer.com/tools/defillama/get-overview-dexs.md |
| `get_overview_dexs__by_chain` | Read | Low | https://policylayer.com/tools/defillama/get-overview-dexs--by-chain.md |
| `get_overview_fees` | Read | Low | https://policylayer.com/tools/defillama/get-overview-fees.md |
| `get_overview_fees__by_chain` | Read | Low | https://policylayer.com/tools/defillama/get-overview-fees--by-chain.md |
| `get_pools` | Read | Low | https://policylayer.com/tools/defillama/get-pools.md |
| `get_protocols` | Read | Low | https://policylayer.com/tools/defillama/get-protocols.md |
| `get_stablecoincharts_all` | Read | Low | https://policylayer.com/tools/defillama/get-stablecoincharts-all.md |
| `get_summary_dexs__by_protocol` | Read | Low | https://policylayer.com/tools/defillama/get-summary-dexs--by-protocol.md |
| `get_summary_fees__by_protocol` | Read | Low | https://policylayer.com/tools/defillama/get-summary-fees--by-protocol.md |
| `get_tvl__by_protocol` | Read | Low | https://policylayer.com/tools/defillama/get-tvl--by-protocol.md |
| `get_v2_chains` | Read | Low | https://policylayer.com/tools/defillama/get-v2-chains.md |
| `get_v2_historicalChainTvl` | Read | Low | https://policylayer.com/tools/defillama/get-v2-historicalchaintvl.md |
| `get_v2_historicalChainTvl__by_chain` | Read | Low | https://policylayer.com/tools/defillama/get-v2-historicalchaintvl--by-chain.md |

## Tool descriptions

- `get_chart__by_pool` — Get historical APY and TVL of a pool
- `get_overview_dexs` — List all dexs along with summaries of their volumes and dataType history data
- `get_overview_dexs__by_chain` — List all dexs along with summaries of their volumes and dataType history data filtering by chain
- `get_overview_fees` — List all protocols along with summaries of their fees and revenue and dataType history data
- `get_overview_fees__by_chain` — List all protocols along with summaries of their fees and revenue and dataType history data by chain
- `get_pools` — Retrieve the latest data for all pools, including enriched information such as predictions
- `get_protocols` — List all protocols on defillama along with their tvl
- `get_stablecoincharts_all` — Get historical mcap sum of all stablecoins
- `get_summary_dexs__by_protocol` — Get summary of dex volume with historical data
- `get_summary_fees__by_protocol` — Get summary of protocol fees and revenue with historical data
- `get_tvl__by_protocol` — Simplified endpoint to get current TVL of a protocol
- `get_v2_chains` — Get current TVL of all chains
- `get_v2_historicalChainTvl` — Get historical TVL (excludes liquid staking and double counted tvl) of DeFi on all chains
- `get_v2_historicalChainTvl__by_chain` — Get historical TVL (excludes liquid staking and double counted tvl) of a chain

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=defillama · API: https://policylayer.com/registry/api · Recommended policies for every tool: https://policylayer.com/policies/defillama
