Helius (Solana Blockchain) MCP server

Integrates with the Helius API to provide real-time Solana blockchain data access, enabling wallet balance checks and block height retrieval for blockchain monitoring and analysis.
Back to servers
Provider
dcSpark
Release date
Feb 28, 2025
Language
TypeScript
Stats
12 stars

This MCP server provides Claude with access to Solana blockchain data through the Helius API, allowing operations like checking wallet balances, fetching blockchain information, and interacting with tokens and NFTs on the Solana network.

Installation

Prerequisites

Setup Steps

  1. Clone the repository:

    git clone https://github.com/dcSpark/mcp-server-helius.git
    cd mcp-server-helius
    
  2. Install dependencies:

    npm ci
    
  3. Build the project:

    npm run build
    

Configuration

Configure Claude Desktop

  1. Open Claude Desktop

  2. Navigate to the Claude Desktop configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  3. Add the MCP server configuration:

    {
      "mcpServers": {
        "mcp-server-helius": {
          "command": "npx",
          "args": [
            "-y",
            "@mcp-dockmaster/mcp-server-helius"
          ],
          "env": {
            "HELIUS_API_KEY": "your-helius-api-key"
          }
        }
      }
    }
    

Running Locally

You can run the server directly with:

HELIUS_API_KEY=your-helius-api-key node build/index.js

Or using npx:

HELIUS_API_KEY=your-helius-api-key npx @dcspark/mcp-server-helius

Usage

After configuring and restarting Claude Desktop, you can interact with Solana blockchain data through Claude using the following capabilities:

Basic Blockchain Operations

Ask Claude questions like:

  • "What's the balance of the Solana wallet address 5YNmS1R9nNSCDzb5a7mMJ1dwK9uHeAAF4CmPEwKgVWr8?"
  • "What's the current block height on Solana?"
  • "Get the latest blockhash from the Solana blockchain"

Token Operations

Claude can help with:

  • Getting token accounts owned by a Solana address
  • Checking token supply
  • Getting token account balances

NFT and Digital Assets

Examples of NFT-related queries:

  • "What NFTs does the wallet address 5YNmS1R9nNSCDzb5a7mMJ1dwK9uHeAAF4CmPEwKgVWr8 own?"
  • "Get details about an NFT by its asset ID"
  • "Search for NFTs created by a specific address"

Blockchain System Information

You can ask about:

  • Current epoch information
  • Inflation rewards
  • Node version
  • Performance metrics

Transaction and Fee Methods

The server enables:

  • Getting priority fee estimates
  • Polling for transaction confirmation
  • Executing token swaps via Jupiter

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later