#solana #mcp #blockchain #solscan

app solscan-mcp

An MCP server for querying Solana transactions using natural language with Solscan API

1 unstable release

new 0.1.0 Apr 13, 2025

#635 in Magic Beans

Download history 80/week @ 2025-04-08

80 downloads per month

MIT license

67KB
1.5K SLoC

πŸŸ£πŸ”Ž 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.

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

Docker

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

Dependencies

~12–26MB
~374K SLoC