solscan-mcp
An MCP server for querying Solana transactions using natural language with Solscan API
Documentation
🟣🔎 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-mcpAdd 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
Frequently asked questions
What is solscan-mcp?
solscan-mcp is An MCP server for querying Solana transactions using natural language with Solscan API
How do I install solscan-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is solscan-mcp open source?
Yes — it is hosted on GitHub at https://github.com/wowinter13/solscan-mcp and has 32 stars.
Related MCP tools
AWS MCP Servers — helping you get the most out of AWS, wherever you use MCP. Python-based implementation. Trusted by 6900+ developers.
A Unified MCP Server Management App TypeScript-based implementation. Trusted by 800+ developers. Trusted by 800+ developers.
开盒即用的优雅管理mcp服务 | 结合Agent框架 | 作者听劝 | 已发布pypi | Vue页面demo Python-based implementation.
🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments.
Expose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth! Python-based implementation. Trusted by 11000+ developers.
MCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients Trusted by 4800+ developers. Trusted by 4800+ developers. Trusted by 4800+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP