Gravatar MCP Server

$npx -y @automattic/mcp-server-gravatar
README.md

Official access to Gravatar profiles, avatars, and AI-inferred interests.

MCP Server Gravatar

Gravatar's official MCP Server, enabling access to avatars, profiles, and inferred interests.

Quick Install

For quick installation in VS Code, click one of the installation buttons below:

%22%2C%22password%22%3Atrue%7D%5D&command=%22npx%22&args=%5B%22-y%22%2C%22%40automattic%2Fmcp-server-gravatar%22%5D&env=%7B%22GRAVATAR_API_KEY%22%3A%22%24%7Binput%3Agravatar_api_key%7D%22%7D) %22%2C%22password%22%3Atrue%7D%5D&command=%22npx%22&args=%5B%22-y%22%2C%22%40automattic%2Fmcp-server-gravatar%22%5D&env=%7B%22GRAVATAR_API_KEY%22%3A%22%24%7Binput%3Agravatar_api_key%7D%22%7D)

Requirements

Node.js

This MCP server requires:

  • Node.js: 20.0.0 or higher
  • npm: 10.0.0 or higher

The server is tested and supported on:

  • Node.js 20 (Active LTS)
  • Node.js 22 (Current LTS)
  • Node.js 24 (Current)

Installation

You can install and run this server using npx (recommended) or by building from source.

Tools

  1. get_profile_by_id

    • Retrieve comprehensive Gravatar profile information using a profile identifier
    • Required inputs:
      • profileIdentifier (string): A Profile Identifier (see Identifier Types section)
    • Returns: Profile object as JSON with comprehensive user information
  2. get_profile_by_email

    • Retrieve comprehensive Gravatar profile information using an email address
    • Required inputs:
      • email (string): The email address associated with the Gravatar profile. Can be any valid email format - the system will automatically normalize and hash the email for lookup.
    • Returns: Profile object as JSON with comprehensive user information
  3. get_inferred_interests_by_id

    • Fetch AI-inferred interests for a Gravatar profile using a profile identifier
    • Required inputs:
      • profileIdentifier (string): A Profile Identifier (see Identifier Types section)
    • Returns: List of AI-inferred interest names as JSON
  4. get_inferred_interests_by_email

    • Fetch AI-inferred interests for a Gravatar profile using an email address
    • Required inputs:
      • email (string): The email address associated with the Gravatar profile. Can be any valid email format - the system will automatically normalize and hash the email for lookup.
    • Returns: List of AI-inferred interest names as JSON
  5. get_avatar_by_id

    • Retrieve the avatar image for a Gravatar profile using an avatar identifier
    • Required inputs:
      • avatarIdentifier (string): An Avatar Identifier (see Identifier Types section)
    • Optional inputs:
      • size (number, default: undefined): Desired avatar size in pixels (1-2048). Images are square, so this sets both width and height. Common sizes: 80 (default web), 200 (high-res web), 512 (large displays).
      • defaultOption (string, default: undefined): Fallback image style when no avatar exists. Options: '404' (return HTTP 404 error instead of image), 'mp' (mystery person silhouette), 'identicon' (geometric pattern), 'monsterid' (generated monster), 'wavatar' (generated face), 'retro' (8-bit style), 'robohash' (robot), 'blank' (transparent).
      • forceDefault (boolean, default: undefined): When true, always returns the default image instead of the user's avatar. Useful for testing default options or ensuring consistent placeholder images.
      • `rati

Tools (5)

get_profile_by_idRetrieve comprehensive Gravatar profile information using a profile identifier
get_profile_by_emailRetrieve comprehensive Gravatar profile information using an email address
get_inferred_interests_by_idFetch AI-inferred interests for a Gravatar profile using a profile identifier
get_inferred_interests_by_emailFetch AI-inferred interests for a Gravatar profile using an email address
get_avatar_by_idRetrieve the avatar image for a Gravatar profile using an avatar identifier

Environment Variables

GRAVATAR_API_KEYGravatar API Key for authenticated requests

Configuration

claude_desktop_config.json
{"mcpServers":{"gravatar":{"command":"npx","args":["-y","@automattic/mcp-server-gravatar"],"env":{"GRAVATAR_API_KEY":""}}}}

Try it

Get the Gravatar profile information for the email address 'example@gmail.com'.
What are the AI-inferred interests for the Gravatar user with the email 'user@domain.com'?
Generate a 512px 'retro' style placeholder avatar for a user who doesn't have a Gravatar account.
Fetch the full profile details for the Gravatar profile identifier 'username'.

Frequently Asked Questions

What are the key features of Gravatar MCP Server?

Retrieve comprehensive user profile data via email or profile ID.. Access AI-inferred interests associated with Gravatar accounts.. Generate customized avatar URLs with specific sizes and fallback styles.. Automatic email normalization and hashing for secure lookups..

What can I use Gravatar MCP Server for?

Enriching user contact information in CRM or communication tools.. Personalizing AI interactions by understanding user interests and identity.. Generating consistent UI placeholders using Gravatar's default image styles.. Verifying public profile details for developers and contributors..

How do I install Gravatar MCP Server?

Install Gravatar MCP Server by running: npx -y @automattic/mcp-server-gravatar

What MCP clients work with Gravatar MCP Server?

Gravatar MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use Gravatar MCP Server with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free