# Bluesky MCP Server - Posts, Profiles, Threads & Feeds for AI (`rjmacarthy/bluesky-mcp-server`) Actor

MCP server for AI agents (Claude, Cursor, n8n): search public Bluesky posts and accounts, read profiles with follower counts, an account's latest posts, full threads and the Discover or any custom feed. Official public API, no login, no proxy. $0.01 per call.

- **URL**: https://apify.com/rjmacarthy/bluesky-mcp-server.md
- **Developed by:** [rj](https://apify.com/rjmacarthy) (community)
- **Categories:** MCP servers, AI, Social media
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $10.00 / 1,000 tool calls

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bluesky MCP Server - Search Posts, Profiles, Threads & Feeds

Give your AI agent live access to Bluesky. This MCP server lets Claude, Cursor, n8n agents or any MCP client answer questions about Bluesky with fresh public data: **what people are saying** about a topic, brand or hashtag; **an account's latest posts**; **a thread with its replies**, most-liked first; **profiles with follower, following and post counts**; and what's trending on **Discover** or any public custom feed. It reads Bluesky's official public AppView API, so you need no login, app password, API key or proxy. It is the only dedicated Bluesky MCP server on the Apify Store (as of November 2026), and it costs a flat **$0.01 per tool call for up to 20 rows**, half the price of the leading social-media MCP server ($0.02 per call). Every list tool returns a `cursor` so the agent can page further.

**Scope:** public data only. There are no DMs, no follower/following lists and no posting or liking. Feeds that personalise by account return their logged-out version.

### What your agent can ask

- "What are people on Bluesky saying about the new iPhone today?"
- "Find the most-liked Bluesky posts about AI from the last 7 days, in English."
- "What are the latest posts linking to nytimes.com?" (`domain:nytimes.com`)
- "Show me Bluesky's latest announcements, without replies or reposts."
- "Read this thread and summarise the top replies: https://bsky.app/profile/bsky.app/post/3n2opitxdyc2j"
- "Compare the follower counts of the NYT, the Guardian, NPR and the Washington Post on Bluesky."
- "Find Bluesky accounts about astronomy."
- "What's trending on Bluesky's Discover feed right now?"

### Tools

| Tool | What it returns | Arguments |
|---|---|---|
| `search_posts` | Public posts matching a keyword, "phrase", #hashtag or operator (`from:`, `domain:`, `lang:`), newest or most-liked first, plus Bluesky's `hitsTotal` estimate (date filters work with plain words only) | `query` (required), `sort` (`latest`/`top`), `since`, `until` (ISO date or "7 days"), `lang` (2 letters), `author` (handle), `limit` (1-20), `cursor` |
| `search_accounts` | Accounts matching a name or keyword, with follower, following and post counts | `query` (required), `limit` (1-20, default 10), `cursor` |
| `get_profile` | Profile details and counts for 1-10 accounts; unknown ones listed in `notFound` | `accounts` (handles, @handles, DIDs or bsky.app profile URLs) |
| `get_author_posts` | One account's latest posts, newest first | `account` (required), `filter` (`posts_no_replies` default, `posts_with_replies`, `posts_with_media`), `includeReposts` (default false), `since`, `limit`, `cursor` |
| `get_thread` | One post, up to 3 parent posts if it's a reply, and its replies flattened with `depth` (1 = direct reply), most-liked first at each level | `post` (bsky.app post URL or at:// URI, required), `depth` (1-6, default 3), `limit` (1-20 replies) |
| `get_feed` | Current posts of Discover (trending) or any public custom feed | `feed` (`discover` default, a bsky.app feed URL or at:// URI), `limit`, `cursor` |

A **post row** is `{url, uri, authorHandle, authorDisplayName, text, createdAt, langs, replyCount, repostCount, likeCount, quoteCount, isReply, isRepost, repostedByHandle, embedType, linkUrl, imageCount, hashtags}` (plus `depth` and `replyParentUri` in threads). A **profile row** is `{handle, did, displayName, description, followersCount, followsCount, postsCount, createdAt, url, verified, labels}`. Empty, null and false fields are left out to keep answers small. There are no avatars, image blobs or CIDs. Post text is complete (Bluesky caps posts at 300 characters) and bios are capped at 500. Every answer has `query`, `count` and, when more exist, a `cursor`.

#### Example calls

```json
{ "name": "search_posts", "arguments": { "query": "climate", "sort": "latest", "limit": 15 } }
{ "name": "search_posts", "arguments": { "query": "AI", "sort": "top", "since": "7 days", "lang": "en" } }
{ "name": "search_posts", "arguments": { "query": "domain:nytimes.com", "sort": "latest" } }
{ "name": "search_accounts", "arguments": { "query": "nasa", "limit": 10 } }
{ "name": "get_profile", "arguments": { "accounts": ["nytimes.com", "theguardian.com", "npr.org", "washingtonpost.com"] } }
{ "name": "get_author_posts", "arguments": { "account": "bsky.app", "limit": 10 } }
{ "name": "get_thread", "arguments": { "post": "https://bsky.app/profile/bsky.app/post/3n2opitxdyc2j", "depth": 2, "limit": 10 } }
{ "name": "get_feed", "arguments": { "feed": "discover", "limit": 10 } }
```

Example answer from `get_author_posts` (real, trimmed to one post):

```json
{"query":{"account":"bsky.app","filter":"posts_no_replies"},"count":10,"posts":[{"url":"https://bsky.app/profile/bsky.app/post/3n2opitxdyc2j","uri":"at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n2opitxdyc2j","authorHandle":"bsky.app","authorDisplayName":"Bluesky","text":"v1.138 is live!\n\nView counts are available in beta! Now you can see how many people your posts are reaching. The numbers...","createdAt":"2026-11-19T18:33:36.813Z","langs":["en"],"replyCount":400,"repostCount":202,"likeCount":958,"quoteCount":679,"embedType":"video"}],"cursor":"2026-10-28T16:58:02.827Z"}
```

A search with no matches is a normal, charged answer with `count: 0`. Invalid arguments, unknown accounts (when none of the requested accounts exist), deleted posts and Bluesky errors (rate limits, outages) return an error message and are **not charged**.

### How to connect

Endpoint: `https://rjmacarthy--bluesky-mcp-server.apify.actor/mcp` (Streamable HTTP)
Header: `Authorization: Bearer <YOUR_APIFY_TOKEN>` (find your token in Apify Console → Settings → API & Integrations)

**Claude Desktop / Claude Code** (`claude_desktop_config.json` or `.mcp.json`):

```json
{
  "mcpServers": {
    "bluesky": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://rjmacarthy--bluesky-mcp-server.apify.actor/mcp",
               "--header", "Authorization: Bearer YOUR_APIFY_TOKEN"]
    }
  }
}
```

Or in Claude Code: `claude mcp add --transport http bluesky https://rjmacarthy--bluesky-mcp-server.apify.actor/mcp --header "Authorization: Bearer YOUR_APIFY_TOKEN"`

**Cursor** (`~/.cursor/mcp.json`):

```json
{
  "mcpServers": {
    "bluesky": {
      "url": "https://rjmacarthy--bluesky-mcp-server.apify.actor/mcp",
      "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
    }
  }
}
```

Any MCP client that supports Streamable HTTP works with the same URL and header, including n8n's MCP Client node, ChatGPT connectors and the OpenAI Agents SDK.

### Pricing

| Event | Price | When |
|---|---|---|
| `tool-call` | **$0.01** | Once per answered tool call |

That is the only charge: no per-post fee, no proxy surcharge, and failed calls are free. **Example:** an agent that runs 10 searches, reads 5 threads and checks 5 profiles makes 20 calls and spends **$0.20**. 1,000 tool calls cost $10 and return up to 20,000 posts or profiles.

### What data can you get

| Field | Description |
|---|---|
| `text`, `createdAt`, `langs` | Full post text, post time (ISO) and languages |
| `likeCount`, `repostCount`, `replyCount`, `quoteCount` | Engagement counts |
| `authorHandle`, `authorDisplayName` | Who posted it |
| `url`, `uri` | bsky.app link and at:// URI (pass either to `get_thread`) |
| `isReply`, `isRepost`, `repostedByHandle` | Replies and reposts in feeds |
| `embedType`, `linkUrl`, `imageCount`, `hashtags` | Attached media or link card, and hashtags |
| `depth`, `replyParentUri` | Thread position |
| `handle`, `did`, `displayName`, `description` | Profile identity and bio |
| `followersCount`, `followsCount`, `postsCount` | Profile counts |
| `createdAt`, `verified`, `labels` | Account age, verification badge, moderation labels |

### Use cases

- **Brand and topic monitoring:** ask an agent to check what Bluesky says about your product or a competitor every morning.
- **Research and journalism:** pull the top posts on an event, read the reply threads, and summarise the reaction.
- **Influencer and media research:** compare follower counts and recent output across accounts.
- **Trend spotting:** read Discover or a niche custom feed (science, tech, art) and summarise what's hot.
- **Social listening in workflows:** n8n or Make agents that react to new posts about a keyword.

### Normal (non-MCP) runs

You can also run the Actor like any other Actor. A normal run executes **one** tool with your input and saves one dataset row per post or profile, for a single `tool-call` charge per run. This is handy for scheduled jobs or for trying the server out:

```json
{ "tool": "search_posts", "query": "climate", "sort": "latest", "limit": 15 }
{ "tool": "get_author_posts", "account": "bsky.app", "limit": 10 }
{ "tool": "get_profile", "accounts": ["nytimes.com", "theguardian.com", "npr.org"] }
{ "tool": "get_thread", "post": "https://bsky.app/profile/bsky.app/post/3n2opitxdyc2j", "depth": 2, "limit": 10 }
{ "tool": "get_feed", "feed": "discover", "limit": 10 }
```

Each row has every field (`null` where it doesn't apply) plus `type` (`post` or `profile`), `id` (the at:// URI or the DID), `tool` and `scrapedAt`. In thread runs the post has `depth` 0, replies 1 and more, and parent posts negative depths. The **Posts** and **Profiles** dataset views show the main columns. The `RUN_SUMMARY` record holds the `cursor` for the next page.

### Tips and limits

- **Up to 20 rows per call.** Page with `cursor` for more.
- **Search operators** pass straight to Bluesky: `"exact phrase"`, `#hashtag`, `from:handle`, `domain:example.com`, `lang:en`. `hitsTotal` is Bluesky's estimate and often shows 10,000 for big topics.
- **Bluesky's search rejects a #hashtag or operator query (`domain:`, `from:`...) combined with `since`/`until`** (seen November 2026; the call returns a free error saying so). Drop the dates and use `sort: latest`, or search plain words (`AI` + `since` works).
- **`get_author_posts`** skips the pinned post and, by default, reposts. When an account reposts a lot, an answer can have fewer than `limit` posts (at most 3 pages are read per call); the `cursor` continues from exactly where it stopped.
- **`get_thread`** reads up to 6 reply levels. `totalReplies` is the post's direct reply count, and deleted or blocked replies are skipped.
- **Bare names** such as `jay` become `jay.bsky.social`. Custom-domain handles (`nytimes.com`) need the full domain.
- Each call is capped at about 20 seconds. Typical calls take 0.3 to 1.5 seconds.

### FAQ

**Is it legal?** The server reads only public Bluesky data through Bluesky's official public API, the same data any logged-out visitor sees on bsky.app. It never logs in, reads DMs or collects e-mails or phone numbers. You are responsible for how you use the data, including Bluesky's terms and data-protection laws such as the GDPR.

**Do I need a Bluesky account, app password or API key?** No. Only your Apify token to call the server.

**Do I need a proxy?** No. Bluesky's public API answers Apify's servers directly, so the Actor has no proxy setting and never uses a residential proxy.

**Can it get follower lists, likes of a post or post on my behalf?** No. It is read-only and returns counts, not lists of people.

**Why is my call an error?** The arguments were invalid (the message says which), the account or post doesn't exist or isn't public, or Bluesky rate-limited or failed the request. Errors are never charged.

### Integrations

- **MCP:** Claude, Cursor, ChatGPT connectors, the n8n AI Agent (MCP Client tool), the OpenAI Agents SDK, LangChain MCP adapters
- **Apify API:** run one tool as a normal run and read the dataset (`/v2/acts/rjmacarthy~bluesky-mcp-server/run-sync-get-dataset-items`)
- **Make, Zapier, n8n:** the Apify integrations, for scheduled monitoring
- **Webhooks:** get notified when a normal run finishes

### Changelog

- **0.1** (November 2026): first release with six tools: post search, account search, profiles, author posts, threads and feeds.

### More scrapers by the same developer

- [AI Visibility Tracker: ChatGPT, Perplexity, Gemini, Claude](https://apify.com/rjmacarthy/ai-search-visibility-tracker)
- [AliExpress Scraper - Product Search, Prices, Ratings & Details](https://apify.com/rjmacarthy/aliexpress-scraper)
- [Apple App Store Scraper: Apps, Search & Reviews](https://apify.com/rjmacarthy/app-store-scraper)
- [AutoScout24 Scraper - Used Car Listings & Prices (Europe)](https://apify.com/rjmacarthy/autoscout24-scraper)
- [Bilibili Scraper - Videos, Search, Popular & Uploader Stats](https://apify.com/rjmacarthy/bilibili-scraper)
- [Bing Search Scraper: Organic Results, Ads & Related Searches](https://apify.com/rjmacarthy/bing-search-scraper)

Browse all my Actors on [my Apify Store profile](https://apify.com/rjmacarthy).

### Support

Found a bug or need another tool? Open an issue on the Issues tab with the tool, its arguments and the answer you got.

# Actor input Schema

## `tool` (type: `string`):

Which tool to run.

## `query` (type: `string`):

Search posts: keywords, "exact phrase", #hashtag or operators (from:handle, domain:nytimes.com, lang:en). Search accounts: a name or keyword.

## `sort` (type: `string`):

Search posts only: newest first or most engagement.

## `since` (type: `string`):

Only posts on or after this date: YYYY-MM-DD or relative, e.g. "7 days", "12 hours".

## `until` (type: `string`):

Search posts only: only posts before this date (YYYY-MM-DD or relative).

## `lang` (type: `string`):

Search posts only: two-letter language code, e.g. en, de, ja.

## `author` (type: `string`):

Search posts only: only posts by this handle or DID, e.g. bsky.app.

## `accounts` (type: `array`):

Profiles only: 1-10 handles (bsky.app), @handles, DIDs or https://bsky.app/profile/... URLs.

## `account` (type: `string`):

Author posts only: a handle, DID or bsky.app profile URL, e.g. bsky.app.

## `filter` (type: `string`):

Author posts only.

## `includeReposts` (type: `boolean`):

Author posts only: include the account's reposts of other people's posts.

## `post` (type: `string`):

Thread only: https://bsky.app/profile/<handle>/post/<id> or an at:// URI.

## `depth` (type: `integer`):

Thread only: how many reply levels to read (1-6).

## `feed` (type: `string`):

Feed only: "discover", a https://bsky.app/profile/<handle>/feed/<id> URL or an at://.../app.bsky.feed.generator/<id> URI.

## `limit` (type: `integer`):

Max posts, replies or accounts returned (1-20).

## `cursor` (type: `string`):

Optional: the cursor from a previous run's RUN_SUMMARY, to get the next page.

## Actor input object example

```json
{
  "tool": "search_posts",
  "query": "climate",
  "sort": "latest",
  "accounts": [
    "bsky.app"
  ],
  "account": "bsky.app",
  "filter": "posts_no_replies",
  "includeReposts": false,
  "depth": 3,
  "feed": "discover",
  "limit": 15
}
```

# Actor output Schema

## `posts` (type: `string`):

Posts (table).

## `profiles` (type: `string`):

Profiles (table).

## `allFields` (type: `string`):

Every field of every row.

## `summary` (type: `string`):

Tool, arguments, counts, cursor and requests per host.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "tool": "search_posts",
    "query": "climate",
    "sort": "latest",
    "limit": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("rjmacarthy/bluesky-mcp-server").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "tool": "search_posts",
    "query": "climate",
    "sort": "latest",
    "limit": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("rjmacarthy/bluesky-mcp-server").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "tool": "search_posts",
  "query": "climate",
  "sort": "latest",
  "limit": 15
}' |
apify call rjmacarthy/bluesky-mcp-server --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rjmacarthy/bluesky-mcp-server"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ds6jODbWoPJTAXWHI/builds/EFiXBzbKw44rbGxwy/openapi.json
