# Reddit MCP Server: Reddit API Alternative for AI Agents (`memo23/reddit-mcp-server`) Actor

Hosted Reddit MCP server for AI agents. Connect Claude, Cursor or ChatGPT and search Reddit, browse subreddits and read comment threads live — no Reddit API keys, no OAuth. A drop-in Reddit API alternative, billed per tool call.

- **URL**: https://apify.com/memo23/reddit-mcp-server.md
- **Developed by:** [Muhamed Didovic](https://apify.com/memo23) (community)
- **Categories:** AI, Agents, MCP servers
- **Stats:** 1 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $20.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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

<h1 align="center">Reddit MCP Server — a Reddit API Alternative for Claude, Cursor &amp; ChatGPT</h1>

<p align="center">
  <img src="https://muhamed-didovic.github.io/assets/reddit-mcp-server-card.png" alt="Reddit MCP Server — a hosted Model Context Protocol server with search_reddit, fetch_subreddit and fetch_post_comments tools" width="100%">
</p>

Give your AI assistant **live Reddit access**. This Actor runs as a **hosted MCP server** (Model Context Protocol): connect Claude, Cursor, ChatGPT, VS Code or any MCP client and it can **search Reddit, browse subreddits, and read post comment threads** — with **no Reddit API keys, no OAuth app, and no rate‑limit paperwork**. A drop‑in **Reddit API alternative** built for AI agents.

Apify hosts it, authenticates it with your Apify token, and bills it **per tool call** — you don't run or host anything.

---

### 🧰 Tools

**Six tools**, all returning **clean, typed JSON** — ready for an LLM to reason over.

| Tool | What it does | Key arguments |
|---|---|---|
| **`search_reddit`** | Search Reddit posts by keyword — site‑wide or within one subreddit. | `query` *(required)*, `subreddit`, `sort` (`relevance`/`hot`/`top`/`new`/`comments`), `time` (`hour`…`all`), `limit` (1–100) |
| **`search_comments`** | Keyword‑search Reddit **comments** — scans the most relevant threads and returns the actual comments that match, ranked by score. Great for real quotes / voice‑of‑customer. | `query` *(required)*, `subreddit`, `sort`, `time`, `limit` (1–100) |
| **`fetch_subreddit`** | Fetch a subreddit feed sorted by hot / new / top / rising / controversial. Great for monitoring a community. | `subreddit` *(required)*, `sort`, `time`, `limit` (1–100) |
| **`fetch_post_comments`** | Fetch a post + its comments from a post URL or permalink. | `url` *(required)*, `limit` (1–200) |
| **`get_subreddit_info`** | Get subreddit metadata: name, title, full description, creation date, NSFW flag and link. | `subreddit` *(required)* |
| **`find_similar_subreddits`** | Discover communities related to one or more seed subreddits, ranked by overlap. | `subreddits` *(required, list)*, `limit` (1–50) |

> **Higher limits than most Reddit MCPs** — `search_reddit`/`fetch_subreddit` return up to **100** posts and `fetch_post_comments` up to **200** comments per call.

---

### 🔌 Connect it

This Actor runs in **Standby mode** and exposes an MCP endpoint at **`/mcp`** over the **Streamable HTTP** transport. Point your MCP client at the Actor's Standby URL and authenticate with your **Apify API token** as a bearer token.

Add this to your MCP client config (**Claude Desktop, Cursor, VS Code, Windsurf, …**):

```json
{
  "mcpServers": {
    "reddit": {
      "url": "https://<YOUR-STANDBY-URL>/mcp",
      "headers": { "Authorization": "Bearer <YOUR_APIFY_TOKEN>" }
    }
  }
}
````

- Your **Standby URL** is shown on the Actor's page once you enable Standby (looks like `https://<user>--reddit-mcp-server.apify.actor`).
- Your **Apify API token** is under **Settings → Integrations** in the Apify Console.

That's it — your assistant will discover the three tools automatically and pick the right one.

***

### 💬 Example prompts

Once connected, just ask your assistant naturally:

- *“Search Reddit for people frustrated with existing CRM tools — give me quotes and upvote counts.”*
- *“What's hot in r/SaaS this week?”*
- *“Read the comments on this thread and summarise the main complaints: `<post URL>`.”*
- *“Find the top 20 posts in r/webdev this month and cluster them by topic.”*
- *“Which note‑taking apps do people on Reddit recommend most, and why?”*

***

### 📦 Example tool calls & output

#### `search_reddit`

```json
{ "query": "best note taking app", "limit": 3 }
```

```json
{
  "query": "best note taking app",
  "subreddit": null,
  "sort": "relevance",
  "time": "all",
  "count": 3,
  "posts": [
    {
      "id": "1a2b3c",
      "title": "Tested 6 of the best note taking apps over one semester",
      "author": "study_nerd",
      "subreddit": "ProductivityApps",
      "score": 15,
      "numComments": 8,
      "createdAt": "2026-05-14T18:22:11.000Z",
      "permalink": "https://www.reddit.com/r/ProductivityApps/comments/1a2b3c/...",
      "url": "https://www.reddit.com/r/ProductivityApps/comments/1a2b3c/...",
      "over18": false
    }
  ]
}
```

#### `fetch_subreddit`

```json
{ "subreddit": "SaaS", "sort": "hot", "limit": 3 }
```

Returns the same `posts[]` shape as above, in feed order — ideal for monitoring a community.

#### `fetch_post_comments`

```json
{ "url": "https://www.reddit.com/r/SaaS/comments/1u0z4vz/...", "limit": 4 }
```

```json
{
  "post": { "title": "New rule banning a SaaS product category", "score": 525, "numComments": 265 },
  "commentCount": 4,
  "comments": [
    {
      "id": "kd93jf2",
      "author": "founder_mike",
      "body": "Honestly this is overdue, the promo spam was out of control…",
      "score": 42,
      "createdAt": "2026-06-30T09:12:03.000Z",
      "permalink": "https://www.reddit.com/r/SaaS/comments/1u0z4vz/.../kd93jf2/",
      "numReplies": 3
    }
  ]
}
```

#### `search_comments`

```json
{ "query": "migrating from Webpack to Vite", "limit": 4 }
```

```json
{
  "query": "migrating from Webpack to Vite",
  "count": 4,
  "comments": [
    {
      "author": "frontend_dan",
      "body": "We migrated a bunch of React repos from Webpack to rspack — near drop-in…",
      "score": 3,
      "subreddit": "webdev",
      "postTitle": "Anyone actually moved off Webpack?",
      "postPermalink": "https://www.reddit.com/r/webdev/comments/…"
    }
  ]
}
```

#### `get_subreddit_info`

```json
{ "subreddit": "LocalLLaMA" }
```

```json
{
  "name": "LocalLLaMA",
  "title": "LocalLLaMA",
  "description": "A subreddit to discuss about Llama, the family of large language models…",
  "subscribers": null,
  "createdAt": "2023-03-10T21:35:04.000Z",
  "over18": false,
  "url": "https://www.reddit.com/r/LocalLLaMA/",
  "id": "t5_81eyvm"
}
```

> Reddit hides subscriber / active‑user counts for logged‑out access, so those fields are returned when available and `null` otherwise.

#### `find_similar_subreddits`

```json
{ "subreddits": ["datascience", "machinelearning"], "limit": 5 }
```

```json
{
  "seeds": ["datascience", "machinelearning"],
  "count": 5,
  "subreddits": [
    { "name": "learnmachinelearning", "title": "Learn Machine Learning", "url": "https://www.reddit.com/r/learnmachinelearning/" },
    { "name": "bigdata", "title": "big data", "url": "https://www.reddit.com/r/bigdata/" },
    { "name": "DataScienceJobs", "title": "Data Science & Machine Learning Jobs!", "url": "https://www.reddit.com/r/DataScienceJobs/" }
  ]
}
```

***

### ✅ Why use it

- **No Reddit API.** Reddit's official API is gated, app‑registered and rate‑limited; this reads public data and needs **no keys and no OAuth app**.
- **Built for agents.** Clean, typed tools with descriptions LLMs understand, so your assistant picks the right one and gets structured JSON back.
- **Reliable IPs.** Requests are routed through **residential proxies**, so Reddit doesn't block them.
- **Pay per call.** Billed per tool call — no subscription, no idle server cost, nothing to host.
- **Works everywhere.** Standard **Streamable HTTP** MCP transport — Claude, Cursor, ChatGPT, VS Code, Windsurf, or your own agent.

***

### 🎯 Great for

- **Voice‑of‑customer & market research** — surface real complaints and feature requests in your niche.
- **SaaS / product idea validation** — find pain points people are actively discussing.
- **Community monitoring** — track a subreddit for new posts on your brand or topic.
- **Content & SEO research** — see what questions and threads get traction.

***

### ⚙️ Notes & limitations

- **Read‑only, public data only** — no posting, voting, or private/DM access, and no login.
- Reddit search returns roughly the most recent/relevant few hundred results per query — it is not a full historical archive.
- Very high call volumes may hit Reddit rate limits; requests retry with back‑off.

***

### ⚠️ Disclaimer

This Actor accesses only **publicly available** Reddit data and performs no login or private‑account access. You are responsible for using the output in compliance with Reddit's terms and applicable laws. Not affiliated with, endorsed by, or sponsored by Reddit, Inc. “Reddit” is a trademark of its respective owner.

***

### 🔎 SEO keywords

Reddit MCP, Reddit MCP server, Reddit API alternative, Reddit API, MCP server, Model Context Protocol, Reddit for Claude, Reddit for Cursor, Reddit for ChatGPT, Reddit tool for AI agents, scrape Reddit, Reddit search API, subreddit API, Reddit comments API, no‑auth Reddit, Reddit data for LLM, Reddit agent tool, hosted MCP server, Streamable HTTP MCP.

# Actor input Schema

## `useApifyProxy` (type: `boolean`):

Fetch Reddit's public JSON through Apify Proxy for reliability (recommended). Turn off to fetch directly.

## Actor input object example

```json
{
  "useApifyProxy": true
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("memo23/reddit-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 = {}

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

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

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

```

## CLI example

```bash
echo '{}' |
apify call memo23/reddit-mcp-server --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=memo23/reddit-mcp-server",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Reddit MCP Server: Reddit API Alternative for AI Agents",
        "description": "Hosted Reddit MCP server for AI agents. Connect Claude, Cursor or ChatGPT and search Reddit, browse subreddits and read comment threads live — no Reddit API keys, no OAuth. A drop-in Reddit API alternative, billed per tool call.",
        "version": "0.0",
        "x-build-id": "9j8U5S5eSrIQJw1nB"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/memo23~reddit-mcp-server/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-memo23-reddit-mcp-server",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/memo23~reddit-mcp-server/runs": {
            "post": {
                "operationId": "runs-sync-memo23-reddit-mcp-server",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/memo23~reddit-mcp-server/run-sync": {
            "post": {
                "operationId": "run-sync-memo23-reddit-mcp-server",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "useApifyProxy": {
                        "title": "Route Reddit requests through Apify Proxy",
                        "type": "boolean",
                        "description": "Fetch Reddit's public JSON through Apify Proxy for reliability (recommended). Turn off to fetch directly.",
                        "default": true
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
