Sandbox
@wowinter13/solscan-mcp

MCP server for Solscan API queries

solscan-mcp is a Rust MCP server that gives an agent access to Solscan Pro API data on the Solana blockchain. It exposes tools for token information, account activity, and transaction lookups so the agent can answer blockchain questions from natural language.

47 stars17 forksRustUpdated 1y ago
Who it's for

Builders who want Claude Code or another MCP client to inspect Solana accounts and transactions.

What it delivers

You can ask your agent about Solana activity and get blockchain data back in context.

What it does

Solscan API connection

Connects to the Solscan Pro API using an `SOLSCAN_API_KEY` environment variable.

Blockchain lookups

Provides tools for token information, account activity, and transaction details on Solana.

MCP client support

Can be added to Claude Desktop or any MCP-compatible client through its config.

Rust implementation

Packaged as a Rust crate you install with Cargo or run as a local binary.

How to get it

  1. 1Run
    cargo install solscan-mcp
    
    where solscan-mcp # -> /Users/$username/.cargo/bin/solscan-mcp

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

Files in the repo

Repository payload7 top-level entries
  • misc
  • src
  • .gitignore
  • Cargo.lock
  • Cargo.toml
  • README.md
  • TOOLS.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More connectors

Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface

86k

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

43k

Universal provider proxy for OpenAI Codex & Claude Code — use any LLM (Claude, Gemini, Grok, DeepSeek, Ollama…) with Codex CLI, App, SDK, and Claude Code

14k
okf-memory/
okf-agent-memory

Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

547
2akouwu/
reverify

Stop your AI from making things up — it proposes, deterministic tools decide, every claim checked against ground truth with evidence. Grounded facts and context survive resets. Reverse engineering is the proving ground. MCP server + CLI.

1.1k
t8y2/dbxConnectors

20 MB lightweight cross-platform database client for 90+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 90+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP Server。

19k