ENS

v0.1.1
io.github.thenamespace/ens-mcp Checked 4 hours ago Published 8 days ago

ENS names: resolve, read profiles and ownership, list names, prepare registrations and changes

Give your AI assistant native access to ENS, the Ethereum Name Service. Resolve names, read profiles and records, see who controls a name, browse the names an address holds, check prices, and prepare registrations and changes for your own wallet, all through natural language. The server never signs or sends transactions: it prepares and simulates them, and you sign. Use the hosted server, no install needed:

Summary extracted from the README.

ENS MCP Server

Install in Cursor Install in VS Code npm version

Give your AI assistant native access to ENS, the Ethereum Name Service. Resolve names, read profiles and records, see who controls a name, browse the names an address holds, check prices, and prepare registrations and changes for your own wallet, all through natural language.

The server never signs or sends transactions: it prepares and simulates them, and you sign.

Installation

Use the hosted server, no install needed:

https://ens-mcp.namespace.ninja/mcp
claude mcp add --transport http ens https://ens-mcp.namespace.ninja/mcp

Or run this package as a local server over stdio. It needs Node.js 26 or later:

{
  "mcpServers": {
    "ens": {
      "command": "npx",
      "args": ["-y", "@thenamespace/ens-mcp"],
      "env": { "ENS_MCP_RPC_URL": "https://your-rpc.example" }
    }
  }
}

Setup for Cursor, VS Code, Codex, Gemini CLI, Windsurf, Zed and more is in the repository README.

Variable Description Default
ENS_MCP_RPC_URL RPC URL for the chain a public RPC
ENS_MCP_CHAIN mainnet or sepolia mainnet
ENS_MCP_TOOLSETS Toolsets to enable, comma-separated, or all lookup,lists,register,utils

npx -y @thenamespace/ens-mcp --http serves Streamable HTTP at http://127.0.0.1:8080/mcp. Every flag, rate limits and Docker: self-hosting.

💬 Example questions

> Who owns vitalik.eth, and when does it expire?
> Give me the ETH address and Twitter handle for nick.eth.
> Which ENS names does vitalik.eth hold, and which expire in the next 90 days?
> Is coolname.eth available? How much is it for 2 years?
> Register coolname.eth for 1 year for my wallet and set it as my primary name.
> I sent the commit transaction, here's the hash. What now?

Available tools

Toolset For Default
lookup Addresses, primary names, profiles, records, ownership and permissions yes
lists Searching names, names by address, subnames, history, expiring names yes
register Availability, prices, preparing registrations and renewals yes
manage Preparing records, primary names, subnames, transfers and resolvers
advanced Preparing wrapping, fuses, ENSv2 roles, migration and DNS names
utils Offline: normalising names, coin types, content hashes yes

The server also offers resources, workflow prompts and an ens agent skill. Every tool: docs/tools.md. How prepared transactions work: docs/transactions.md.

License

Apache-2.0. Built with ❤️ by Namespace Ninjas 🥷