Skip to main content
Glama

reddit-mcp

A Model Context Protocol (MCP) server that lets LLMs fetch and read content from Reddit. Give Claude the ability to browse posts, comments, and subreddit listings.

Features

  • Post pages — fetches title, body, metadata, and threaded comments

  • Subreddit listings — retrieves post listings from any subreddit

  • User pages — browses a user's post history

  • Short links — automatically expands redd.it URLs

  • Safety built-in — untrusted content disclaimer, text truncation, timeout protection, rate limit handling

Related MCP server: Reddit MCP Server

Requirements

  • Node.js 22+

Installation

git clone https://github.com/quzma/reddit-mcp.git
cd reddit-mcp
npm install
npm run build

Usage

Claude Desktop

Add to your Claude Desktop MCP config (claude_desktop_config.json):

{
  "mcpServers": {
    "reddit": {
      "command": "node",
      "args": ["/absolute/path/to/reddit-mcp/dist/index.js"]
    }
  }
}

Claude Code

Add to your Claude Code MCP settings:

claude mcp add reddit -- node /absolute/path/to/reddit-mcp/dist/index.js

Development

npm run dev

Tool

fetch_reddit

Fetch content from a Reddit URL.

Parameter

Type

Required

Description

url

string

Yes

Reddit URL (post, subreddit, or user page)

comment_limit

number

No

Max top-level comments to include (0-50, default 15)

Supported URL formats:

  • https://reddit.com/r/subreddit/comments/id/title/

  • https://reddit.com/r/subreddit/

  • https://reddit.com/user/username/

  • https://redd.it/id

  • Old/new/www Reddit URL variants

How It Works

Uses Reddit's public JSON API — no API keys or OAuth needed. The server communicates over stdio using the MCP protocol, so it works as a local tool for any MCP-compatible client.

Content safety measures:

  • All output is prefixed with an untrusted-content disclaimer

  • Post/comment text truncated at 20,000 characters

  • Comment nesting limited to 2 levels, 5 replies per comment

  • 15-second request timeout

  • Rate limit (429) and forbidden (403) error handling

License

MIT — see LICENSE

Available Tools

1 tool
fetch_redditA

Fetch content from a Reddit URL. Supports post pages (title, body, top comments), subreddit listings, and user pages.

Inputs: url (required), comment_limit.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool in the set, there is no possibility of selecting the wrong tool. The single tool's parameterization (post, subreddit, user) is handled inside one entry point rather than through competing tools.

    Naming Consistency5/5

    fetch_reddit follows a clear snake_case verb_noun convention that matches the server's purpose. There are no competing names to be inconsistent with.

    Tool Count2/5

    A single tool is very thin for a server intended to surface Reddit content across posts, subreddits, and users. Search, listing, and pagination behaviors are all crammed into one opaque entry point rather than being scoped tools.

    Completeness3/5

    Reading post bodies, comments, subreddit listings, and user pages is covered, but there is no search-by-query, no pagination/sort controls, and no way to traverse beyond what a single URL yields. For a read-only Reddit surface this is usable but notably gappy.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A read-only MCP server that connects to the Reddit Data API to search posts, browse subreddits, read comments, view user profiles, and check trending content through the Model Context Protocol.
      16 npm
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides read-only access to Reddit through 8 tools for searching, browsing, and retrieving posts, comments, and user data, compatible with any MCP client.
      MIT
    • F
      license
      A
      quality
      Not graded
      maintenance
      Enables MCP clients to scan, search, and read Reddit posts and comments using Reddit's public JSON endpoints, with no API credentials required.
      5
      -