We are currently performing backend maintenance to enhance the MCP Server experience. Some features may be temporarily unavailable. We apologize for any inconvenience and appreciate your patience. Please check back soon for updates.
Claude Setup Guide
Claude provides native MCP support, making it the recommended platform for accessing Hedera blockchain data through natural language. With seamless integration across web, desktop, and mobile platforms, Claude delivers the most reliable and feature-rich experience for the Hgraph MCP Server.
Prerequisites
Before setting up the MCP connector, you'll need:
-
Hgraph API Key (Free)
- Create an account at hgraph.com/hedera
- Get your free API key from the dashboard
- No credit card required for the free tier
-
Claude Account
- Claude Pro subscription required for custom connectors
- Available at claude.ai
- Claude Desktop app: Download here
Official Hgraph MCP URL
Use this URL format with your API key:
https://mainnet.hedera.api.hgraph.io/v1/<YOUR-HGRAPH-API-KEY>/mcp
Replace <YOUR-HGRAPH-API-KEY>
with your actual API key from the Hgraph dashboard.
Set up in Claude Web & Desktop
-
Sign in to Claude web or open Claude Desktop
-
Click your profile icon (bottom left) and select "Settings"
-
Navigate to the "Connectors" tab in the left sidebar
-
Click "Add custom connector" button
-
In the "Name" field, enter
Hgraph
(case-sensitive) -
In the "URL" field, paste your complete MCP URL with your API key:
https://mainnet.hedera.api.hgraph.io/v1/<YOUR-HGRAPH-API-KEY>/mcp
-
Click "Save connector" and you'll see Hgraph in your connectors list
How to use Hgraph MCP in Claude
- Start a new chat and ensure the Hgraph connector is switched "on"
- Write prompts that specify Hedera data queries
- Claude automatically calls the appropriate Hgraph tools
Example prompt: "What is the current total supply of HBAR?"
Once configured in Claude web or desktop, the Hgraph MCP will automatically appear in the Claude mobile app when signed into the same account.
Set Up in Claude Code CLI
Claude Code provides the most powerful MCP experience for developers and technical users.
Installation Steps
-
Install Claude Code (installation guide)
-
Complete any IDE-specific configurations
-
Add the Hgraph MCP connector via terminal:
claude mcp add --transport http hgraph https://mainnet.hedera.api.hgraph.io/v1/<YOUR-HGRAPH-API-KEY>/mcp
-
Restart Claude Code:
- VS Code: Reload window (Cmd/Ctrl+R)
- Terminal: Exit and restart your session
-
Verify the connection:
claude mcp list
You should see
hgraph
in the list of connected MCPs
How to use Hgraph MCP in Claude Code CLI
Simply start a conversation and write prompts that specify Hedera data queries. Claude Code automatically calls the appropriate Hgraph tools.
To avoid approving every Hgraph tool call, configure auto-approval by adding to your allowlist:
# Add Hgraph tools to auto-approval list
claude config set allowlist "mcp__hgraph__*"
Troubleshooting
Connector not appearing
- Ensure you have an active Claude Pro subscription
- Refresh the settings page
- Try signing out and back in
Connection errors
- Verify your API key is correct
- Check that the URL format matches exactly
- Ensure your Hgraph API key is active
Claude Code issues
- Make sure Claude Code is fully restarted after adding the connector
- Verify the connector appears in
claude mcp list
- Check that your terminal has internet access
Next Steps
Need help? Visit our support page or join our Discord community