Give your AI assistant native access to the ENS (Ethereum Name Service). Look up ENS names, profile information, check name availability, get pricing, explore subnames, and query onchain records — all through natural language.
Connect to ENS MCP Server:
Cursor
Add to ~/.cursor/mcp.json:
VS Code
Add to .vscode/mcp.json:
Claude Code
Claude Desktop
Add to your config file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Codex
OpenCode
Add to your opencode.json:
Antigravity
Open the MCP Store panel (from the "..." dropdown in the side panel), then add a custom server with:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
Zed
Add to your Zed settings:
Gemini CLI
Add to ~/.gemini/settings.json:
Warp
Go to Settings > MCP Servers > Add MCP Server and add:
Kiro
Add to ~/.kiro/settings/mcp.json:
Roo Code
Add to your Roo Code MCP config:
Other Clients
For clients that support remote MCP:
For clients that need mcp-remote:
Self-Hosting
You can also self-host the ENS MCP Server using the npm package.
Stdio Transport:
HTTP Transport:
The server will be available at http://localhost:8080/mcp.
Environment Variables:
| Variable | Description | Default |
|---|---|---|
RPC_URL | Ethereum mainnet RPC URL | Viem Provided Public RPC |
SUBGRAPH_URL | ENS subgraph URL | ENSNode Public Subgraph |
Example with custom RPC and Subgraph:
Once ENS MCP is installed, you can ask things like:
| Tool | Description |
|---|---|
is_name_available | Check whether an ENS name is currently available for registration |
get_name_price | Get the registration price for a name at a given duration (in seconds) |
get_profile_details | Fetch full ENS profile: owner, resolver, expiry, text records, address records, and contenthash |
get_names_for_address | List all ENS names held by a given address |
get_subnames_for_name | Retrieve all subdomains registered under a parent ENS name |
get_name_history | Retrieve the event history of any ENS name |
get_subgraph_records | Query all record keys associated with a name |
Contributions are welcome. Feel free to open a PR.
Built with ❤️ by Namespace (opens in a new tab) Ninjas 🥷
