# ENS

ENS is a Claude Code MCP server that resolves .eth names, inspects ownership records, and prepares wallet transactions.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 15 repo stars
- Author: thenamespace
- License: Apache-2.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thenamespace/ens-mcp/tree/HEAD/packages/ens-mcp
- Updated: 2026-11-23
- Security check: automated, 2026-11-24 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/ens

## What it 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`.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://ens-mcp.namespace.ninja/mcp`
- Environment variables: `ENS_MCP_RPC_URL`, `ENS_MCP_CHAIN`, `ENS_MCP_TOOLSETS` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

1. **Platform CLI: remote server**
```bash
claude mcp add --transport http ens-mcp https://ens-mcp.namespace.ninja/mcp
```

2. **Platform CLI**
```bash
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
```
Replace <…> with your own values

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add ens-mcp --url https://ens-mcp.namespace.ninja/mcp
```

2. **Platform CLI**
```bash
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-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "ens-mcp": {
            "url": "https://ens-mcp.namespace.ninja/mcp"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "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

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "ens-mcp": {
            "type": "http",
            "url": "https://ens-mcp.namespace.ninja/mcp"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "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

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http ens-mcp https://ens-mcp.namespace.ninja/mcp
```

2. **Platform CLI**
```bash
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-mcp
```
Replace <…> with your own values

## When to use it
- 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
- 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

## Similar
- [ENS Resolver — Name ↔ Address + Avatar](https://affpapa.org/en/nevibecode/mcp/ens-resolver-name-address-avatar.md) — MCP server · 4623 installs
- [entropy-rip](https://affpapa.org/en/nevibecode/mcp/entropy-rip.md) — MCP server · 137 installs
- [swapper-deposit](https://affpapa.org/en/nevibecode/skills/swapper-deposit.md) — skill · 883 installs
- [NFT Metadata — Token Image, Attributes & Collection Info](https://affpapa.org/en/nevibecode/mcp/nft-metadata-token-image-attributes-collection-info.md) — MCP server · 6157 installs
- [IronWallet](https://affpapa.org/en/nevibecode/mcp/ironwallet.md) — MCP server
- [gmgn-market](https://affpapa.org/en/nevibecode/skills/gmgn-market.md) — skill · 20400 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
