npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@kud/mcp-bsky

v1.0.0

Published

MCP server for Bluesky — search, read, and post via the AT Protocol.

Readme

Bluesky MCP Server

 ██████╗ ███████╗██╗  ██╗██╗   ██╗
 ██╔══██╗██╔════╝██║ ██╔╝╚██╗ ██╔╝
 ██████╔╝███████╗█████╔╝  ╚████╔╝
 ██╔══██╗╚════██║██╔═██╗   ╚██╔╝
 ██████╔╝███████║██║  ██╗   ██║
 ╚═════╝ ╚══════╝╚═╝  ╚═╝   ╚═╝

TypeScript Node.js MCP npm License

Search, read, and post to Bluesky from any MCP client — a thin server over the @kud/bsky AT Protocol library.

FeaturesQuick StartToolsDevelopment

🌟 Features

  • App-password auth — uses your Bluesky App Password via BLUESKY_HANDLE / BLUESKY_APP_PASSWORD (shared with @kud/bsky-cli).
  • 11 tools — 5 read, 6 write.
  • Writes are gated — every posting/engagement tool requires an explicit confirm: true, so an agent can never publish by accident.
  • Thin wrapper — each tool is one line over @kud/bsky; the API logic lives in the core library, not here.
  • TypeScript, ESM, zero business logic@modelcontextprotocol/sdk + zod.

🚀 Quick Start

Prerequisites

  • Node.js 20+
  • A Bluesky account and an App Password (Settings → App Passwords)

Installation

npx @kud/mcp-bsky

Claude Desktop / Claude Code

{
  "mcpServers": {
    "bsky": {
      "command": "npx",
      "args": ["@kud/mcp-bsky"],
      "env": {
        "BLUESKY_HANDLE": "you.bsky.social",
        "BLUESKY_APP_PASSWORD": "xxxx-xxxx-xxxx-xxxx"
      }
    }
  }
}

✅ Restart your client and the bsky tools appear.

🛠️ Available Tools

🔭 Read (5 tools)

| Tool | Description | | --------------- | ----------------------------------------- | | search_posts | Search Bluesky for posts matching a query | | timeline | The authenticated user's home timeline | | notifications | The authenticated user's notifications | | profile | A profile by handle or DID | | thread | A post and its replies |

✍️ Write — gated by confirm: true (6 tools)

| Tool | Description | | ------------- | --------------------------------------------------------- | | post | Publish a post | | thread_post | Publish a self-thread (each post replies to the previous) | | reply | Reply to a post | | like | Like a post | | repost | Repost a post | | follow | Follow an account |

Total: 11 tools covering the core Bluesky workflow.

💬 Example Conversations

You: "What are people saying about the AT Protocol on Bluesky?"
AI: *calls search_posts → summarises the latest posts*

You: "Post 'shipped a new MCP server 🦋' to my Bluesky."
AI: *calls post with confirm: true → returns the post URL*

You: "Reply to that thread and like the original."
AI: *calls reply and like (confirm: true) → done*

🧪 Development

git clone https://github.com/kud/mcp-bsky.git
cd mcp-bsky
npm install
npm run build
npm test

| Script | Description | | --------------------- | --------------------------------------- | | npm run build | Compile TypeScript to dist/ | | npm run dev | Run from source via tsx | | npm test | Run the vitest suite | | npm run inspect:dev | Launch the MCP Inspector against source |

Test against source with the Inspector:

export BLUESKY_HANDLE=you.bsky.social
export BLUESKY_APP_PASSWORD=xxxx-xxxx-xxxx-xxxx
npm run inspect:dev

🔐 Authentication

This server reads two environment variables — @kud/bsky's contract, intentionally not MCP_-prefixed so the credentials are shared with @kud/bsky-cli:

  1. Sign in at bsky.appSettings → App Passwords → Add App Password.
  2. Set BLUESKY_HANDLE (e.g. you.bsky.social) and BLUESKY_APP_PASSWORD (the generated app password — never your main password).

📊 Tech Stack

  • Runtime: Node.js 20+
  • Language: TypeScript (ESM)
  • Protocol: Model Context Protocol (@modelcontextprotocol/sdk)
  • Core: @kud/bsky
  • Validation: zod

📄 License

MIT — see LICENSE.

🙏 Acknowledgments

Made with ❤️ for the terminal

⭐ Star this repo if it helped you!