Ethereum Name Service (ENS)▌

by justaname-id
Easily manage, lookup, and buy ENS domains with seamless integration to the Ethereum Name Service (ENSdomains) using fle
Integrates with the Ethereum Name Service to resolve ENS names to addresses, perform lookups, retrieve records, check availability, get prices, and explore name history through configurable Ethereum network providers.
best for
- / Web3 developers building ENS-integrated applications
- / Blockchain analysts researching domain ownership
- / DApp users needing human-readable address resolution
capabilities
- / Resolve ENS names to Ethereum addresses
- / Perform reverse lookups from addresses to names
- / Retrieve text records and metadata for domains
- / Check ENS name availability and ownership
- / Get registration pricing information
- / Explore name history and subdomain structures
what it does
Provides tools to interact with the Ethereum Name Service (ENS) for resolving .eth names to addresses, checking availability, and retrieving domain records. Works with configurable Ethereum network providers.
about
Ethereum Name Service (ENS) is a community-built MCP server published by justaname-id that provides AI assistants with tools and capabilities via the Model Context Protocol. Easily manage, lookup, and buy ENS domains with seamless integration to the Ethereum Name Service (ENSdomains) using fle It is categorized under developer tools.
how to install
You can install Ethereum Name Service (ENS) in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
Ethereum Name Service (ENS) is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
ENS MCP Server
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
Tools
resolve-name
Resolve an ENS name to an Ethereum address
- Required inputs:
name(string): The ENS name to resolve (e.g., 'vitalik.eth')
- Returns: The corresponding Ethereum address or an error message
reverse-lookup
Get the ENS name for an Ethereum address
- Required inputs:
address(string): The Ethereum address to look up
- Returns: The corresponding ENS name or an indication that no name was found
get-text-record
Get a text record for an ENS name
- Required inputs:
name(string): The ENS name to querykey(string): The record key to look up (e.g., 'email', 'url', 'avatar', 'description', 'twitter', etc.)
- Returns: The value of the specified text record or indication that no record was found
check-availability
Check if an ENS name is available for registration
- Required inputs:
name(string): The ENS name to check
- Returns: Availability status and owner information if registered
get-all-records
Get all available information for an ENS name
- Required inputs:
name(string): The ENS name to query
- Returns: Comprehensive information including resolver address, text records, addresses, content hash, ownership, and expiration details
get-subdomains
Get subdomains for an ENS name
- Required inputs:
name(string): The ENS name to query for subdomains
- Returns: List of subdomains with their owner information
get-name-history
Get the history of an ENS name
- Required inputs:
name(string): The ENS name to check history for
- Returns: Historical events related to the name, including transfers, resolver changes, and registration events
get-registration-price
Get the price to register an ENS name
- Required inputs:
name(string): The ENS name to check price for
- Optional inputs:
duration(number, default: 1): Registration duration in years
- Returns: Registration price breakdown including base price, premium, and total
Setup
Prerequisites
- Node.js (v16 or higher)
- npm or yarn
- Access to Ethereum RPC providers (public or private)
Installation
- Clone the repository or create a new project:
git clone https://github.com/JustaName-id/ens-mcp-server
- Install dependencies:
npm i
- Configure Ethereum providers:
Create a
.envfile 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:
- https://eth.drpc.org
- https://eth.llamarpc.com
- https://ethereum.publicnode.com
- https://rpc.ankr.com/eth
Usage with Claude Desktop
Add the following to your claude_desktop_config.json:
Using npx
{
"mcpServers": {
"ens": {
"command": "npx",
"args": [
"-y",
"mcp-server-ens"
],
"env": {
"PROVIDER_URL": "https://your-provider-url.com,https://your-backup-provider.com"
}
}
}
}
Using local script
{
"mcpServers": {
"ens": {
"command": "node",
"args": [
"/path/to/your/server.js"
],
"env": {
"PROVIDER_URL": "https://your-provider-url.com,https://your-backup-provider.com"
}
}
}
}
Usage with Claude Code
claude mcp add ens -- npx -y mcp-server-ens
With custom providers:
claude mcp add ens -e PROVIDER_URL="https://your-provider-url.com" -- npx -y mcp-server-ens
Verify it's connected:
claude mcp list
Error Handling
The server implements robust error handling for various scenarios:
- Network errors connecting to Ethereum providers
- Invalid ENS names or Ethereum addresses
- ENS-specific errors
- General operational errors
All errors are normalized into user-friendly messages while preserving technical details for debugging.
Publishing
To publish as an npm package:
npm publish --access public
Troubleshooting
If you encounter errors:
- Verify your Ethereum providers are working and accessible
- Check that the ENS names you're querying are formatted correctly
- Ensure you have the latest version of the ENS libraries
- Try using multiple providers by comma-separating them in the PROVIDER_URL environment variable
License
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.
FAQ
- What is the Ethereum Name Service (ENS) MCP server?
- Ethereum Name Service (ENS) is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for Ethereum Name Service (ENS)?
- This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
Ratings
4.5★★★★★10 reviews- ★★★★★Shikha Mishra· Oct 10, 2024
Ethereum Name Service (ENS) is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Piyush G· Sep 9, 2024
We evaluated Ethereum Name Service (ENS) against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Chaitanya Patil· Aug 8, 2024
Useful MCP listing: Ethereum Name Service (ENS) is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Sakshi Patil· Jul 7, 2024
Ethereum Name Service (ENS) reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Ganesh Mohane· Jun 6, 2024
I recommend Ethereum Name Service (ENS) for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Oshnikdeep· May 5, 2024
Strong directory entry: Ethereum Name Service (ENS) surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Dhruvi Jain· Apr 4, 2024
Ethereum Name Service (ENS) has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Rahul Santra· Mar 3, 2024
According to our notes, Ethereum Name Service (ENS) benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Pratham Ware· Feb 2, 2024
We wired Ethereum Name Service (ENS) into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Yash Thakker· Jan 1, 2024
Ethereum Name Service (ENS) is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.