Sign inSign up

mcp/reddit-mcp

Verified Publisher

By mcp

•Updated 11 months ago

This server provides AI agents with tools to fetch, post and search on Reddit.

Image
Machine learning & AI
1

10K+

mcp/reddit-mcp repository overview

⁠Reddit MCP Server

This server provides AI agents with tools to fetch, post and search on Reddit.

What is an MCP Server?⁠

⁠MCP Info

⁠Image Building Info

AttributeDetails
Dockerfilehttps://github.com/KrishnaRandad2023/mcp-reddit/blob/127870e8c6616ea15c9f40eaa6891918c8401906/Dockerfile⁠
Commit127870e8c6616ea15c9f40eaa6891918c8401906
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/reddit-mcp --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceMIT License

⁠Available Tools (6)

Tools provided by this ServerShort Description
fetchPostsFetch hot posts from a subreddit
getCommentsGet comments for a specific Reddit post
getSubredditInfoGet information about a subreddit
postCommentPost a comment on a Reddit post
postToSubredditCreate a new post in a subreddit
searchPostsSearch for posts within a subreddit

⁠Tools Details

⁠Tool: fetchPosts

Fetch hot posts from a subreddit

ParametersTypeDescription
subredditstringName of the subreddit
limitinteger optionalNumber of posts to fetch (1-100)

⁠Tool: getComments

Get comments for a specific Reddit post

ParametersTypeDescription
post_idstringReddit post ID (without 't3_' prefix)

⁠Tool: getSubredditInfo

Get information about a subreddit

ParametersTypeDescription
subredditstringName of the subreddit

⁠Tool: postComment

Post a comment on a Reddit post

ParametersTypeDescription
comment_textstringComment text to post
post_idstringReddit post ID (without 't3_' prefix)

⁠Tool: postToSubreddit

Create a new post in a subreddit

ParametersTypeDescription
subredditstringName of the subreddit
titlestringPost title
contentstring optionalPost content (for text posts)
urlstring optionalURL (for link posts)

⁠Tool: searchPosts

Search for posts within a subreddit

ParametersTypeDescription
querystringSearch query
subredditstringName of the subreddit
limitinteger optionalNumber of results to return (1-100)

⁠Use this MCP Server

{
  "mcpServers": {
    "mcp-reddit": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "USERNAME",
        "-e",
        "REDDIT_CLIENT_ID",
        "-e",
        "REDDIT_CLIENT_SECRET",
        "-e",
        "REDDIT_PASSWORD",
        "mcp/reddit-mcp"
      ],
      "env": {
        "USERNAME": "yourRedditUsername",
        "REDDIT_CLIENT_ID": "<REDDIT_CLIENT_ID>",
        "REDDIT_CLIENT_SECRET": "<REDDIT_CLIENT_SECRET>",
        "REDDIT_PASSWORD": "<REDDIT_PASSWORD>"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?⁠

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:2f957b319…

Size

56.6 MB

Last updated

11 months ago

docker pull mcp/reddit-mcp

This week's pulls

Pulls:

95

Last week