ENS — Claude Code MCP server: ENS domain management
ENS is a Claude Code MCP server that resolves .eth names, inspects ownership records, and prepares wallet transactions.
Apache-2.0 ★ 15 updated 2026-11-23
claude mcp add --transport http ens-mcp https://ens-mcp.namespace.ninja/mcpWhat ENS does
The server provides natural-language tooling to query the Ethereum Name Service, resolve names, and fetch records associated with specific addresses. It checks registration availability, expiration dates, and pricing directly against the blockchain.
Security is isolated because the server never signs or broadcasts transactions. It only models and simulates the payload, leaving signing and execution entirely to your own wallet. Available functions are grouped into lookup, lists, register, manage, advanced, and utils toolsets.
You can use the hosted service at https://ens-mcp.namespace.ninja/mcp without installing local packages. Running locally over stdio requires Node.js 26 or later and an RPC URL provided via ENS_MCP_RPC_URL.
What it helps with
- ENS domain management
- inspect owner records and avatar metadata
- calculate registration and renewal fees
- prepare simulated transactions for wallet signing
- list names that expire within a selected period
Example prompts for the agent
- Who owns nick.eth and what social handles are linked in the profile?
- Check if web3dev.eth is available and estimate the cost for two years
- Prepare the raw transaction parameters to renew vitalik.eth for one year
How to install ENS
1Platform CLI: remote server
claude mcp add --transport http ens-mcp https://ens-mcp.namespace.ninja/mcp2Platform CLI
claude mcp add --env ENS_MCP_RPC_URL=<ENS_MCP_RPC_URL> --env ENS_MCP_CHAIN=<ENS_MCP_CHAIN> --env ENS_MCP_TOOLSETS=<ENS_MCP_TOOLSETS> --transport stdio ens-mcp -- npx -y @thenamespace/ens-mcpReplace <…> with your own values
1Platform CLI: remote server
codex mcp add ens-mcp --url https://ens-mcp.namespace.ninja/mcp2Platform CLI
codex mcp add ens-mcp --env ENS_MCP_RPC_URL=<ENS_MCP_RPC_URL> --env ENS_MCP_CHAIN=<ENS_MCP_CHAIN> --env ENS_MCP_TOOLSETS=<ENS_MCP_TOOLSETS> -- npx -y @thenamespace/ens-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"ens-mcp": {
"url": "https://ens-mcp.namespace.ninja/mcp"
}
}
}{
"mcpServers": {
"ens-mcp": {
"command": "npx",
"args": [
"-y",
"@thenamespace/ens-mcp"
],
"env": {
"ENS_MCP_RPC_URL": "<ENS_MCP_RPC_URL>",
"ENS_MCP_CHAIN": "<ENS_MCP_CHAIN>",
"ENS_MCP_TOOLSETS": "<ENS_MCP_TOOLSETS>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"ens-mcp": {
"type": "http",
"url": "https://ens-mcp.namespace.ninja/mcp"
}
}
}{
"servers": {
"ens-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@thenamespace/ens-mcp"
],
"env": {
"ENS_MCP_RPC_URL": "<ENS_MCP_RPC_URL>",
"ENS_MCP_CHAIN": "<ENS_MCP_CHAIN>",
"ENS_MCP_TOOLSETS": "<ENS_MCP_TOOLSETS>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http ens-mcp https://ens-mcp.namespace.ninja/mcp2Platform CLI
gemini mcp add -e ENS_MCP_RPC_URL=<ENS_MCP_RPC_URL> -e ENS_MCP_CHAIN=<ENS_MCP_CHAIN> -e ENS_MCP_TOOLSETS=<ENS_MCP_TOOLSETS> ens-mcp npx -y @thenamespace/ens-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about ENS
How do I install ENS in Claude Code?
To use the hosted version, run claude mcp add --transport http ens-mcp https://ens-mcp.namespace.ninja/mcp. For local execution, run `claude mcp add --env ENS_MCP_RPC_URL=<ENS_MCP_RPC_URL> --env ENS_MCP_CHAIN=<ENS_MCP_CHAIN> --env ENS_MCP_TOOLSETS=<ENS_MCP_TOOLSETS> --transport stdio ens-mcp -- npx -y @thenamespace/ens-mcp`.
Does ENS sign or send blockchain transactions?
No, it only prepares and simulates the transactions. The private keys remain in your wallet, where you review and sign every action.
What is required to run ENS locally?
Local stdio operation requires Node.js 26 or later and a valid blockchain endpoint configured in ENS_MCP_RPC_URL.