SuperAPI AI Directory

reddit-mcp-buddy

Browse Reddit posts, search content and analyze user activity.

Open website

About this tool

Reddit MCP Buddy is a Model Context Protocol (MCP) server used to let Claude Desktop and other AI assistants browse Reddit, search posts, and analyze user activity. It is described as a clean, fast, and genuinely usable tool: browse subreddits without an API key; after adding free Reddit credentials, you can search, view comments, analyze users, and get full metrics.

Main capabilities

  • Browse subreddits: Use the browse_subreddit tool to browse posts in any subreddit by sorting option. Without credentials, results come from Reddit's public RSS feed (data_source: "rss"), score, num_comments, upvote_ratio, and nsfw return null, and the include_nsfw filter cannot be applied. After adding credentials, full data can be retrieved via the API.
  • Search content: Search across Reddit or within a specific subreddit.
  • Get post details: get_post_details can retrieve a post and all its comments.
  • Analyze users: Analyze a Reddit user's profile, including history, karma, and activity.
  • Explain terminology: Provide explanations of Reddit terminology (offline feature).

How to use

  • Quick start: For Claude Desktop, you can download the prebuilt extension reddit-mcp-buddy.mcpb and open it to install; or use the NPM method by adding configuration in claude_desktop_config.json; for Claude Code, run the command to add the MCP server (user scope); other MCP clients can use npx -y reddit-mcp-buddy.
  • Authentication (optional): If you need more requests, you can add Reddit credentials. The steps include visiting https://www.reddit.com/prefs/apps,创建应用(名称任意,应用类型选择 "script" to get 100 rpm, fill in the redirect URI with http://localhost:8080),获取 Client ID and Client Secret, then update the Claude Desktop configuration.
  • Three-tier authentication system: Anonymous mode (default, no setup required, only browse_subreddit and offline reddit_explain are available, results come from RSS, metrics are null); app-only mode (uses OAuth2 client credentials grant, supports script and web apps, 60 rpm); authenticated mode (uses OAuth2 password grant, requires the script app type, 100 rpm). Note: script apps support both app-only (60 rpm) and authenticated (100 rpm) modes; web apps support only app-only mode (up to 60 rpm); to reach 100 requests/minute, you must use a script app and provide a username and password.
  • Testing and development: Provides a rate limit testing tool that can start a local server instance, make rapid requests, show a progress bar, confirm the authentication tier, and show when throttling occurs. Interactive authentication setup is for local testing only and does not apply to Claude Desktop. HTTP mode can be used for terminal testing, while the default stdio mode is used for Claude Desktop.

Use cases

  • Let AI assistants answer questions such as "What are today's top posts about GPT-4?", "What are the trends in tech?", "How do people view this article?", "Analyze the user DeepFuckingValue", "Get the comments for this Reddit post", and "What is trending across all of Reddit?".
  • Suitable for AI workflows that need real-time Reddit data, user sentiment analysis, or community trend monitoring.

Limitations and notes

  • In anonymous mode, Reddit blocks the unauthenticated JSON API, browsing results come from public RSS feeds, and engagement metrics and the NSFW flag are null; tools such as search, comments, and user analysis require credentials.
  • Anonymous requests are affected by Reddit's own stricter per-IP RSS rate limiting (usually one uncached request every 25-60 seconds), which a 15-minute cache and automatic retries can mitigate, but sustained anonymous browsing is actually slower than 10 requests/minute.
  • Rate limits: without authentication, the server is capped at 10 requests/minute; with app-only credentials, 60 requests/minute; with full authentication, 100 requests/minute.
  • Privacy and data handling: does notCollects, stores, or transmits analytics, telemetry, or usage data; all data flows between the local machine, the Reddit API, and the AI assistant; authentication credentials are optional, and when set using the --auth CLI, they are stored locally in ~/.reddit-mcp-buddy/auth.json; passwords are not written to disk and are used only for in-memory OAuth token exchange; environment variables (recommended for Claude Desktop) are not persisted by the server. Cached data is stored temporarily in memory, up to a maximum of 50MB, and is cleared when the server stops; it can be disabled with REDDIT_BUDDY_NO_CACHE=true. All tools are read-only and will not post, comment, or modify any Reddit content.
  • Technical details: requires Node.js >= 18.0.0 and uses TypeScript 5.5+. The intelligent caching system features memory safety (hard limit 50MB), content-based TTL (post details 10 minutes, user profiles 15 minutes, search results 10 minutes; subreddit lists use mode defaults: anonymous 15 minutes, with credentials 5 minutes), LRU eviction, and hit tracking.
  • Environment variables: HTTP mode has no authentication, binds to localhost, and rejects non-loopback Host headers; setting REDDIT_BUDDY_HOST=0.0.0.0 exposes it to the entire network, so use it only on trusted networks (such as inside Docker); non-loopback bindings disable the Host check by default, and can be restricted via REDDIT_BUDDY_ALLOWED_HOSTS; browser requests are rejected unless the origin is listed in REDDIT_BUDDY_ALLOWED_ORIGINS; non-browser clients such as Postman are unaffected.
  • Troubleshooting: if you cannot reach 100 requests/minute, make sure the app type is "script" rather than "web" or "installed"; script apps can only authenticate with the same account that created them; you can run npm run test:rate-limit:auth to verify (requires cloning the repository); if it still fails, create a new script app while logged in to the authenticated account. If browsing works but search/comment/user analysis fails, you need to add Reddit credentials. For rate limit errors, unauthenticated is 10 requests/minute, app-only credentials is 60 requests/minute, and full authentication is 100 requests/minute. Subreddit not foundcheck the spelling when this happens; some subreddits may be private or quarantined; you can try "all" or "popular". For connection issues, check Reddit status, your firewall, or restart the MCP server.
  • The project is open source, MIT licensed, and the source code is available at https://github.com/karanb192/reddit-mcp-buddy for security auditing.