Skip to content

Reddit MCP server: give Claude, Cursor or Codex live Reddit data

Set up a Reddit MCP server in Claude Code, Claude Desktop, Cursor or Codex in two minutes, with exact configs, example prompts and real tool results.

Piyushh · Updated November 12, 2026 · 8 min read

A small wooden robot hand picking a tool from a pegboard where all tools connect to one power strip.

A Reddit MCP server lets Claude, Cursor or Codex search Reddit and read threads on their own while they work on your task. To set one up, you add a server URL and an API key to your client's MCP config. For ChatterAPI's hosted server in Claude Code, that's one command, with no Reddit developer account and nothing to install locally.

This guide covers setup: exact configs for Claude Code, Claude Desktop, Cursor and Codex, prompts that work well, and real tool results so you can see what your agent gets back. If you haven't picked a server yet, we compared the open-source and hosted options in the best MCP servers for Reddit and X.

Why a Reddit MCP server needs credentials in 2026

Until this year, many Reddit MCP servers read Reddit's public .json endpoints without a key. That no longer works. In May 2026 a developer in r/ClaudeAI wrote: "If you've noticed your Reddit MCP server suddenly returning nothing, here's why: Reddit now blocks anonymous access to its JSON API at the network level." They tested from a home IP, a VPN and a paid residential proxy, and "all of them get blocked" (thread). A follow-up PSA put it more precisely: "Reddit only killed the ANONYMOUS path" (thread).

Reddit's own Data API Wiki (checked 2026-10-14) says clients "must authenticate with a registered OAuth token" and that traffic "not using OAuth or login credentials will be blocked." Getting new OAuth credentials now means sending Reddit a manual request. Our guide on how to get a Reddit API key walks through it.

So you have two routes. You can run an open-source server with your own approved Reddit app, or you can point your client at a hosted Reddit MCP server that handles access for you. The rest of this guide sets up the hosted route with ChatterAPI, an independent API not affiliated with Reddit.

Before you start

  1. Sign up with Google and you get a 7-day free trial with 1,000 credits. You don't need a card.
  2. Create a key on the Keys page in the dashboard. Live keys start with ca_live_ and test keys start with ca_test_.
  3. Put it in your shell: export CHATTERAPI_KEY=ca_live_...

Use a test key while you wire things up. Every tool returns a recorded real sample for 0 credits, which lets you confirm the config works before you spend anything. Switch to a live key when you want real results for your own queries.

Four steps: sign up, create a key, add the server URL, then ask about a subreddit.

Install the Reddit MCP server in your client

The server URL is https://api.chatterapi.com/mcp, and it uses the Streamable HTTP transport. The configs below come from the MCP server page, and we checked each one against that client's docs on 2026-10-14.

Claude Code

Run this once in your terminal:

claude mcp add --transport http chatterapi https://api.chatterapi.com/mcp \
  --header "Authorization: Bearer $CHATTERAPI_KEY"

To check it, run claude mcp list. chatterapi should show as connected. That is all the claude reddit mcp setup takes.

Claude Desktop

Open Settings, then Developer, then Edit Config, and add this to claude_desktop_config.json:

{
  "mcpServers": {
    "chatterapi": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://api.chatterapi.com/mcp", "--header", "Authorization:${AUTH_HEADER}"],
      "env": { "AUTH_HEADER": "Bearer YOUR_KEY" }
    }
  }
}

Claude Desktop's config file runs local commands, so this config uses the mcp-remote bridge to send the key header. The bridge needs Node 18 or newer. Quit and reopen Claude Desktop, then open the connectors menu under the message box. chatterapi appears there with its tools.

Cursor

Add this to ~/.cursor/mcp.json to cover all projects, or to .cursor/mcp.json for a single project:

{
  "mcpServers": {
    "chatterapi": {
      "url": "https://api.chatterapi.com/mcp",
      "headers": { "Authorization": "Bearer ${env:CHATTERAPI_KEY}" }
    }
  }
}

${env:CHATTERAPI_KEY} reads the key from your environment. Open MCP in Cursor Settings and you'll see a green dot next to the server's tool count.

Codex

Add this to ~/.codex/config.toml:

[mcp_servers.chatterapi]
url = "https://api.chatterapi.com/mcp"
bearer_token_env_var = "CHATTERAPI_KEY"

Run codex mcp list and you should see chatterapi in the list. Configs for Windsurf and VS Code are on the same MCP server page, and the MCP docs cover the protocol details.

What tools your agent gets

On 2026-10-14, tools/list returned 36 tools: 14 Reddit reads, 13 X reads, 4 X actions, 3 cross-platform tools and 2 free account tools. Two more Reddit tools, for 18+ content, appear only once you turn them on in Settings. Each tool is named after its REST id with the dots swapped for underscores, so reddit.search becomes reddit_search.

The Reddit tools you'll call most often:

The server lists 36 tools, 14 of them Reddit reads and 13 X reads.

MCP toolWhat it doesCredits
reddit_searchPosts by keyword, across Reddit or one subreddit2 per page
reddit_search_commentsComments by keyword or author2
reddit_threadA post plus its comments, flat list with parentId3 per page
reddit_subredditSize, rules, moderators, posting settings2
reddit_subreddit_postsHot, new, top, rising feeds2
reddit_communitiesSubreddits for a topic2
reddit_user_statusActive, suspended or not found2
reddit_leadsPosts ranked by buying intent4
chatterapi_accountBalance, plan, rate limit0

Every Reddit tool is read-only. Their annotations carry readOnlyHint: true, and none of them can post, comment or vote. A failed call costs 0 credits. The full list with parameters is in the endpoint docs.

Prompts that work with a Reddit MCP server

The agent decides which tool to call from your prompt, so name the job, the subreddit or the time window. These prompts work well:

  • "Search r/SaaS for posts from the last month about churn, then pull the top two threads and summarize what people blame."
  • "What are the rules in r/SaaS? Can I post a link to my product there?"
  • "Find subreddits where people discuss cold email, and tell me which ones allow self-promotion."
  • "Read this thread and list every tool people recommend, with how many upvotes each recommendation got: https://www.reddit.com/r/CRM/comments/1wdihhj/"
  • "Check my balance first, then search Reddit for 'notion alternative' and stop if it would cost more than 20 credits."

For a longer worked example, see how to find customer pain points on Reddit with Claude.

Real tool results

These are the responses your agent gets back, so you can predict how it will reason with them. All three were recorded with a test key, which returns one real sample per tool at no cost, and trimmed to the useful fields.

Subreddit rules

When you ask "What are the rules in r/SaaS?", the client sends this tools/call:

{ "method": "tools/call", "params": { "name": "reddit_subreddit", "arguments": { "name": "SaaS" } } }
{
  "structuredContent": {
    "data": {
      "name": "SaaS",
      "title": "Software as a Service",
      "subscribers": 820451,
      "createdAt": "2008-07-31T21:06:38.000Z",
      "rules": [
        { "title": "Submission Guidelines", "appliesTo": "all" },
        { "title": "No Vendor Spam on posts or comments",
          "description": "Promotion is allowed occasionally, but accounts focused solely on it will be removed.\n- __Limit:__ Max 1 mention or 3 links can be shared every 60 days ...",
          "appliesTo": "all" }
      ],
      "moderators": [{ "name": "AutoModerator", "since": "2026-04-24T08:36:04.000Z" }],
      "posting": { "submissionType": "any", "restrictPosting": true, "allowImages": true, "allowPolls": false }
    },
    "credits": { "charged": 0, "remaining": 719 }
  }
}

The sample had 11 rules and 9 moderators. On a live key the call costs 2 credits. Make it before an agent drafts anything for a community: the rule above caps promotion at one mention or three links every 60 days.

{ "method": "tools/call", "params": { "name": "reddit_search", "arguments": { "q": "best crm for small business", "time": "year" } } }
{
  "structuredContent": {
    "data": [
      {
        "id": "1wdihhj",
        "title": "What CRM should a small business use?",
        "author": "NotedWhisky",
        "subreddit": "CRM",
        "score": 51,
        "numComments": 186,
        "createdAt": "2026-09-11T14:52:16.000Z",
        "url": "https://www.reddit.com/r/CRM/comments/1wdihhj/what_crm_should_a_small_business_use/"
      }
    ],
    "page": { "nextCursor": "AX-vad04…", "hasMore": true },
    "credits": { "charged": 0, "remaining": 719 }
  }
}

A page holds up to 25 posts and costs 2 credits on a live key. For more, the agent passes page.nextCursor back as cursor.

A thread with comments

{ "method": "tools/call", "params": { "name": "reddit_thread", "arguments": { "id": "1wdihhj" } } }
{
  "structuredContent": {
    "data": {
      "post": { "id": "1wdihhj", "title": "What CRM should a small business use?", "score": 52, "upvoteRatio": 0.96 },
      "comments": [
        {
          "id": "p9636y0",
          "parentId": null,
          "author": "OstrichSome3412",
          "body": "Just a FYI, don’t buy for the company you imagine having in 5 years. Buy for the next 12 or 18 months and make sure exporting your data isn’t painful if you eventually need something heavier.",
          "score": 6
        }
      ],
      "reportedCommentCount": 186
    },
    "page": { "nextCursor": null, "hasMore": false },
    "credits": { "charged": 0, "remaining": 719 }
  }
}

The sample returned 101 comments, while Reddit reported 186 for the thread. That gap is normal, since no thread API loads every comment on a large thread. Tell your agent to compare comments.length with reportedCommentCount before it claims "everyone in the thread said". A live key charges 3 credits per page.

Keep your agent's spending in check

Agents loop, so give them a budget.

  • Every result ends with credits.charged and credits.remaining. The server's instructions tell the agent to check remaining before a long loop.
  • chatterapi_account is free. Have the agent call it first and stop once the balance drops below a number you pick.
  • Pass a small limit. Each page is charged once, and short pages keep the agent's context clean.
  • When the balance runs out, the tool result says so, and the agent is told to stop and tell you rather than retry.
  • MCP and REST share one balance and the same prices, so a script and an agent can use the same key.

Troubleshooting

SymptomFix
401 invalid_key or missing_keyThe header is missing or the key is wrong. Keys start with ca_live_ or ca_test_.
Tools don't appearRestart the client after editing the config and check the JSON is valid. Then check curl -I https://api.chatterapi.com/mcp answers.
Client has no place for headersUse the mcp-remote bridge from the Claude Desktop config.
402 insufficient_creditsThe balance is empty. Top up or upgrade on the Billing page.
Every result looks the sameYou're on a test key, which returns one recorded sample per tool. Switch to a live key.
npx failsInstall Node 18 or newer.

Open-source Reddit MCP servers on GitHub, and what each needs

We read two READMEs on 2026-11-01. We couldn't read Google's US results for "reddit mcp server" that day, so we didn't check which repos rank. The two below are not a ranking. They are the servers this guide already points to.

ServerCredentialsFacts from its README (2026-11-01)
Reddit MCP BuddyOptionalThree modes. Anonymous mode needs no credentials, is capped at 10 requests a minute and uses Reddit's public RSS feeds. App-only mode (client ID and secret) allows 60 a minute, and authenticated mode 100. The README says those are local caps, not Reddit quotas. MIT licence. Five read tools, with posting tools behind an opt-in setting.
jordanburke/reddit-mcp-serverOptional for reads, required for writesThe README says most read tools also work without credentials, with limits listed per tool. Full tool access needs a Reddit client ID and secret. The 8 write tools (post, reply, edit, delete, save) also need your Reddit username and password.

Both can answer some read-only questions with no Reddit credentials, but only in a reduced keyless mode. Per its README, Reddit MCP Buddy's anonymous mode returns no scores or comment counts. Full reads and any posting need your own Reddit credentials. Reddit has said its RSS feeds end on November 13, 2026, so check whether a keyless mode still works after that date.

When an open-source Reddit MCP server is the better pick

A hosted server isn't always the right choice. If you already have an approved Reddit app, an open-source server like Reddit MCP Buddy or jordanburke's reddit-mcp-server costs nothing beyond your time, and your data goes straight from Reddit to your machine. If your agent needs to post or reply, you need a server with write tools, such as jordanburke's, because ChatterAPI's Reddit tools are read-only. One team in r/mcp read the source of 13 existing Reddit servers before building their own and counted "97 tools. 74 read (search, fetch, summarize), 16 write (post, comment, edit, delete), 7 other" (thread).

Go hosted when you can't get Reddit credentials, when you want Reddit and X on one key, or when your team uses several clients and would rather paste one URL than run a local process on every machine. Either way, read Reddit's terms for your use case. Reddit is also tightening public access through 2027. Our Reddit API shutdown timeline has the dates, and why AI can't read Reddit and X covers the background.

Try it

ChatterAPI gives your code and your agents Reddit and X data through one key, over REST or MCP, with no developer account application. Sign up with Google for a 7-day free trial with 1,000 credits, which is about 500 Reddit searches. Paste the config for your client, restart it, and ask it about a subreddit you follow. Plans start at $19 a month for 35,000 credits.

FAQ

How do I add a Reddit MCP server to Claude Code?
Run claude mcp add --transport http chatterapi https://api.chatterapi.com/mcp --header "Authorization: Bearer $CHATTERAPI_KEY", then run claude mcp list to confirm it's connected. Ask Claude to search a subreddit and it calls the reddit_search tool.
Does a Reddit MCP server need Reddit API keys?
Open-source Reddit MCP servers that call Reddit directly need your own Reddit OAuth credentials, because Reddit blocks unauthenticated API traffic. A hosted server like ChatterAPI uses its own access, so you only need a ChatterAPI key.
Can a Reddit MCP server post to Reddit?
Some open-source servers can, using your Reddit username and password. ChatterAPI's Reddit tools are read-only by design, so your agent can search and read but never post, comment or vote.
Is the Reddit MCP server free?
ChatterAPI gives a 7-day free trial with 1,000 credits, and a Reddit search costs 2 credits, so that's about 500 searches. Test keys return recorded samples for free while you set things up. Paid plans start at $19 a month for 35,000 credits.
Which AI apps work with a Reddit MCP server?
Any MCP client. ChatterAPI documents setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf and VS Code. Clients that only speak stdio can connect through the mcp-remote bridge.

More on MCP and AI agents

Try it free for 7 days.

1,000 credits to make your first calls. One key for Reddit and X, over REST or MCP.