Bluesky MCP server

Bridges Claude with the Bluesky social network, enabling timeline browsing, post creation, content searching, and follow management through conversational interaction with Bluesky's API.
Back to servers
Setup instructions
Provider
Brian Ellin
Release date
Mar 21, 2025
Language
TypeScript
Stats
25 stars

This MCP server allows you to interact with Bluesky using natural language through your LLM-based application. You can fetch posts, analyze feeds, search for content, and even publish posts directly from your LLM interface, all using conversational commands.

Installation Options

Via Smithery

The easiest way to install Bluesky MCP Server for Claude Desktop is using Smithery:

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

Manual Installation

If you prefer to install manually:

# Install dependencies
pnpm install

# Build the project
pnpm run build

Testing with MCP Inspector

You can test the server without connecting to an LLM using MCP Inspector:

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

Navigate to the provided local URL and set your Bluesky credentials in the left panel to start testing the tools.

Configuration

Setting Up with Claude Desktop

To configure Claude Desktop to connect to Bluesky, add the following 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"
          }
      }
    }
  }

Creating a Bluesky App Password

To authenticate with Bluesky:

  1. Log in to Bluesky
  2. Go to Settings > App Passwords
  3. Create a new app password specifically for this integration
  4. Use this password in your configuration as BLUESKY_APP_PASSWORD

Using the Server

Once configured, you can interact with Bluesky using natural language commands. Here are some examples of what you can do:

Viewing Content

  • "Get recent posts from [username]"
  • "Find me a feed about Seattle and tell me what people are talking about"
  • "What types of accounts does [username] follow? Give me a detailed report"
  • "Show posts from my home timeline from the last 24 hours"
  • "Find posts about #teslatakedown and give me a summary"

Interacting with Bluesky

  • "Write a haiku about today's weather and post it to Bluesky"
  • "Like the post at [post URL]"
  • "Follow [username]"

Analysis and Insights

  • "Who follows me on Bluesky? Give me a report"
  • "Analyze my liked posts and tell me what I'm into"
  • "What's the funniest post you've seen on my timeline in the last 24 hours?"
  • "What are the current trending topics on Bluesky?"

The server provides tools for getting pinned feeds, timeline posts, profile information, following relationships, liked posts, trends, and much more - all accessible through natural language requests to your LLM.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "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"}}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "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"
            }
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

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

2. Add this to your configuration file:

{
    "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"
            }
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later