ethid-mcp

ethereumfollowprotocol/ethid-mcp

3.2

If you are the rightful owner of ethid-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The ETHID MCP Server is a Model Context Protocol server that provides access to the Ethereum Follow Protocol API, enabling social graph queries for Ethereum addresses and ENS names.

Tools
  1. getFollowerCount

    Retrieve the number of followers for a given Ethereum address or ENS name.

  2. fetchAccount

    Fetch complete profile information for a given Ethereum address or ENS name.

  3. fetchBulkAccounts

    Perform bulk reverse resolution of addresses to ENS names.

ETHID MCP Server

An MCP (Model Context Protocol) server that provides comprehensive access to the Ethereum Follow Protocol (EFP) API, enabling social graph queries for Ethereum addresses and ENS names.

Features

Core Tools (22 Total)

  • Basic Operations: getFollowerCount, getFollowers, getFollowing, checkFollowing, checkFollower
  • Profile Data: fetchAccount, fetchProfileStats, fetchProfileLists, fetchProfileBadges, fetchProfileQRCode
  • Advanced Queries: fetchProfileFollowing, fetchProfileFollowers with pagination and filtering
  • Tag Management: fetchFollowingTags, fetchFollowerTags (limited availability)
  • Social Features: fetchFollowState, fetchNotifications, fetchRecommendations, fetchLeaderboard
  • List Operations: fetchListState, fetchListsForUser, fetchPoapLink
  • ENS Resolution: fetchBulkAccounts - Bulk reverse resolution of addresses to ENS names
  • Help & Guidance: searchContexts, getBestPractices, getUsagePattern, getToolGuidance, getEfficiencyTips

Key Capabilities

  • Tag Filtering: Filter followers/following by tags (e.g., "top8", "friend", "family")
  • ENS Resolution: Automatic resolution of ENS names to addresses
  • Bulk ENS Reverse Resolution: Convert multiple addresses to ENS names efficiently
  • Pagination Support: Handle large datasets efficiently
  • Search Functionality: Search within followers/following lists
  • Real-time Data: Option to fetch fresh data bypassing cache

Setup

For Developers

{
	"mcpServers": {
		"ethid-mcp": {
			"command": "npx",
			"args": ["mcp-remote", "https://ethid-mcp.efp.workers.dev/sse"]
		}
	}
}

Usage

šŸš€ IMPORTANT: Before using the ETHID MCP server, run the initialization prompt from to ensure optimal performance and proper tool usage.

See for comprehensive examples and best practices.

Quick Examples

// Get follower count
await getFollowerCount({ addressOrName: 'vitalik.eth' });
// Result: "vitalik.eth has 4811 followers and is following 10 accounts."

// Check who someone follows with tags
await getFollowing({
	addressOrName: 'efp.encrypteddegen.eth',
	tags: ['top8'],
});
// Result: List of top 8 friends with their addresses and tags

// Convert addresses to ENS names
await fetchBulkAccounts({
	addresses: ['0xd8da6bf26964af9d7eed9e03e53415d37aa96045', '0x849151d7d0bf1f34b70d5cad5149d28cc2308bf1'],
});
// Result: ["vitalik.eth", "jesse.xyz"]

// Get profile information
await fetchAccount({ addressOrName: 'brantly.eth' });
// Result: Complete profile with ENS records, avatar, social links

Project Structure

ethid-mcp/
ā”œā”€ā”€ src/
│   ā”œā”€ā”€ index.ts              # Main MCP agent implementation
│   ā”œā”€ā”€ tools/                # Modular tool definitions
│   │   ā”œā”€ā”€ index.ts          # Tool registration coordinator
│   │   ā”œā”€ā”€ profile.ts        # Profile and following/followers tools
│   │   ā”œā”€ā”€ account.ts        # Account data and ENS resolution tools
│   │   ā”œā”€ā”€ relationships.ts  # Relationship checking tools
│   │   ā”œā”€ā”€ tags.ts          # Tag management tools
│   │   ā”œā”€ā”€ discovery.ts     # Discovery and recommendation tools
│   │   ā”œā”€ā”€ lists.ts         # List management tools
│   │   ā”œā”€ā”€ context.ts       # Documentation context search
│   │   └── guidance.ts      # Best practices and guidance tools
│   ā”œā”€ā”€ types/                # TypeScript types
│   │   ā”œā”€ā”€ api.ts           # API response types
│   │   └── env.ts           # Environment configuration types
│   ā”œā”€ā”€ contexts/            # Documentation contexts
│   └── utils/               # Utility functions
ā”œā”€ā”€ wrangler.json            # Cloudflare Worker config
ā”œā”€ā”€ USAGE_GUIDE.md          # Comprehensive usage guide
└── ETHID_MCP_INITIALIZATION_PROMPT.md  # Initialization guide

Architecture

The ETHID MCP server operates as a Cloudflare Worker that:

  1. Receives MCP requests via the local proxy server
  2. Calls the EFP API at https://api.ethfollow.xyz/api/v1
  3. Returns formatted responses optimized for AI consumption

Key Components

  • Cloudflare Worker: Main API integration and business logic
  • Local MCP Server: Proxy for Claude Desktop integration
  • Node.js Wrapper: Compatibility layer for Node.js v22.12.0+

Contributing

The project is actively maintained and welcomes contributions. The current deployment is fully functional with all tools working correctly.

License

See for details.