Resolves Ethereum Name Service (ENS) domains to Ethereum addresses, and provides detailed information about ENS domains including ownership, registration details, and event history.
ENS MCP Server
An MCP server that resolves, analyzes, and contextualizes ENS domain activity to empower Web3 agents with human-readable identity insights.
Features
- Resolve ENS Names: Map ENS domains (e.g.,
vitalik.eth
) to Ethereum addresses. - Detailed Domain Information: Fetch comprehensive domain data, including address, owner, registrant, expiry, registration, wrapped domain, and resolver details.
- Domain Event History: Retrieve events like transfers, resolver changes, and name wrapping, with relevant addresses and timestamps.
Requirements
- Python 3.10 or higher
- uv (recommended for dependency management)
- A valid API key for The Graph.
Installation
- Clone the Repository:
- Install Dependencies:
- Installing to Claude Desktop: Install the server as a Claude Desktop application:Configuration file as a reference:Replace
/path/to/ens-mcp
with your actual installation path, andthe_graph_api_key
with your API key from The Graph.
Usage
Tools
The server provides three MCP tools:
- resolve_ens_name(domain: str) -> strResolves an ENS domain to its Ethereum address.
- Input: ENS domain (e.g.,
vitalik.eth
) - Output: Ethereum address (e.g.,
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
) or "None"
Example:
- Input: ENS domain (e.g.,
- get_domain_details(domain: str) -> strFetches detailed information about an ENS domain, including its address.
- Input: ENS domain
- Output: Formatted string with domain details (address, owner, registrant, expiry, etc.)
Example Output:
- get_domain_events(domain: str) -> strRetrieves events associated with an ENS domain.
- Input: ENS domain
- Output: Formatted string listing events (e.g., transfers, resolver changes)
Example Output:
License
This project is licensed under the MIT License. See the LICENSE file for details.
You must be authenticated.
About An MCP server that resolves, analyzes, and contextualizes ENS domain activity.
Related Resources
Related MCP Servers
- -securityAlicense-qualityMCP Server simplifies the implementation of the Model Context Protocol by providing a user-friendly API to create custom tools and manage server workflows efficiently.Last updated -43TypeScriptMIT License
- AsecurityFlicenseAqualityA MCP Server used to collect MCP Servers over the internet.Last updated -318Python
- -securityAlicense-qualityMCP Server provides a simpler API to interact with the Model Context Protocol by allowing users to define custom tools and services to streamline workflows and processes.Last updated -132TypeScriptMIT License
- -securityFlicense-qualityMCP server to perform various OSINT tasks by leveraging common network reconnaissance tools.Last updated -12Python