Hedera MCP Server

Build-only Hedera (Hashgraph) MCP — 51 tools across Account, HTS, HCS, EVM, File & Schedule.

Local serverstdioGo

What is the Hedera MCP server?

Hedera MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Build-only Hedera (Hashgraph) MCP — 51 tools across Account, HTS, HCS, EVM, File & Schedule.

What you get

The official Hedera Agent Kit ships a preconfigured MCP server, but its tool surface is intentionally small (balance, transfer, deploy). This server fills the gap with end-to-end coverage of the Hedera API, organized for developer education and agent-driven onboarding — so a developer can go from "certified" to "shipping their first HTS token / HCS topic / contract" inside a single AI session.

What the assistant can call

Once Hedera is connected, these are the calls the assistant has available:

  • Service — Official starter MCP
  • Account — balance
  • File — —
  • Schedule — —
  • Network — —
  • HEDERA_NETWORK — testnet
  • HEDERA_OPERATOR_ID(unset)
  • HEDERA_MIRROR_URL — per-network

Configuration and credentials

You will need 4 environment variables: HEDERA_NETWORK, HEDERA_OPERATOR_ID, HEDERA_MIRROR_URL, HEDERA_OPERATOR_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Setting it up

Installation goes through your MCP client rather than a global install: point it at @purplesquirrel/hedera-mcp on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Hedera's toolset — Service, Account, File and 5 more — is a fair guide to whether it matches your workflow. It is maintained by ExpertVagabond; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Hedera's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the hedera mcp server does with a few real requests.

Available tools

ToolWhat it does
ServiceOfficial starter MCP
Accountbalance
File
Schedule
Network
HEDERA_NETWORKtestnet
HEDERA_OPERATOR_ID_(unset)_
HEDERA_MIRROR_URLper-network

How to install the Hedera MCP server

{
  "mcpServers": {
    "hedera": {
      "command": "npx",
      "args": ["-y", "@purplesquirrel/hedera-mcp"],
      "env": {
        "HEDERA_NETWORK": "testnet",
        "HEDERA_OPERATOR_ID": "0.0.1234"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
HEDERA_NETWORKConfiguration value read at startup.Optional
HEDERA_OPERATOR_IDConfiguration value read at startup.Optional
HEDERA_MIRROR_URLEndpoint or connection string the server talks to.Yes
HEDERA_OPERATOR_KEYCredential the server authenticates with.Yes

Example prompts to try

  • Use Hedera to Service.
  • Use Hedera to Account.
  • Use Hedera to File.

Frequently asked questions

It connects Hedera to MCP-compatible AI assistants such as Claude and Cursor, exposing 8 tools (Service, Account, File, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Hedera directly.