Sonar-MCP
Provides tools for interacting with the Solana blockchain, including network status, wallet balances, token accounts, and transaction details via the Helius RPC API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Sonar-MCPCheck the SOL balance for 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Sonar MCP
An MCP server exposing Solana network, wallet, transaction, and token-intelligence tools backed by the Helius RPC API. Built to plug directly into MCP-compatible clients such as Cursor.
Tools
Domain | Tool | Description |
Network |
| Current slot at a given commitment level |
Network |
| Epoch progress: absolute slot, block height, index |
Network |
| RPC node health check |
Wallet |
| SOL balance for a wallet address |
Wallet |
| SPL token holdings for a wallet |
Transactions |
| Full transaction detail by signature |
Transactions |
| Recent transaction signatures for an address |
Tokens |
| Supply and decimals for an SPL token mint |
Related MCP server: Solana AI Terminal
Prerequisites
Setup
git clone <your-repo-url> sonar-mcp
cd sonar-mcp
uv sync
cp .env.example .envEdit .env:
HELIUS_API_KEY=your-key-here
SOLANA_NETWORK=devnet # or mainnetRunning
Launch the MCP Inspector for local testing:
uv run mcp dev src/sonar_mcp/server.pyThis opens a browser UI where each tool can be called directly against Helius before wiring the server into a client.
Using with Cursor
Add to .cursor/mcp.json (project-level) or your global Cursor MCP config:
{
"mcpServers": {
"sonar": {
"command": "uv",
"args": ["run", "--directory", "/absolute/path/to/sonar-mcp", "sonar-mcp"]
}
}
}Reload MCP servers in Cursor and the 8 tools will appear under sonar.
Project structure
sonar-mcp/
├── .env.example
├── pyproject.toml
├── README.md
└── src/
└── sonar_mcp/
├── instance.py # shared MCPServer instance
├── server.py # entrypoint, registers tool modules
├── config.py # env + RPC URL
├── rpc_client.py # shared Helius JSON-RPC POST helper
└── tools/
├── network.py
├── wallet.py
├── transactions.py
└── tokens.pyNotes
Built on MCP Python SDK v2 (
mcp.server.MCPServer). The oldFastMCPclass frommcp.server.fastmcpwas renamed and moved in v2 — if you're reading examples elsewhere that importFastMCP, they're targeting SDK v1.All Solana RPC calls go through Helius directly; this server does not call the original Sonar FastAPI service.
RpcErrorresponses are returned as{"error": ...}payloads rather than raised, so tool calls degrade gracefully instead of crashing the MCP session.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityCmaintenanceA Model Context Protocol server that provides Claude with comprehensive access to Solana blockchain data via the Helius API, enabling operations like checking wallet balances, retrieving blockchain information, and interacting with tokens and NFTs.Last updated382713MIT
- Flicense-qualityDmaintenanceEnables AI agents to interact with the Solana blockchain network, supporting documentation search, blockchain queries, wallet management, and cryptographic signing operations on Devnet and Testnet.Last updated
- Alicense-qualityDmaintenanceProvides basic Solana RPC methods and prompts for AI models to interact with the Solana blockchain. Enables developers to fetch balances, account info, and transactions through natural language.Last updated1MIT
- Flicense-qualityDmaintenanceEnables Claude to access, analyze, and visualize Solana blockchain data through natural language conversations.Last updated18
Related MCP Connectors
Solana MCP for wallets, trades, markets, PnL, transfers, onchain data, signable swaps and API tools.
Provide AI agents and automation tools with contextual access to blockchain data including balance…
Solana on-chain intelligence — token scans, wallet profiling, bundle detection, 19 MCP tools.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AllenGeorge08/Sonar-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server