Skip to content
Featured

ActivityPub MCP Server

First MCP server for the Fediverse, connecting AI to millions of decentralized users

A comprehensive Model Context Protocol (MCP) server that enables LLMs like Claude to explore and interact with the existing Fediverse through standardized MCP tools, resources, and prompts.

Astro MCP WebFinger ActivityPub Fediverse Fedify
Screenshot of ActivityPub MCP Server

Architecture

flowchart LR
    subgraph Client["AI Client"]
        AI["Claude / LLM"]
    end
    subgraph Server["MCP Server"]
        Tools["MCP Tools"]
        Resources["Resources"]
        Fedify["Fedify"]
    end
    subgraph Fediverse["Fediverse"]
        WF["WebFinger"]
        AP["ActivityPub"]
        Mastodon["Mastodon"]
        Pixelfed["Pixelfed"]
    end
    AI --> Tools
    AI --> Resources
    Tools --> Fedify
    Fedify --> WF
    Fedify --> AP
    AP --> Mastodon
    AP --> Pixelfed

The Problem

The Fediverse represents millions of users across thousands of decentralized servers, but AI assistants have no way to access this ecosystem. The ActivityPub protocol's complexity and the need for WebFinger discovery create significant barriers to AI integration.

The Solution

Developed the first MCP server for ActivityPub, built on the Fedify framework for robust protocol support. The server enables AI assistants to discover users via WebFinger, fetch profiles and posts, and explore the social graph across any ActivityPub-compatible instance.

The Results

  • First MCP server enabling AI access to the Fediverse
  • WebFinger discovery across federated instances
  • Compatible with Mastodon, Pixelfed, and all ActivityPub servers
  • Built on Fedify for reliable protocol implementation
10M+
Fediverse Users
1000s
Instances
ActivityPub
Protocols
WebFinger
Discovery

The ActivityPub MCP Server connects AI assistants to the Fediverse - the decentralized social network including Mastodon, Pixelfed, and thousands of other instances. Built with Fedify for robust ActivityPub support.

MCP Tool Explorer

activitypub-mcp
# Request
{
  "tool": "webfinger_lookup",
  "account": "@user@mastodon.social"
}
webfinger

Discover a user via WebFinger lookup

This is a simulated demo. The actual MCP server processes requests from AI assistants like Claude.

Key Features

  • Fediverse Access: Connect to any ActivityPub-compatible server
  • WebFinger Support: Discover users across federated instances
  • MCP Tools & Prompts: Standardized interface for AI interaction
  • Fedify Integration: Built on the Fedify framework for reliability

Was this helpful?