Skip to main content
Glama

Reddit MCP

by GridfireAI

Reddit MCP

A plug-and-play MCP server to browse, search, and read Reddit.

Demo

Here's a short video showing how to use this in Claude Desktop:

https://github.com/user-attachments/assets/a2e9f2dd-a9ac-453f-acd9-1791380ebdad

Features

  • Detailed parameter validation with pydantic
  • Uses the reliable PRAW library under the hood
  • Built-in rate limiting protection thanks to PRAW

Caveats

  • Only supports read features for now. If you want to use write features, upvote the issue or send a PR! 🙌
  • Tools use tokens. To use this with Claude, you may need to be a Pro user to use many tool calls. Free tier users should be fine with lighter tool usage. Your token usage is your responsibility.

Installation

Prerequisite: Reddit API credentials

Create a developer app in your Reddit account if you don't already have one. This will give you a client_id and client_secret to use in the following steps. If you already have these, you can skip this step.

Claude Desktop

To install into Claude Desktop:

  • Follow the instructions here until the section "Open up the configuration file in any text editor."
  • Add the following to the file depending on your preferred installation method:
"mcpServers": { "reddit": { "command": "uvx", "args": ["reddit-mcp"], "env": { "REDDIT_CLIENT_ID": "<client_id>", "REDDIT_CLIENT_SECRET": "<client_secret>" } } }

Using PIP

First install the package:

pip install reddit-mcp

Then add the following to the configuration file:

"mcpServers": { "reddit": { "command": "python", "args": ["-m", "reddit_mcp"], "env": { "REDDIT_CLIENT_ID": "<client_id>", "REDDIT_CLIENT_SECRET": "<client_secret>" } } }

Others

You can use this server with any MCP client, including agent frameworks (LangChain, LlamaIndex, AutoGen, etc). For an example AutoGen integration, check out the example.

Tools

The tools the server will expose are:

NameDescription
get_commentAccess a comment
get_comments_by_submissionAccess comments of a submission
get_submissionAccess a submission
get_subredditAccess a subreddit by name
search_postsSearch posts in a subreddit
search_subredditsSearch subreddits by name or description

Contributing

Contributions are welcome! See CONTRIBUTING.md for more information.

Acknowledgments

  • PRAW for an amazingly reliable library 💙
Deploy Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

PRAW 라이브러리를 통해 AI 어시스턴트가 Reddit 콘텐츠를 탐색, 검색하고 읽을 수 있도록 하는 플러그 앤 플레이 MCP 서버입니다.

  1. 데모
    1. 특징
      1. 주의사항
        1. 설치
          1. 필수 조건: Reddit API 자격 증명
          2. 클로드 데스크탑
          3. uvx 사용(권장)
          4. PIP 사용
          5. 기타
        2. 도구
          1. 기여하다
            1. 감사의 말

              Related MCP Servers

              • -
                security
                F
                license
                -
                quality
                A specialized MCP server that enables AI agents to interact with Reddit, including reading posts, creating content, and managing subreddit configurations.
                Last updated -
                2
                7
              • -
                security
                F
                license
                -
                quality
                A MCP server that allows AI assistants to interact with the browser, including getting page content as markdown, modifying page styles, and searching browser history.
                Last updated -
                82
              • -
                security
                A
                license
                -
                quality
                A collection of custom MCP servers providing various AI-powered capabilities including web search, YouTube video analysis, GitHub repository analysis, reasoning, code generation/execution, and web crawling.
                Last updated -
                2
                MIT License
              • A
                security
                A
                license
                A
                quality
                An MCP server that enables AI assistants to access and interact with Reddit content through features like user analysis, post retrieval, subreddit statistics, and authenticated posting capabilities.
                Last updated -
                10
                182
                MIT License

              View all related MCP servers

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/GridfireAI/reddit-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server