Usage Guide

Comprehensive guide to using the ActivityPub MCP Server effectively. Learn advanced workflows, best practices, and power-user techniques for exploring the fediverse.

🎯 Understanding the Fediverse

Decentralized Network

The fediverse consists of thousands of independent servers (instances) that communicate using open protocols like ActivityPub.

Actors and Objects

Users are "actors" who create and share "objects" (posts, images, etc.) across the network using standardized formats.

Federation

Instances can federate (connect) with each other, allowing users to follow and interact across different servers.

🔧 Tool Categories

🔍 Discovery Tools

  • discover-actor - Find and analyze fediverse users
  • discover-instances - Search for instances by topic
  • search-content - Find posts and content

Use for: Finding new communities, researching topics, identifying key actors

📊 Information Tools

  • get-instance-info - Instance metadata and statistics
  • fetch-timeline - Actor's recent posts
  • get-post-details - Detailed post information

Use for: Understanding communities, analyzing content, tracking activity

🔧 Utility Tools

  • health-check - Server status and performance
  • clear-cache - Reset cached data
  • validate-actor - Check actor accessibility

Use for: Troubleshooting, maintenance, optimization

📈 Advanced Workflows

Community Research Workflow

  1. Topic Discovery: Use discover-instances to find relevant communities
  2. Instance Analysis: Use get-instance-info to understand each community
  3. Key Actor Identification: Use discover-actor to find influential users
  4. Content Analysis: Use fetch-timeline to analyze recent discussions
  5. Trend Identification: Look for common themes and popular topics

Example Query:

"Research the open source software community in the fediverse. Find the most active instances, identify key contributors, and summarize current discussions."

Content Monitoring Workflow

  1. Actor Selection: Identify actors to monitor
  2. Baseline Establishment: Get current activity levels
  3. Regular Monitoring: Check timelines periodically
  4. Change Detection: Identify significant changes or trends
  5. Analysis and Reporting: Summarize findings

Example Query:

"Monitor @mozilla@mozilla.social for new product announcements and summarize any significant updates from the past week."

Network Analysis Workflow

  1. Seed Selection: Choose starting actors or instances
  2. Connection Mapping: Discover followers and following relationships
  3. Influence Analysis: Identify highly connected actors
  4. Community Detection: Find clusters and subgroups
  5. Visualization: Create network maps and diagrams

Example Query:

"Map the network of climate science researchers in the fediverse. Show how they're connected and identify the most influential voices."

💡 Best Practices

🎯 Efficient Discovery

  • Start Broad, Then Narrow: Begin with general searches, then focus on specific actors or instances
  • Use Multiple Formats: Try different actor identifier formats (@user@domain, URLs)
  • Cross-Reference: Verify information across multiple sources
  • Cache Awareness: Understand that data may be cached for performance

⚡ Performance Optimization

  • Batch Requests: Group related queries together
  • Limit Results: Use appropriate limits for large datasets
  • Monitor Rate Limits: Respect instance rate limiting
  • Clear Cache Strategically: Only clear cache when fresh data is needed

🔒 Privacy and Ethics

  • Respect Privacy: Only access public information
  • Follow Instance Rules: Respect each instance's terms of service
  • Be Mindful of Load: Don't overwhelm small instances
  • Attribute Sources: Credit instances and actors when sharing findings

📊 Data Quality

  • Verify Timestamps: Check when data was last updated
  • Handle Errors Gracefully: Account for unavailable instances or actors
  • Cross-Validate: Confirm important findings through multiple sources
  • Document Methodology: Keep track of your research process

🔍 Advanced Query Techniques

Chained Discovery

Use results from one tool as input for another:

# 1. Find instances
discover-instances "journalism"

# 2. Get details for each
get-instance-info journa.host

# 3. Find key actors
discover-actor @admin@journa.host

# 4. Analyze their content
fetch-timeline https://journa.host/users/admin

Comparative Analysis

Compare multiple instances or actors side by side:

"Compare the posting frequency, engagement levels, and topic focus between @user1@instance1.com and @user2@instance2.com"

Temporal Analysis

Track changes over time:

"Track how the discussion about renewable energy has evolved on climate-focused instances over the past month"

Cross-Instance Research

Research topics across multiple instances:

"Find all instances discussing artificial intelligence and compare their perspectives and community attitudes"

🚨 Common Pitfalls

❌ Over-Reliance on Single Sources

Problem: Drawing conclusions from one instance or actor

Solution: Always cross-reference with multiple sources

❌ Ignoring Instance Differences

Problem: Treating all instances as equivalent

Solution: Understand each instance's culture, rules, and focus

❌ Cache Confusion

Problem: Not understanding when data is cached vs. fresh

Solution: Check timestamps and clear cache when needed

❌ Rate Limit Violations

Problem: Making too many requests too quickly

Solution: Pace requests and respect instance limits

📚 Learning Resources

ActivityPub Specification

Official W3C specification for the ActivityPub protocol

Read Specification

Fediverse Guide

Comprehensive guide to understanding the fediverse

Learn More

Instance Directory

Browse and discover fediverse instances

Explore Instances

🔗 Next Steps