at-explore-mcp

v0.18.0
at-explore-mcp Checked 4 days ago Published 18 days ago

MCP server for AT Protocol exploration tools

Give your AI assistant the ability to explore the social web. This MCP server provides tools for searching users, browsing posts, checking verifications, and more across AT Protocol (Bluesky), ActivityPub (Mastodon, Pixelfed), and Nostr networks. Add to Claude Desktop config and restart: That's it. Ask Claude about any Bluesky, Mastodon, or Nostr user.

Summary extracted from the README.

AT Explore MCP

npm version License: MIT

Give your AI assistant the ability to explore the social web. This MCP server provides tools for searching users, browsing posts, checking verifications, and more across AT Protocol (Bluesky), ActivityPub (Mastodon, Pixelfed), and Nostr networks.

Quick Start

Add to Claude Desktop config and restart:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "at-explore": {
      "command": "npx",
      "args": ["-y", "at-explore-mcp"]
    }
  }
}

That's it. Ask Claude about any Bluesky, Mastodon, or Nostr user.

What Can You Do With It?

Once installed, try asking Claude things like:

  • "Look up @jay.bsky.team on Bluesky and tell me about them"
  • "Find people on Bluesky who work on AI"
  • "What are the recent posts from @atproto.com?"
  • "Is pfrazee.com a verified handle? How did they set it up?"
  • "Who has liked my latest post?" (with authentication)
  • "Check if @Gargron@mastodon.social is bridged to Bluesky"
  • "What collections does this user have in their AT Protocol repo?"
  • "Look up this Nostr npub and show me their profile"
  • "What has this Nostr user been posting lately?"

Installation Options

Zero installation. Add the config above and go.

Option 2: Global Install

npm install -g at-explore-mcp
{
  "mcpServers": {
    "at-explore": {
      "command": "at-explore-mcp"
    }
  }
}

Option 3: Claude Code CLI

For Claude Code, use the hosted HTTP endpoint:

claude mcp add --transport http at-explore https://mcp.atexplore.social/mcp

Note: The HTTP endpoint is read-only. For write capabilities (posting, etc.), use local installation.

Features

Bluesky / AT Protocol

Capability Tools
Search & Discovery search_handles - Find users by name or handle
User Profiles get_user_profile, get_account_document, get_repository_summary
Content Browsing get_user_collection, browse_collection_records, get_record, get_record_by_uri, get_feed
Feeds & Lists list_feeds, get_feed_info, list_lists, get_list, get_list_feed
Engagement Data get_all_link_sources, get_profile_backlinks, get_record_backlinks, get_specific_backlinks, get_post_engagement
Verification verify_handle, get_verification_status, check_verification, get_verifications, get_verifiers
Stats & Media get_at_stats, get_user_blobs, get_user_collections
Lexicons get_lexicon_schema, search_lexicons, validate_lexicon
AI Preferences get_ai_preferences - Read a user's AI consent preferences
Links get_at_explore_link, get_at_explore_link_by_uri
PDS describe_pds, list_pds_repos - Query a PDS by hostname, https URL (no port), DID, or handle, via the AT Explore backend
Advanced graphql_query - Execute custom GraphQL queries against the AT Explore API

ActivityPub (Mastodon, Pixelfed, etc.)

Capability Tools
Profiles get_activitypub_profile
Posts get_activitypub_posts, get_activitypub_post
Stats get_activitypub_stats
Bridge Status get_bridge_status, get_activitypub_bridge_status

Nostr

Capability Tools
Profiles get_nostr_profile - Look up a Nostr user by npub or identifier, with approximate follower/following counts (Nostr Archives) and post count (Primal, best-effort, unofficial); null, never 0, when unavailable
Posts get_nostr_posts - Get recent posts from a Nostr user, with approximate reaction/repost/reply/zap counts
Events get_nostr_event - Get a specific Nostr event by ID, with approximate reaction/repost/reply/zap counts

Engagement coverage

Which engagement numbers each protocol can report, which tool or GraphQL field returns them, and what is not provided: see docs/engagement-coverage.md.

Authentication & Writing (Local only)

When running locally via STDIO, you can authenticate with your Bluesky account:

Tool Description
login OAuth login via browser
logout Clear session
whoami Current user info
check_auth Verify authentication
create_post Post to Bluesky
create_record Create any AT Protocol record
update_record Update a record
delete_record Delete a record

Authentication

To use write features, authenticate with your Bluesky account:

  1. Ask Claude to log you in (it will use the login tool)
  2. A browser opens for OAuth authorization
  3. Authorize the app
  4. You're now authenticated for write operations

Sessions are stored locally:

  • macOS/Linux: ~/.config/at-explore-mcp/
  • Windows: %APPDATA%\at-explore-mcp\

HTTP API

A read-only HTTP API is available at https://mcp.atexplore.social.

Data Source

Powered by AT Explore, which indexes AT Protocol data for fast queries.

Headers sent to At Explore

Every request to the At Explore backend carries these headers, so At Explore can attribute load and latency to MCP traffic, to a release and to a tool:

Header Value Why
User-Agent at-explore-mcp/<version> (+https://github.com/Whiteside-IO/at-explore-mcp) Identifies the client and its release. The version is read from this package's own package.json.
X-MCP-Server at-explore-mcp Marks the request as AI/MCP traffic for At Explore's consent checks.
X-AtExplore-Tool The tool name, e.g. get_record Lets At Explore time each tool. Sent only during a tool call, and only with a name from the fixed tool list.

Nothing user-derived is sent in these headers: no handles, DIDs, URIs, search text or credentials. They go only to the At Explore backend the tool is already calling, never to a third party, and the MCP has no telemetry SDK. Requests that login and the write tools make straight to your PDS don't carry them.

There is no opt-out setting, because the headers hold only a version and a fixed tool name. Open an issue if you need one.

Debug timing

Set AT_EXPLORE_MCP_DEBUG_TIMING=1 to have the local (STDIO) server write one JSON line per tool call to stderr:

{"event":"tool_timing","tool":"get_record","status":"ok","duration_ms":412,"response_bytes":5321}

status is one of ok, not_found, consent_unavailable, consent_denied or error. The line never includes tool arguments or results. It is off by default, nothing is sent anywhere, and tool results are the same with the flag on or off.

License

MIT