defi-mcp
An open-source MCP server providing AI agents with direct, on-chain access to DeFi data on EVM chains like Polygon and Arbitrum. It retrieves wallet balances, Aave v3 lending positions, and live token prices via Chainlink oracles without relying on centralized APIs. It also simulates Uniswap v3 swaps to estimate output amounts and fees.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Read ERC-20 token balances for specific wallet addresses on Polygon or Arbitrum
- Retrieve Aave v3 lending positions including collateral, debt, and health factor
- Fetch live USD token prices directly from Chainlink price feeds
- Simulate Uniswap v3 swaps to estimate output amounts and best fee tiers
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
defi-mcp 0.1.6
{
"version": "0.1.6",
"transport": "stdio",
"identifier": "defi-mcp",
"registryType": "pypi",
"environmentVariables": [
{
"name": "POLYGON_RPC_URL",
"format": "string",
"isRequired": true,
"description": "RPC URL for Polygon (e.g. from Alchemy or Infura)"
},
{
"name": "ARBITRUM_RPC_URL",
"format": "string",
"description": "RPC URL for Arbitrum One (e.g. from Alchemy or Infura)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"defi-mcp": {
"command": "uvx",
"args": [
"defi-mcp==0.1.6"
],
"env": {
"POLYGON_RPC_URL": "<YOUR_POLYGON_RPC_URL>",
"ARBITRUM_RPC_URL": "<YOUR_ARBITRUM_RPC_URL>"
}
}
}
}Cline
{
"mcpServers": {
"defi-mcp": {
"command": "uvx",
"args": [
"defi-mcp==0.1.6"
],
"env": {
"POLYGON_RPC_URL": "<YOUR_POLYGON_RPC_URL>",
"ARBITRUM_RPC_URL": "<YOUR_ARBITRUM_RPC_URL>"
}
}
}
}VS Code
{
"servers": {
"defi-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"defi-mcp==0.1.6"
],
"env": {
"POLYGON_RPC_URL": "<YOUR_POLYGON_RPC_URL>",
"ARBITRUM_RPC_URL": "<YOUR_ARBITRUM_RPC_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"defi-mcp": {
"command": "uvx",
"args": [
"defi-mcp==0.1.6"
],
"env": {
"POLYGON_RPC_URL": "<YOUR_POLYGON_RPC_URL>",
"ARBITRUM_RPC_URL": "<YOUR_ARBITRUM_RPC_URL>"
}
}
}
}Let your agent find its tools
Find servers like defi-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.