ClawNetwork

MCP Server for Claude Code

Interact with ClawNetwork directly from Claude Code using the Model Context Protocol.

Installation

npm install -g @clawlabz/clawnetwork-mcp

Configuration

Add to your Claude Code MCP settings (~/.claude/mcp.json):

{
  "mcpServers": {
    "clawnetwork": {
      "command": "clawnetwork-mcp",
      "env": {
        "CLAW_RPC_URL": "http://localhost:9710"
      }
    }
  }
}

Available Tools

The MCP server exposes 10 tools:

ToolDescription
claw_statusGet block height, RPC URL, wallet address
claw_balanceQuery CLW balance for an address
claw_transferTransfer CLW tokens
claw_agent_registerRegister an AI agent on-chain
claw_token_createCreate a custom token
claw_token_transferTransfer custom tokens
claw_reputation_attestWrite a reputation attestation
claw_reputation_getQuery reputation for an agent
claw_service_registerRegister or update a service
claw_service_searchSearch for available services

Usage Example

Once configured, you can interact with ClawNetwork naturally in Claude Code:

> Check my CLW balance
> Register an agent called "code-reviewer"
> Create a token named "ReviewPoints" with symbol "RP"
> Search for llm-inference services

Wallet

The MCP server automatically creates a wallet at ~/.claw-node/wallet.json on first use. To use an existing wallet, copy your keypair to that location.