solscan-mcp

solscan-mcp

A Rust-based MCP server for querying Solscan Pro API on Solana blockchain data.

32
Stars
12
Forks
32
Watchers
0
Issues
solscan-mcp provides a Model Context Protocol (MCP) server that interfaces with the Solscan Pro API to deliver blockchain data from the Solana network. Built in Rust, it allows querying of token information, account activities, and transactions, and is designed for easy integration with language models. The tool supports context-driven investigations by leveraging AI to analyze and report on blockchain wallet behaviors using customized context inputs.

Key Features

Model Context Protocol (MCP) server implementation
Integration with Solscan Pro API
Rust-based performance and reliability
Supports querying tokens, accounts, and transactions
Contextual analysis with Large Language Models
Custom environment variable configuration
CLI and Docker-based deployment options
Example workflows for advanced investigations
Error tolerance and graceful error handling
Support for multi-MCP compositional workflows

Use Cases

Querying Solana blockchain data such as tokens and transactions
Integrating blockchain data into AI-driven research workflows
Automated investigation of wallet activities and behaviors
Generating forensic reports for suspicious blockchain addresses
Combining with other MCPs for complex, multi-source analysis
Building context-aware blockchain monitoring tools
Streamlining blockchain data access for language model applications
Supporting compliance and anti-fraud investigations
Providing real-time blockchain data to analytical dashboards
Facilitating scriptable and automated blockchain data queries

README

🟣🔎 solscan-mcp: A Solscan API MCP Server in Rust

Trust Score

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

bash
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:

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

Star History

Star History Chart

Repository Owner

wowinter13
wowinter13

User

Repository Details

Language Rust
Default Branch master
Size 1,517 KB
Contributors 2
MCP Verified Nov 12, 2025

Programming Languages

Rust
100%

Tags

Topics

crate crates mcp mcp-client mcp-server modelcontextprotocol rust solana solana-sdk solscan

Join Our Newsletter

Stay updated with the latest AI tools, news, and offers by subscribing to our weekly newsletter.

We respect your privacy. Unsubscribe at any time.

Related MCPs

Discover similar Model Context Protocol servers

  • solvitor-mcp

    solvitor-mcp

    A Rust-based MCP server for extracting Solana smart contract IDL via the Solvitor API.

    solvitor-mcp is a Model Context Protocol (MCP) server built in Rust for seamless interaction with the Solvitor API. It allows users to extract Interface Definition Language (IDL) files from closed-source Solana smart contracts using reverse engineering techniques. By exposing a 'decode' tool, it simplifies access to program metadata and supports both 'anchor' and 'native' Solana programs. Integration is straightforward and can be customized with user API keys for secure access.

    • 2
    • MCP
    • Adeptus-Innovatio/solvitor-mcp
  • Web3 MCP

    Web3 MCP

    A Model Context Protocol server for unified blockchain data access.

    Web3 MCP is a Model Context Protocol server that provides access to blockchain data through Ankr's Advanced API. It allows large language models to interact seamlessly with multiple blockchain networks such as Ethereum, BSC, Polygon, and Avalanche. With support for NFT, token, and blockchain query APIs, it enables users and AI agents to retrieve on-chain data, statistics, and analytics efficiently within an MCP context.

    • 3
    • MCP
    • tumf/web3-mcp
  • VictoriaMetrics MCP Server

    VictoriaMetrics MCP Server

    Model Context Protocol server enabling advanced monitoring and observability for VictoriaMetrics.

    VictoriaMetrics MCP Server implements the Model Context Protocol (MCP) to provide seamless integration with VictoriaMetrics, allowing advanced monitoring, data exploration, and observability. It offers access to almost all read-only APIs, as well as embedded documentation for offline usage. The server facilitates comprehensive metric querying, cardinality analysis, alert and rule testing, and automation capabilities for engineers and tools.

    • 87
    • MCP
    • VictoriaMetrics-Community/mcp-victoriametrics
  • Hive Intelligence MCP Server

    Hive Intelligence MCP Server

    Unified MCP server delivering advanced cryptocurrency and Web3 analytics.

    Hive Intelligence MCP Server provides comprehensive cryptocurrency, DeFi, and Web3 analytics via the Model Context Protocol. It enables AI assistants to access and orchestrate over 200 specialized tools covering market data, on-chain analytics, portfolio tracking, and security analysis. The server offers both dynamic and category-specific analytics through a unified MCP interface, facilitating intelligent tool orchestration for diverse crypto data needs.

    • 7
    • MCP
    • hive-intel/hive-crypto-mcp
  • Wazuh MCP Server

    Wazuh MCP Server

    Bridge Wazuh SIEM data to AI assistants with Model Context Protocol compatibility.

    Wazuh MCP Server is a Rust-based service that interfaces with Wazuh SIEM systems and transforms their complex data into Model Context Protocol (MCP) compatible formats. It enables AI assistants, including Claude Desktop Integration, to access security alerts, vulnerability assessments, agent health, and other SIEM insights through natural language queries. This solution facilitates compliance teams and security operations by providing actionable data for monitoring, forensics, compliance validation, and incident response.

    • 137
    • MCP
    • gbrigandi/mcp-server-wazuh
  • MCP-wolfram-alpha

    MCP-wolfram-alpha

    An MCP server for querying the Wolfram Alpha API.

    MCP-wolfram-alpha provides an implementation of the Model Context Protocol, enabling integration with the Wolfram Alpha API. It exposes prompts and tools to facilitate AI systems in answering natural language queries by leveraging Wolfram Alpha's computational knowledge engine. The server requires an API key and offers configuration examples for seamless setup and development.

    • 64
    • MCP
    • SecretiveShell/MCP-wolfram-alpha
  • Didn't find tool you were looking for?

    Be as detailed as possible for better results