-
Notifications
You must be signed in to change notification settings - Fork 2
Examples
Practical examples of using the ActivityPub MCP Server.
Find information about a specific user on the Fediverse.
Using Claude Desktop:
"Can you discover the actor Gargron@mastodon.social?"
Using MCP Inspector:
{
"name": "discover-actor",
"arguments": {
"identifier": "Gargron@mastodon.social"
}
}Expected Result:
- Actor profile information
- Display name and bio
- Follower/following counts
- Profile links
Get the latest posts from a user.
Using Claude Desktop:
"Show me the 5 most recent posts from Gargron@mastodon.social"
Using MCP Inspector:
{
"name": "fetch-timeline",
"arguments": {
"identifier": "Gargron@mastodon.social",
"limit": 5
}
}Expected Result:
- List of recent posts
- Post content and timestamps
- Engagement metrics
Discover instances focused on a specific topic.
Using Claude Desktop:
"Find technology-focused Mastodon instances"
Using MCP Inspector:
{
"name": "discover-instances",
"arguments": {
"topic": "technology",
"category": "mastodon"
}
}Expected Result:
- List of relevant instances
- Instance descriptions
- User counts and statistics
Compare multiple instances to choose one to join.
Using Claude Desktop:
"Compare mastodon.social, fosstodon.org, and hachyderm.io"
Using MCP Inspector:
{
"name": "compare-instances",
"arguments": {
"instances": "mastodon.social, fosstodon.org, hachyderm.io",
"criteria": "size, focus, and community"
}
}Expected Result:
- Side-by-side comparison
- Key differences highlighted
- Recommendations
Search for specific content on an instance.
Using Claude Desktop:
"Search for TypeScript developers on fosstodon.org"
Using MCP Inspector:
{
"name": "search-instance",
"arguments": {
"domain": "fosstodon.org",
"query": "TypeScript",
"type": "accounts"
}
}Expected Result:
- List of matching accounts
- Account descriptions
- Relevance scores
Learn about a specific instance.
Using Claude Desktop:
"Tell me about the instance fosstodon.org"
Using MCP Inspector:
{
"name": "get-instance-info",
"arguments": {
"domain": "fosstodon.org"
}
}Expected Result:
- Instance description
- Software version
- User statistics
- Registration status
Comprehensive exploration of a topic across the Fediverse.
Workflow:
- Discover instances about the topic
- Search for content on those instances
- Find interesting users
- Fetch their timelines
Using Claude Desktop:
"I want to explore AI and machine learning on the Fediverse. Help me find relevant instances, users, and content."
Manual Steps:
// Step 1: Find instances
{
"name": "discover-instances",
"arguments": {
"topic": "artificial intelligence"
}
}
// Step 2: Search on a promising instance
{
"name": "search-instance",
"arguments": {
"domain": "mastodon.social",
"query": "machine learning",
"type": "accounts"
}
}
// Step 3: Discover interesting users
{
"name": "discover-actor",
"arguments": {
"identifier": "user@mastodon.social"
}
}
// Step 4: Fetch their timeline
{
"name": "fetch-timeline",
"arguments": {
"identifier": "user@mastodon.social",
"limit": 10
}
}Create a curated list of users to follow.
Using Claude Desktop:
"Help me build a follow list of open source developers. Find instances, search for developers, and show me their recent posts."
Workflow:
- Use
discover-instanceswith topic "open source" - Use
search-instanceon each instance for "developer" - Use
discover-actorfor each interesting user - Use
fetch-timelineto preview their content - Compile a list of recommended follows
Track activity in a specific community.
Using Claude Desktop:
"Show me what's happening in the Rust programming community on the Fediverse"
Workflow:
- Find Rust-focused instances
- Search for Rust-related content
- Identify active community members
- Fetch recent discussions
Goal: Help a new user find the right instance and people to follow.
Steps:
- Ask about interests
- Use
explore-fediverseprompt - Use
recommend-instancestool - Use
compare-instancesprompt - Use
discover-contentto find people
Claude Desktop Conversation:
User: "I'm new to the Fediverse and interested in technology and photography"
Claude: "Let me help you explore the Fediverse! I'll use the explore-fediverse prompt..."
Goal: Find interesting content about a specific topic.
Steps:
- Use
discover-instanceswith topic - Use
search-instanceon relevant instances - Use
discover-actorfor interesting users - Use
fetch-timelineto see their content
Goal: Research instances before joining.
Steps:
- Use
discover-instancesto find candidates - Use
get-instance-infofor each - Use
compare-instancesprompt - Use
search-instanceto preview content
Access data via MCP resources:
activitypub://remote-actor/Gargron@mastodon.social
activitypub://remote-timeline/Gargron@mastodon.social
activitypub://instance-info/mastodon.social
Use tools to discover, then resources to access:
- Use
discover-actortool to find an actor - Access their timeline via resource
- Use
get-instance-infofor their instance - Access instance info via resource
- Usage Guide - Comprehensive usage documentation
- MCP Tools - Detailed tool documentation
- MCP Prompts - Prompt templates
- Quick Start - Get started quickly
Made with ❤️ by Cameron Rye