An MCP server that empowers AI agents to inspect any wallet’s balance and onchain activity across major EVM chains and Solana chain.
An MCP server that empowers AI agents to inspect any wallet’s balance and onchain activity across major EVM chains and Solana chain.
uv
(recommended) or pip
.Clone the Repository:
git clone https://github.com/kukapay/wallet-inspector-mcp.git
cd wallet-inspector-mcp
Install Dependencies:
Using uv
(recommended):
uv async
Or using pip
:
pip install mcp[cli] python-dotenv tabulate
Installing to Claude Desktop:
Install the server as a Claude Desktop application:
uv run mcp install cli.py --name "Wallet Inspector"
Configuration file as a reference:
{
"mcpServers": {
"Wallet Inspector": {
"command": "uv",
"args": [ "--directory", "/path/to/wallet-inspector-mcp", "run", "main.py" ],
"env": { "DUNE_SIM_API_KEY": "your_dune_sim_api_key_here"},
}
}
}
Replace /path/to/wallet-inspector-mcp
with your actual installation path, and your_dune_sim_api_key_here
with your Dune SIM API key.
Use an MCP-compatible client (e.g., Claude Desktop CLI) to query the server. Example natural language queries:
Balance Queries:
Activity Queries (EVM only):
Transaction Queries:
Balance Output:
Wallet 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 balances:
+----------+-----------------+-------------+
| Chain | Token Amount | USD Value |
+==========+=================+=============+
| ethereum | 605.371497 ETH | $1842034.66 |
+----------+-----------------+-------------+
| polygon | 100.500000 MATIC| $50.25 |
+----------+-----------------+-------------+
| bsc | 10.000000 BNB | $600.00 |
+----------+-----------------+-------------+
Wallet DYw8jCTfwHNRJhhmFcbXvVDTqWMEVFBX6ZKUmG5CNSKK balances:
+----------+---------------+-------------+
| Chain | Token Amount | USD Value |
+==========+===============+=============+
| solana | 1.000000 SOL | $20.50 |
+----------+---------------+-------------+
Activity Output (EVM only):
Wallet 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 activity:
Chain ID: 8453
Block Time: 2025-02-20T13:52:29+00:00
Tx Hash: 0x184544c8d67a0cbed0a3f04abe5f958b96635e8c743c070f70e24b1c06cd1aa6
Type: Receive
Asset Type: ERC20
Value: 123.069653 ENT
USD Value: $0.14
Transaction Output:
Wallet 0xd8da6bf26964af9d7eed9e03e53415d37aa96045 transactions:
Chain: ethereum
Block Time: 2023-11-07T05:31:56Z
Tx Hash: 0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
From: 0xd8da6bf26964af9d7eed9e03e53415d37aa96045
To: 0x1234567890abcdef1234567890abcdef12345678
Value: 0.000320 ETH
Wallet DYw8jCTfwHNRJhhmFcbXvVDTqWMEVFBX6ZKUmG5CNSKK transactions:
Chain: solana
Block Time: 2023-03-28T09:20:00Z
Tx Hash: 5SzSbWKM9yZC7cCGMhUhvnYdWQytrk9NBaWwug1gQBKKwNEBvBKqPSfVeYYnZwUuUyvcCHgYhDkTRrB6YBfwzfv8
From: DYw8jCTfwHNRJhhmFcbXvVDTqWMEVFBX6ZKUmG5CNSKK
To: 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin
Value: 0.010000 SOL
get_wallet_balance
wallet_address
(str): The wallet address to query (e.g., '0x123...' for EVM chains or 'DYw8jCT...' for Solana).get_wallet_activity
wallet_address
(str): The EVM-compatible wallet address to query (e.g., '0x123...').get_wallet_transactions
wallet_address
(str): The wallet address to query (e.g., '0x123...' for EVM chains or 'DYw8jCT...' for Solana).limit
(int, optional): Maximum number of transactions to return (default: 100).This project is licensed under the MIT License. See the LICENSE file for details.