Reddit MCP Server

Reddit MCP Server

Access Reddit content (posts, comments, subreddit info) directly in Claude without API keys.

Category
Visit Server

README

Reddit MCP Server

A Model Context Protocol (MCP) server for accessing Reddit content directly in Claude. No API keys required - works with anonymous Reddit access!

Features

  • Get hot, new, top, and rising posts from any subreddit
  • Fetch subreddit information
  • Get detailed post content with comments
  • Full comment tree traversal
  • Support for all post types (text, links, galleries)

Installation

  1. Ensure you have Python 3.11+ installed
  2. Clone or download this repository
  3. Update your Claude Desktop config at ~/.claude_desktop_config.json:
{
  "mcpServers": {
    "reddit": {
      "command": "uv",
      "args": ["run", "--with-requirements", "requirements.txt", "python3", "/path/to/mcp-reddit/main.py"],
      "cwd": "/path/to/mcp-reddit"
    }
  }
}

Replace /path/to/mcp-reddit with your actual path.

  1. Restart Claude Desktop

That's it! No authentication needed.

Available Tools

get_frontpage_posts

Get hot posts from Reddit's frontpage

  • limit (int, default: 10): Number of posts to fetch

get_subreddit_info

Get information about a subreddit

  • subreddit_name (string, required): Name of the subreddit (e.g., "python")

get_subreddit_hot_posts

Get hot posts from a specific subreddit

  • subreddit_name (string, required): Name of the subreddit
  • limit (int, default: 10): Number of posts

get_subreddit_new_posts

Get newest posts from a subreddit

  • subreddit_name (string, required)
  • limit (int, default: 10)

get_subreddit_top_posts

Get top posts from a subreddit (filtered by time period)

  • subreddit_name (string, required)
  • limit (int, default: 10)
  • time (string, default: ""): hour, day, week, month, year, or all

get_subreddit_rising_posts

Get rising posts from a subreddit

  • subreddit_name (string, required)
  • limit (int, default: 10)

get_post_content

Get detailed content of a specific post with comments

  • post_id (string, required): Reddit post ID
  • comment_limit (int, default: 10): Number of top comments
  • comment_depth (int, default: 3): How deep to traverse comment threads

get_post_comments

Get comments from a post

  • post_id (string, required)
  • limit (int, default: 10)

Usage Examples

Once configured in Claude Desktop, you can ask:

  • "Show me the top 5 posts from r/python"
  • "What are the latest trends in r/learnprogramming"
  • "Get the hot posts from r/news"
  • "Show me rising posts in r/programming"
  • "Give me information about r/AskReddit"

Requirements

  • Python 3.11+
  • mcp (Model Context Protocol)
  • pydantic
  • redditwarp (for Reddit access)

Install via requirements.txt - uv will handle this automatically.

How It Works

This MCP uses redditwarp to access Reddit's public JSON API anonymously. No authentication credentials are needed - it works just like visiting reddit.com in a browser.

Architecture

  • Built with the official MCP framework
  • Uses synchronous (SYNC) client for simplicity
  • Returns structured data via Pydantic models
  • Supports comment tree traversal for detailed discussions

Troubleshooting

"MCP server failed to start"

  • Make sure Python 3.11+ is installed
  • Verify uv is installed: uv --version
  • Check that the path in the config is correct

No posts returned

  • Verify the subreddit name is correct (Reddit subreddits are case-insensitive in the API)
  • Check your internet connection
  • Reddit may have rate limits - wait a moment and try again

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured