Solana DeFi Analytics MCP Server
Provides comprehensive analytics and insights for Solana wallets and their DeFi activities, including transaction history, protocol interactions, risk profiling, and strategy recommendations.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Solana DeFi Analytics MCP Server
A Model Context Protocol (MCP) server that provides comprehensive analytics and insights for Solana wallets and their DeFi activities.
Features
Wallet Activity Analysis: Track and analyze transaction history, patterns, and behaviors
DeFi Position Tracking: Monitor staking, lending, and liquidity positions across protocols
Risk Profiling: Assess wallet risk profiles based on transaction patterns
Strategy Recommendations: Get personalized DeFi strategy suggestions
Transaction Details: Detailed breakdown and analysis of individual transactions
Related MCP server: deepnets
Supported Protocols
Raydium (Swap)
Orca (Swap)
Jupiter (Aggregator)
Marinade (Staking)
Serum DEX V3
Solend (Lending)
Mango Markets
FluxBeam
Metaplex (NFTs)
Tools
1. fetchWalletActivity
Retrieves detailed transaction history for a Solana wallet address.
{
address: string,
limit?: number // default: 20
}2. analyzeWallet
Performs comprehensive analysis of a wallet's DeFi activity and generates recommendations.
{
address: string
}3. getTransactionDetails
Provides detailed information about a specific Solana transaction.
{
signature: string
}Installation
Clone the repository:
git clone https://github.com/kirtiraj22/Solana-DeFi-Analytics-MCP-Server
cd solana-mcpInstall dependencies:
pnpm installSet up environment variables:
cp .env.example .envConfigure the following variables in .env:
SOLANA_RPC_URL=your_rpc_url_hereUsage
Start the MCP server:
pnpm run devTo Test via the MCP Inspector run the following commands:
pnpm buildnpx @modelcontextprotocol/inspector node build/index.jsFor Claude Desktop client, add the following code to the claude_desktop_config.json :
{
"mcpServers": {
"filesystem": {
"command": "node",
"args": [
"<PROJECT_PATHL>\\solana-mcp\\build\\index.js"
],
"env": {
"SOLANA_RPC_URL": "<YOUR_SOLANA_RPC_URL>"
}
}
}
}
Project Structure
src/
├── analyzers/ # Analysis logic for patterns, DeFi positions, etc.
├── config/ # Configuration constants and settings
├── formatters/ # Output formatting for different types of data
├── services/ # Core services for blockchain interaction
├── tools/ # MCP tool implementations
├── types/ # TypeScript interfaces and types
└── utils/ # Utility functions and helpersFeatures in Detail
Wallet Analysis
Transaction history tracking
Protocol interaction analysis
Risk profile assessment
Portfolio diversification scoring
Favorite protocol identification
DeFi Position Tracking
Active staking positions
Lending positions
Liquidity provisions
Trading statistics
Pattern Recognition
Dollar-cost averaging detection
Yield farming patterns
Trading behavior analysis
Protocol usage patterns
Risk Assessment
Trading frequency monitoring
Protocol diversity evaluation
Security considerations
Adding New Features
Create new analyzers in
src/analyzers/Add formatters in
src/formatters/Implement services in
src/services/Register new tools in
src/tools/
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Solana onchain intelligence for AI agents: wallet risk, due-diligence, perps funding, smart money.
Full Solana DeFi coverage: launchpads, tokens, trades, and wallets, decoded at scale.
Analyse crypto wallets (EVM, Solana, Bitcoin) and compare DeFi lending, borrowing and pool rates.
Solana on-chain intelligence — token scans, wallet profiling, bundle detection, 19 MCP tools.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides comprehensive analytics for Solana wallets, enabling real-time portfolio insights, cross-protocol DeFi position monitoring, behavioral analytics, and AI-powered investment strategy recommendations across the Solana ecosystem.3ISC
- AlicenseBqualityDmaintenanceProvides deep analysis of Solana tokens, their risks, and holder information.1677 npmMIT
- FlicenseNot gradedqualityBmaintenanceProvides read-only Solana wallet intelligence for evidence-first copy-trading research, enabling exact wallet activity, parsed swaps, transaction evidence, current positions, token snapshots, source-vs-copy comparisons, watchlist scans, and partial Odin-rule classification.-
- AlicenseNot gradedqualityBmaintenanceDeterministic read-only Solana wallet intelligence and risk evidence MCP server with 8 tools for wallet analysis, risk scoring, transaction-cited evidence graphs, SPL token security, and live token pricing.2MIT