Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/demcp/demcp-defillama-mcp
/ functions
Functions
7 in github.com/demcp/demcp-defillama-mcp
⨍
Functions
7
◇
Types & classes
0
↳
Endpoints
3
↓ 6 callers
Function
make_request
Make a request to the API with proper error handling.
defillama.py:108
Function
get_chain_tvl
Get a chain's tvl Args: chain: chain name Example: - chain="ethereum" - Returns historical TVL data for Ethereum blo
defillama.py:46
Function
get_pool_tvl
Get a pool's tvl from defillama. Args: pool: pool id Example: - pool="747c1d2a-c668-4682-b9f9-296708a3dd90" - Re
defillama.py:91
Function
get_pools
Get all pools from defillama.
defillama.py:79
Function
get_protocol_tvl
Get a defi protocol tvl from defillama Args: protocol: protocol name Example: - protocol="aave" - Returns TVL da
defillama.py:29
Function
get_protocols
Get all protocols from defillama.
defillama.py:18
Function
get_token_prices
Get a token's price Args: token: token name Example: - token="ethereum:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2" - Retu
defillama.py:63