Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

bsky-mcp-server

MCP.Pizza Chef: brianellin

The bsky-mcp-server is a Model Context Protocol server that connects to Bluesky's ATProtocol, enabling LLM applications to fetch and interact with Bluesky data via natural language. It supports retrieving posts, analyzing feeds and followers, and composing posts through LLM integration, making Bluesky content accessible and actionable within AI workflows.

Use This MCP server To

Fetch recent posts from specific Bluesky users via natural language Analyze Bluesky feeds to summarize trending topics Generate detailed reports on followers of a Bluesky account Compose and publish Bluesky posts using LLM-generated content Integrate Bluesky social data into AI chat applications Use natural language queries to explore Bluesky user interactions

README

Bluesky MCP Server

smithery badge

A Model Context Protocol server that connects to Bluesky and provides tools to interact with the ATProtocol.

You can use this MCP server to bring context from various Bluesky / ATProtocol API endpoints directly into the context window of your LLM based application. For example, you can add this server to Claude Desktop and then use it as a natural language Bluesky client.

Features & Tools

  • Interact with common Bluesky features via natural language (e.g. "Get recent posts from David Roberts")
  • Fetch and analyze feeds ("Find me a feed about Seattle and tell me what people are talking about")
  • Fetch and analyze lists of followers ("What types of accounts does Mark Cuban follow? Give me a detailed report")
  • Use an LLM to write a post and then post it for you 😱 ("Write a haiku about today's weather in my area and post it to bluesky")
  • Search for feeds, posts, and people ("Find posts about the #teslatakedown and give me a summary of recent events")
  • Analyze who follows you? ("Who follows me on Bluesky? Give me a report")

Here's the current list of tools provided:

  • get-pinned-feeds: returns the set of all "pinned" items from the authenticated user's preferences.
  • get-timeline-posts: returns posts from the authenticated user's home timeline
  • get-feed-posts: returns posts from the specified feed
  • get-list-posts: returns posts from the specified list
  • get-user-posts: returns the specified user's posts
  • get-profile: returns the profile details of the specified user
  • get-follows: returns the set of users an account follows
  • get-followers: returns the set of users who follow an account
  • get-liked-posts: returns recent posts liked by the authenticated user
  • get-trends: returns current trending topics on Bluesky with post counts
  • get-post-thread: returns a full conversation thread for a specific post, showing all replies and context
  • convert-url-to-uri: converts a Bluesky web URL to an AT URI format that can be used with other tools
  • search-posts: returns posts for a given query. can specify top or latest
  • search-people: returns people for a given search query
  • search-feeds: returns feeds for a given query
  • like-post: like a post with a specific URI
  • create-post: publish a post
  • follow-user: follow a specific user

Tips:

  • You can ask for post from search, timelines, lists, feeds, or profiles by time range. For example: Summarize posts from my timeline for the last three days" or "Find me the most interesting article people have been talking about this week"
  • Get weird: "What the funniest/most unhinged/weirdest/goofiest post you've seen on my timeline in the last 24 hours?"
  • Learn about yourself: "Analyze my liked posts and tell me what I'm into. Give me 3 interesting facts about what you've found and how it relates to my personality on bluesky" or "Who follows me on bluesky? Give me a comprehensive report."

Installation

Installing via Smithery

To install Bluesky MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @brianellin/bsky-mcp-server --client claude

Installing Manually

First clone this repo, then install dependencies and build the server:

# Install dependencies
pnpm install

# Build the project
pnpm run build

Testing with MCP Inspector

You can test the bluesky tools directly without connecting to an LLM via the amazing MCP Inspector. First make sure you have built the server and then run:

npx @modelcontextprotocol/inspector node build/src/index.js

Navigate to the local URL provided in your terminal, and then set your BLUESKY_IDENTIFIER, BLUESKY_APP_PASSWORD, and BLUESKY_SERVICE_URL environment variables from the panel on the left. Try the get-timeline tool to see the most recent posts from your home timeline.

MCP Client Configuration

Follow the steps to set up MCP with your client of choice. For example, to set up Claude for desktop to connect to Bluesky, add the following to bluesky section to your claude_desktop_config.json:

{
    "mcpServers": {
      "bluesky": {
        "command": "node",
        "args": ["/path/to/bsky-mcp-server/build/src/index.js"],
        "env": {
            "BLUESKY_IDENTIFIER": "your-bluesky-handle",
            "BLUESKY_APP_PASSWORD": "your-app-password",
            "BLUESKY_SERVICE_URL": "https://bsky.social"
          }
      }
    }
  }

For more details about running MCP servers in Claude for desktop, see https://modelcontextprotocol.io/quickstart/user

Creating App Passwords

To use this MCP server, you need to create an app password for your Bluesky account:

  1. Log in to Bluesky
  2. Go to Settings > App Passwords
  3. Create a new app password specifically for this integration
  4. Set the app password using the BLUESKY_APP_PASSWORD environment variable

Security Notes

  • This server stores your session information in memory only and does not share it with the MCP client.
  • The MCP client only has access to the tools, not to your authentication or app password

License

MIT

bsky-mcp-server FAQ

How do I connect the bsky-mcp-server to my LLM application?
You add the bsky-mcp-server as an MCP server endpoint in your LLM client, such as Claude Desktop, to enable Bluesky data access.
Can the bsky-mcp-server post content on Bluesky on my behalf?
Yes, it can use LLM-generated text to compose and post content directly to Bluesky via the ATProtocol.
What kind of Bluesky data can I access through this server?
You can access recent posts, user feeds, follower lists, and other common Bluesky features via natural language queries.
Is the bsky-mcp-server limited to specific Bluesky API endpoints?
It primarily supports common and useful ATProtocol endpoints for posts, feeds, and followers, but may expand with additional features.
Does the server support real-time updates from Bluesky?
The server fetches data on demand; real-time streaming depends on Bluesky API capabilities and server implementation.
What LLM platforms are compatible with bsky-mcp-server?
It works with any MCP-compatible LLM host, including OpenAI, Anthropic Claude, and Google Gemini.
How secure is the bsky-mcp-server when handling user credentials?
The server follows MCP principles for secure, scoped access and does not store user credentials beyond session needs.
Can I customize the queries or commands sent to Bluesky via this server?
Yes, you can craft natural language prompts or integrate programmatic calls to tailor interactions with Bluesky data.