Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

solscan-mcp

MCP.Pizza Chef: wowinter13

solscan-mcp is a Rust-based MCP server that interfaces with the Solscan Pro API to provide real-time Solana blockchain data. It enables querying token info, account activities, and transaction details through natural language prompts processed by large language models. This server supports complex investigative workflows by combining blockchain data with contextual research, making it ideal for developers building blockchain analysis and compliance tools.

Use This MCP server To

Query Solana token information via natural language Retrieve account activity on Solana blockchain Fetch detailed Solana transaction data Combine blockchain data with external research for investigations Generate reports on suspicious wallet activities Integrate Solana data into AI-driven compliance workflows Analyze transaction patterns for fraud detection

README

🟣🔎 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:

demo.mp4

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

solscan-mcp FAQ

How do I authenticate requests to the Solscan API through solscan-mcp?
solscan-mcp uses API keys configured in its settings to authenticate requests securely to the Solscan Pro API.
Can solscan-mcp handle complex multi-step queries involving multiple wallets?
Yes, solscan-mcp supports complex queries and can be combined with other MCP servers for enriched context and multi-step reasoning.
What programming languages is solscan-mcp implemented in?
solscan-mcp is implemented in Rust, ensuring high performance and safety.
How does solscan-mcp integrate with large language models?
It exposes Solana blockchain data as structured context that LLMs can query using natural language prompts.
Is solscan-mcp suitable for real-time blockchain monitoring?
Yes, it provides up-to-date transaction and account data suitable for real-time analysis.
Can solscan-mcp be used for compliance and fraud detection workflows?
Absolutely, it enables detailed transaction analysis and wallet activity reporting for compliance and fraud detection.
Where can I find detailed documentation for solscan-mcp tools?
Detailed documentation is available in the TOOLS.md file within the solscan-mcp repository.