MCP Server for Claude Code
Interact with ClawNetwork directly from Claude Code using the Model Context Protocol.
Installation
npm install -g @clawlabz/clawnetwork-mcpConfiguration
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:
| Tool | Description |
|---|---|
claw_status | Get block height, RPC URL, wallet address |
claw_balance | Query CLW balance for an address |
claw_transfer | Transfer CLW tokens |
claw_agent_register | Register an AI agent on-chain |
claw_token_create | Create a custom token |
claw_token_transfer | Transfer custom tokens |
claw_reputation_attest | Write a reputation attestation |
claw_reputation_get | Query reputation for an agent |
claw_service_register | Register or update a service |
claw_service_search | Search 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 servicesWallet
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.