Solana MCP Server

Real-time Solana blockchain data for AI coding assistants

Available Tools (16 total)

7 Core Tools9 Security Tools

  • get_sol_balance - Get SOL and SPL token balances
  • get_nft_holdings - Get all NFTs owned by a wallet
  • get_token_price - Get current cryptocurrency prices
  • get_transaction_history - View recent wallet transactions
  • get_portfolio_value - Calculate total portfolio value in USD
  • get_swap_quote - Get best swap quotes from Jupiter DEX
  • get_token_security - Analyze token security and detect scams
  • get_token_metadata - Get enhanced metadata with images and socials
  • get_top_holders - Analyze holders with bot detection
  • get_price_history - Get historical price data and charts
  • get_staking_info - Get SOL staking information and rewards
  • get_creator_analysis - Detect serial scammers and analyze creator history
  • get_liquidity_lock - Check if liquidity is locked to prevent rug pulls
  • get_whale_activity - Track whale transactions and market sentiment
  • get_social_sentiment - Analyze social media presence and detect red flags
  • get_airdrop_check - Check for unclaimed airdrops and tokens in wallet

🚀 Quick Start with AI Assistants

💬 Claude Desktop

1. Install the CLI Package

npm install -g solanamcp-cli

📦 Available on npm

2. Get Your API Key

Visit: https://solanamcp.dev/dashboard/api-keys

🔑 Sign up and copy your API key (starts with bmc_)

3. Configure Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "solanamcp": {
      "command": "solanamcp",
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

📝 Replace your_api_key_here with your actual API key

4. Restart Claude Desktop

🔄 Completely quit and restart Claude Desktop to load the new configuration

🎯 Cursor IDE

1. Install the CLI Package

npm install -g solanamcp-cli

📦 Same package works for both Claude Desktop and Cursor

2. Get Your API Key

Visit: https://solanamcp.dev/dashboard/api-keys

🔑 Same API key works across all platforms

3. Configure Cursor

Add this to your ~/.cursor/mcp.json:

{
  "mcpServers": {
    "solanamcp": {
      "command": "solanamcp",
      "env": {
        "API_KEY": "your_api_key_here"
      }
    }
  }
}

📝 Replace your_api_key_here with your actual API key

4. Restart Cursor

🔄 Restart Cursor and open Composer (Cmd+I) to access Solana tools

💻 Claude Code CLI

1. Install the CLI Package

npm install -g solanamcp-cli

📦 Same package works across all Claude platforms

2. Get Your API Key

Visit: https://solanamcp.dev/dashboard/api-keys

🔑 Same API key works across all platforms

3. Configure Claude Code CLI

Add the MCP server to Claude Code CLI:

claude mcp add --transport stdio solanamcp \
  --env API_KEY=your_api_key_here \
  -- solanamcp

📝 Replace your_api_key_here with your actual API key

4. Verify Installation

claude mcp list

✅ Should show "solanamcp: ✓ Connected"

5. Start Using!

claude -p "What's the current price of SOL?"
claude -p "Show me my wallet balance"
claude (interactive mode)

🎮 Start Using Solana Tools!

"Get my SOL balance"
"Show me my NFT holdings"
"What's the current price of SOL?"
"Create a new wallet"
"List all my wallets"
"Check token security"

🔗 Similar MCP Tools

Discover other MCP servers that work with Claude Desktop and Cursor

🌐 Context7

Documentation lookup and code examples

npm install -g context7-mcp

🔥 Firebase

Firebase backend management tools

npx firebase-tools@latest experimental:mcp

🎨 Shadcn-UI

UI component library integration

npx @jpisnice/shadcn-ui-mcp-server

📁 Filesystem

File system access and management

npx @modelcontextprotocol/server-filesystem

💳 Stripe

Payment processing and billing

npx @stripe/mcp

🤖 Genkit

AI framework and model management

genkit mcp

🤖 ChatGPT Integration

⚠️ Currently Not Supported

ChatGPT doesn't currently support MCP (Model Context Protocol) like Claude Desktop and Cursor do. However, there are alternative ways to integrate Solana data with ChatGPT:

🔌 OpenAI API

Use our REST API directly with ChatGPT's function calling

curl -H "x-api-key: YOUR_KEY"

🔗 Custom Plugin

Build a custom ChatGPT plugin using our API

OpenAI Plugin Manifest

Future Support: We're monitoring OpenAI's roadmap for MCP support.
Check our API docs for direct integration options.

🔧 Troubleshooting

CLI not found? Make sure you have Node.js 16+ installed

Unauthorized error? Check your API key is correct

Tools not showing in Claude Desktop? Restart Claude Desktop completely

Tools not showing in Cursor? Restart Cursor and open Composer (Cmd+I)

Claude Code CLI not working? Run claude mcp list to verify connection

Permission denied in Claude Code? Grant permission when prompted for tool access

Config file not found? Create the config file manually if it doesn't exist

Need help? Visit solanamcp.dev for support