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

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

Local
mcp.soDeveloper Tools49Updated 63w ago

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

solscan-mcp is an MCP server written in Rust that queries Solana blockchain data through the Solscan Pro API. It is aimed at users who want large language models to look up tokens, account activity and transaction details. It is installed from the command line and is designed to ignore errors without stopping the flow.

Key features

  1. 01Token information queries
  2. 02Account activity queries
  3. 03Transaction detail queries
  4. 04Implemented in Rust
  5. 05Errors handled without interrupting the flow

Use cases

  1. 01Querying Solana transaction details in natural language
  2. 02Analyzing on-chain activity of an account
  3. 03Supplying blockchain data as context for investigations

MCP support

This project is an MCP server that exposes token, account and transaction query tools to MCP clients, using data from the Solscan Pro API.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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
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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.