Ethereum Name Service
STDIOMCP Server enabling Claude to interact with ENS system for name resolution and records.
MCP Server enabling Claude to interact with ENS system for name resolution and records.
MCP Server for Ethereum Name Service (ENS), enabling Claude to interact with the ENS system to resolve names, check availability, retrieve records, and more.
npm package: https://www.npmjs.com/package/mcp-server-ens
Resolve an ENS name to an Ethereum address
name
(string): The ENS name to resolve (e.g., 'vitalik.eth')Get the ENS name for an Ethereum address
address
(string): The Ethereum address to look upGet a text record for an ENS name
name
(string): The ENS name to querykey
(string): The record key to look up (e.g., 'email', 'url', 'avatar', 'description', 'twitter', etc.)Check if an ENS name is available for registration
name
(string): The ENS name to checkGet all available information for an ENS name
name
(string): The ENS name to queryGet subdomains for an ENS name
name
(string): The ENS name to query for subdomainsGet the history of an ENS name
name
(string): The ENS name to check history forGet the price to register an ENS name
name
(string): The ENS name to check price forduration
(number, default: 1): Registration duration in yearsgit clone https://github.com/JustaName-id/ens-mcp-server
npm i
.env
file in the project root with the following (optional):PROVIDER_URL=https://your-provider-url.com,https://your-backup-provider.com
If no providers are specified, the server will use these defaults:
Add the following to your claude_desktop_config.json
:
{ "mcpServers": { "ens": { "command": "npx", "args": [ "-y", "mcp-server-ens" ], "env": { "PROVIDER_URL": "https://your-provider-url.com,https://your-backup-provider.com" } } } }
{ "mcpServers": { "ens": { "command": "node", "args": [ "/path/to/your/server.js" ], "env": { "PROVIDER_URL": "https://your-provider-url.com,https://your-backup-provider.com" } } } }
The server implements robust error handling for various scenarios:
All errors are normalized into user-friendly messages while preserving technical details for debugging.
To publish as an npm package:
npm publish --access public
If you encounter errors:
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.