π£π solscan-mcp: A Solscan API MCP Server in Rust
About
An MCP server for querying Solana transactions using natural language with Solscan API
Details
- Author
- wowinter13
- GitHub stars
- 43
- Downloads
- 512
- Categories
- Developer Tools
Jump to
- Query Solana token information via Solscan Pro API
- Retrieve account activity data on Solana
- Fetch transaction details from the blockchain
- Graceful error handling (does not crash on API errors)
- Designed to combine with other MCPs for complex analysis
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
π£π solscan-mcp: A Solscan API MCP Server in RustCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install via cargo install solscan-mcp after setting up the Rust toolchain and obtaining a Solscan Pro API key. Then configure your MCP client (e.g., Claude Desktop) by adding the binary path and SOLSCAN_API_KEY environment variable to the MCP server configuration file.
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"\ud83d\udfe3\ud83d\udd0e solscan-mcp: a solscan api mcp server in rust": {
"solscan-mcp": {
"command": "/Users/$username/.cargo/bin/solscan-mcp",
"args": [],
"env": {
"SOLSCAN_API_KEY": "your_solscan_api_key"
}
}
}
}
}
McpServers
{
"solscan-mcp": {
"command": "/Users/$username/.cargo/bin/solscan-mcp",
"args": [],
"env": {
"SOLSCAN_API_KEY": "your_solscan_api_key"
}
}
}
π£π solscan-mcp: A Solscan API MCP Server in Rust
Overview
A Model Context Protocol (MCP) server for interacting with the Solscan Pro API for Solana blockchain data. This server provides tools to query token information, account activities, and transaction details on the Solana blockchain via Large Language Models.
Examples
Simple prompts:
https://github.com/user-attachments/assets/2f2586b2-ed9d-4d4d-bda4-0154b9b98cde
_You can also use it for much more complex queries, like analyzing criminal activity combining multiple MCPs and correct context._
_For example, upload a csv list of suspected addresses, then using perplexity-mcp research tool LLM will add info to context window on how investigators define criminal wallets based on their activity (mev, dusting, poisoning, sandwiched, etc) -> solscan-mcp will use this context to investigate the wallets and provide a report._
Features
For detailed documentation of all available tools, see TOOLS.md.
Installation
Prerequisites:
- Rust toolchain (install via rustup) β for regular usage
- Docker β for Docker usage
- Solscan Pro API key. You can obtain one from Solscan APIs.
Regular
cargo install solscan-mcp
where solscan-mcp # -> /Users/$username/.cargo/bin/solscan-mcp
Add the following to your claude_desktop_config.json or claude_config.json:
{
"mcpServers": {
"solscan-mcp": {
"command": "/Users/$username/.cargo/bin/solscan-mcp",
"args": [],
"env": {
"SOLSCAN_API_KEY": "your_solscan_api_key"
}
}
}
}
Docker
WIP, will be available soon.
Code quality Notes
I treat MCPs like useful scripts, as the structure of the APIs they rely on can always change. So, api.rs could definitely be split into multiple APIs based on Solscan namespaces. My main goal was to make it work and be easy to maintain, while ensuring errors are ignored without breaking the flow (unlike many MCPs I've tested in Python/TS, which crash painfully when they don't gracefully handle simple errors).
License
MIT
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





