solscan_mcp_server

solscan_mcp_server

1

Solscan MCP Server is designed to facilitate AI interaction with Solscan Pro API for data analysis on the Solana blockchain through a Model Context Protocol. It offers various features to fetch and manage token and transaction data efficiently.

Solscan MCP Server

A Model Context Protocol (MCP) server implementation for interacting with the Solscan Pro API. This server allows AI agents to fetch and analyze token, transaction, and DeFi activity data from the Solana blockchain.

Features

  • Token Metadata: Fetch detailed information about tokens.
  • Token Markets: Access market data and liquidity pools.
  • Token Holders: Check token holder distribution.
  • Token Price: Obtain historical and trend price data.
  • Token Accounts: Retrieve token holdings for a wallet.
  • DeFi Activities: Analyze DeFi activities by type and platform.
  • Balance Change: Monitor and filter balance changes.
  • Account Transactions: Review wallet transaction history.
  • Transaction Detail: Access detailed transaction data.

Prerequisites

  • Python 3.10+ and Solscan Pro API key

Installation

  • Using uv: No specific installation needed.
  • Using pip: Install via pip install solscan-mcp-server.

Configuration

Configure using environment variables or command-line arguments for settings such as API key, transport protocol, host, port, and log level.

Running the Server

Demonstrated for uvx, pip, and Docker usage.

Integration with MCP Clients

Configuration samples are provided for Claude Desktop and Zed clients.

Development

Guidelines for running tests, ensuring code quality, and debugging.

Contributing

Contributions are welcome. Submit a Pull Request.

License

MIT License.