Solana Metrics MCP Server
About
Analyze Solana metrics from InfluxDB and generate Grafana dashboards.
Details
- Author
- wcampbellgalaxy
- Categories
- Developer Tools, Other, Infrastructure, Database
Jump to
Setup
Install Solana Metrics MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/wcampbellgalaxy/solana-metrics-mcp-server
Follow the installation instructions in the repository README, then restart your MCP client.
Analyze Solana metrics from InfluxDB and generate Grafana dashboards.
This MCP server analyzes Solana metrics from InfluxDB and generates Grafana dashboards. It's designed to work with thesol_metricsdatabase and provides intelligent categorization and analysis of blockchain metrics.
- π Metric Discovery: Lists all available metrics from the sol_metrics InfluxDB database
- π·οΈ Intelligent Categorization: Automatically categorizes metrics into logical groups (Consensus, Network, Banking, Accounts, RPC, Performance, Jito/MEV)
- π Metric Analysis: Provides detailed explanations of what each metric measures and why it's useful
- π Auto-Dashboard Export: Creates and saves importable Grafana dashboard JSON files tografana/folder
- π Code Search: Helps locate metric definitions in the Solana Rust codebase
- π Dual InfluxDB Support: Compatible with both InfluxDB v1 and v2
- π οΈ VS Code Integration: Works seamlessly as an MCP server in Visual Studio Code
Set the following environment variables to connect to your InfluxDB instance:
export INFLUX_URL="http://your-influxdb-server:8086" export INFLUX_TOKEN="your_token" export INFLUX_ORG="your_org" export INFLUX_BUCKET="sol_metrics" export INFLUX_VERSION="v1" # or "v2" for InfluxDB v2
When you generate dashboards using thegenerate_dashboardtool, the server automatically:
- Saves JSON filesto thegrafana/folder in your project directory
- Creates timestamped backupsfor version history
- Provides ready-to-importGrafana dashboard configurations
- consensus-dashboard.json- Epoch rewards, slot confirmation, validator voting
- network-dashboard.json- Gossip, cluster info, retransmit metrics
- banking-dashboard.json- Transaction processing, prioritization fees
- accounts-dashboard.json- Account database, cache, hashing metrics
- rpc-dashboard.json- RPC service and subscription metrics
- performance-dashboard.json- CPU, memory, disk usage metrics
- jito-mev-dashboard.json- Block engine, bundle processing, MEV relayer metrics
Add this server to your Claude Desktop configuration:
{ "mcpServers": { "solana-metrics": { "command": "node", "args": ["/absolute/path/to/solana-metrics-mcp-server/build/index.js"] } } }
Lists all available metrics from the sol_metrics database.
Analyzes and categorizes metrics with detailed explanations.
- Parameters:
- category(optional): Filter by category (Consensus, Network, Banking, Accounts, RPC, Performance, Jito/MEV, Other, All)
Generates a Grafana dashboard JSON for selected metrics.
- Parameters:
- category: Category to generate dashboard for
- dashboard_name: Name for the generated dashboard
Searches for metric definitions in the Solana Rust codebase.
- Parameters:
- metric_name: Name of the metric to search for
The server organizes metrics into the following categories based on Solana's architecture:
- Consensus: Validator voting, slots, epochs, leader schedules
- Network: Cluster topology, gossip, turbine, TPU/TVU, repairs
- Banking: Transaction processing, PoH recording, leader slot utilization
- Accounts: Account database operations, hashing, snapshots
- RPC: API request handling, subscriptions, WebSocket connections
- Performance: System resources, throughput benchmarks
- Jito/MEV: MEV tips, bundle processing, block engine metrics
# Development mode npm run dev # Build only npm run build # Start server npm start
This server is designed for Solana metrics analysis. For questions or improvements, please refer to the Solana metrics documentation and codebase.
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
A server for integrating with InfluxDB, a time-series database.
An MCP server for interacting with InfluxDB time-series databases, enabling AI assistants to work with time-series data.
Access VictoriaMetrics APIs for monitoring, observability, and debugging.
Provides access to OpenTelemetry traces and metrics through Logfire.
A read-only server for the Unimus network configuration management system.
Official MCP server for dbt (data build tool) providing integration with dbt Core/Cloud CLI, project metadata discovery, model information, and semantic layer querying capabilities.
Interact with your AWS environment using natural language to query and manage resources. Requires local AWS credentials.
Interact with your AWS environment using natural language. Requires local AWS credentials.
Monitor passive income, bandwidth sharing, and DePIN earnings from a self-hosted CashPilot dashboard
Behavioral trust scoring for MCP servers and AI agents. Live registry tracking 4,500+ servers with trust scores based on interaction history, success rates, and latency.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





