Skip to main content
Glama
Solscan MCP Server

Solscan MCP Server

by WINGFO-HQ

Solscan MCP Server

A Model Context Protocol (MCP) server that provides LLMs with real-time access to Solana blockchain data through Solscan API v2.

🚀 Features

  • Account Intelligence: Comprehensive data on balances, transactions, transfers, and holdings (Tokens, NFTs, Stake).

  • Market Analytics: Track trending tokens, top lists, price data, and holder distributions.

  • Activity History: Deep dive into DeFi trading and NFT activities.

  • Network Transparency: Direct access to block details, transaction logs, and chain status.

Related MCP server: Solana MCP Demo

📦 Installation

  1. Clone this repository

  2. Install dependencies:

npm install
  1. Build the project:

npm run build

🛠 Usage with Claude Desktop

To use this MCP server with Claude Desktop, add the following to your Claude Desktop configuration:

{
  "mcpServers": {
    "solscan": {
      "command": "node",
      "args": [
        "C:\\YOUR_USERNAME\\YOUR_PROJECT_PATH\\mcp-solscan\\dist\\index.js"
      ]
    }
  }
}

🐳 Docker Support

You can also run this server using Docker:

docker-compose up --build -d

🔧 Architecture

The server uses Solscan API v2 (public endpoints) to fetch data directly, ensuring:

  • Speed: Direct API calls are faster than browser automation.

  • Reliability: Structured JSON responses.

  • Efficiency: Minimal resource usage compared to running a headless browser.

📝 Tools Reference

Tool

Description

get_account

Get details of a Solana account from Solscan.

get_transaction

Get details of a Solana transaction from Solscan.

get_account_transactions

Get recent transactions of a Solana account.

get_account_transfers

Get SPL transfers of a Solana account.

get_account_tokens

Get tokens held by a Solana account.

get_account_nfts

Get NFTs held by a Solana account.

get_account_stake_accounts

Get stake accounts held by a Solana account.

get_account_defi_activities

Get DeFi trading history of a Solana account.

get_account_nft_activities

Get NFT trading history of a Solana account.

get_token_meta

Get metadata of a token from Solscan.

get_token_holders

Get holders of a token from Solscan.

get_token_list

Get list of top tokens from Solscan.

get_token_trending

Get trending tokens from Solscan.

get_token_price

Get current price of a token from Solscan.

get_token_transfers

Get transfers of a token from Solscan.

get_chain_info

Get current chain info (latest block/slot).

get_block_detail

Get details of a specific block.

get_block_transactions

Get transactions in a specific block.

License

MIT

Available Tools

18 tools
get_accountC

Get details of a Solana account from Solscan

Inputs: address (required).

get_account_defi_activitiesB

Get DeFi activities (dextrading) of a Solana account from Solscan

Inputs: address (required), limit.

get_account_nft_activitiesC

Get NFT activities of a Solana account from Solscan

Inputs: address (required), limit.

get_account_nftsB

Get NFTs held by a Solana account from Solscan

Inputs: address (required), limit.

get_account_stake_accountsB

Get stake accounts held by a Solana account from Solscan

Inputs: address (required), limit.

get_account_tokensB

Get tokens held by a Solana account from Solscan

Inputs: address (required), limit.

get_account_transactionsB

Get recent transactions of a Solana account from Solscan

Inputs: address (required), limit.

get_account_transfersB

Get SPL transfers of a Solana account from Solscan

Inputs: address (required), limit, removeSpam, excludeAmountZero.

get_block_detailC

Get details of a specific block

Inputs: block (required).

get_block_transactionsC

Get transactions in a specific block

Inputs: block (required).

get_chain_infoA

Get current chain info (latest block/slot) from Solscan

Inputs: no named parameters.

get_token_holdersC

Get holders of a token from Solscan

Inputs: address (required), limit.

get_token_listC

Get list of top tokens from Solscan

Inputs: limit, sortBy, direction.

get_token_metaC

Get metadata of a token from Solscan

Inputs: address (required).

get_token_priceB

Get current price of a token from Solscan (via metadata)

Inputs: address (required).

get_token_transfersB

Get transfers of a token from Solscan

Inputs: address (required), limit.

get_transactionA

Get details of a Solana transaction from Solscan

Inputs: signature (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 18 tools

    Disambiguation5/5

    Each tool targets a distinct resource and action: transaction, account sub-types (transactions, transfers, defi, nft, tokens, nfts, stake), token sub-types (meta, holders, list, trending, price, transfers), chain info, and block detail/transactions. No two tools appear to serve the same purpose.

    Naming Consistency5/5

    All tool names follow the consistent get_<resource>_<subtype> pattern, with get_ prefix used throughout. Even get_transaction and get_chain_info fit the pattern as resource-only names. No camelCase or mixed conventions.

    Tool Count5/5

    18 tools is a reasonable number for a blockchain explorer server covering transactions, accounts, tokens, chain, and blocks. Each tool has a clear place, and the count does not feel bloated or sparse.

    Completeness4/5

    The server covers the main read-only operations for Solana exploration: transactions, account details and activities, token information, block data, and chain info. Minor gaps like missing token price history or validator info, but the core surface is solid.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers