MCP Server Reddit

MCP Server Reddit

Mirror of

MCP-Mirror

研究与数据
访问服务器

README

MCP Server Reddit

smithery badge

A Model Context Protocol server providing access to Reddit public API for LLMs. This server enables LLMs to interact with Reddit's content, including browsing frontpage posts, accessing subreddit information, and reading post comments.

This server uses redditwarp to interact with Reddit's public API and exposes the functionality through MCP protocol.

<a href="https://glama.ai/mcp/servers/4032xr14pu"><img width="380" height="200" src="https://glama.ai/mcp/servers/4032xr14pu/badge" alt="Server Reddit MCP server" /></a>

Video Demo (Click to Watch)

A demo in ClaudeMind 👇

MCP Server Reddit - ClaudeMind

Available Tools

  • get_frontpage_posts - Get hot posts from Reddit frontpage

    • Optional arguments:
      • limit (integer): Number of posts to return (default: 10, range: 1-100)
  • get_subreddit_info - Get information about a subreddit

    • Required arguments:
      • subreddit_name (string): Name of the subreddit (e.g. 'Python', 'news')
  • get_subreddit_hot_posts - Get hot posts from a specific subreddit

    • Required arguments:
      • subreddit_name (string): Name of the subreddit (e.g. 'Python', 'news')
    • Optional arguments:
      • limit (integer): Number of posts to return (default: 10, range: 1-100)
  • get_subreddit_new_posts - Get new posts from a specific subreddit

    • Required arguments:
      • subreddit_name (string): Name of the subreddit (e.g. 'Python', 'news')
    • Optional arguments:
      • limit (integer): Number of posts to return (default: 10, range: 1-100)
  • get_subreddit_top_posts - Get top posts from a specific subreddit

    • Required arguments:
      • subreddit_name (string): Name of the subreddit (e.g. 'Python', 'news')
    • Optional arguments:
      • limit (integer): Number of posts to return (default: 10, range: 1-100)
      • time (string): Time filter for top posts (default: '', options: 'hour', 'day', 'week', 'month', 'year', 'all')
  • get_subreddit_rising_posts - Get rising posts from a specific subreddit

    • Required arguments:
      • subreddit_name (string): Name of the subreddit (e.g. 'Python', 'news')
    • Optional arguments:
      • limit (integer): Number of posts to return (default: 10, range: 1-100)
  • get_post_content - Get detailed content of a specific post

    • Required arguments:
      • post_id (string): ID of the post
    • Optional arguments:
      • comment_limit (integer): Number of top-level comments to return (default: 10, range: 1-100)
      • comment_depth (integer): Maximum depth of comment tree (default: 3, range: 1-10)
  • get_post_comments - Get comments from a post

    • Required arguments:
      • post_id (string): ID of the post
    • Optional arguments:
      • limit (integer): Number of comments to return (default: 10, range: 1-100)

Installation

Using ClaudeMind (recommended)

The easiest way to use MCP Server Reddit is through the ClaudeMind desktop app. Simply download and install ClaudeMind, then:

  1. Open the ClaudeMind app
  2. Navigate to the Servers page
  3. Find mcp-server-reddit and click Install

That's it! No technical knowledge required - ClaudeMind handles all the installation and configuration for you seamlessly.

Using uv (recommended)

When using uv no specific installation is needed. We will use uvx to directly run mcp-server-reddit.

Using PIP

Alternatively you can install mcp-server-reddit via pip:

pip install mcp-server-reddit

After installation, you can run it as a script using:

python -m mcp_server_reddit

Installing via Smithery

To install MCP Server Reddit for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @Hawstein/mcp-server-reddit --client claude

Configuration

Configure for Claude.app

Add to your Claude settings:

<details> <summary>Using uvx</summary>

"mcpServers": {
  "reddit": {
    "command": "uvx",
    "args": ["mcp-server-reddit"]
  }
}

</details>

<details> <summary>Using pip installation</summary>

"mcpServers": {
  "reddit": {
    "command": "python",
    "args": ["-m", "mcp_server_reddit"]
  }
}

</details>

Configure for Zed

Add to your Zed settings.json:

<details> <summary>Using uvx</summary>

"context_servers": [
  "mcp-server-reddit": {
    "command": "uvx",
    "args": ["mcp-server-reddit"]
  }
],

</details>

<details> <summary>Using pip installation</summary>

"context_servers": {
  "mcp-server-reddit": {
    "command": "python",
    "args": ["-m", "mcp_server_reddit"]
  }
},

</details>

Examples of Questions

  • "What are the current hot posts on Reddit's frontpage?" (get_frontpage_posts)
  • "Tell me about the r/ClaudeAI subreddit" (get_subreddit_info)
  • "What are the hot posts in the r/ClaudeAI subreddit?" (get_subreddit_hot_posts)
  • "Show me the newest posts from r/ClaudeAI" (get_subreddit_new_posts)
  • "What are the top posts of all time in r/ClaudeAI?" (get_subreddit_top_posts)
  • "What posts are trending in r/ClaudeAI right now?" (get_subreddit_rising_posts)
  • "Get the full content and comments of this Reddit post: [post_url]" (get_post_content)
  • "Summarize the comments on this Reddit post: [post_url]" (get_post_comments)

Debugging

You can use the MCP inspector to debug the server. For uvx installations:

npx @modelcontextprotocol/inspector uvx mcp-server-reddit

Or if you've installed the package in a specific directory or are developing on it:

cd path/to/mcp_server_reddit
npx @modelcontextprotocol/inspector uv run mcp-server-reddit

License

mcp-server-reddit is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

推荐服务器

Crypto Price & Market Analysis MCP Server

Crypto Price & Market Analysis MCP Server

一个模型上下文协议 (MCP) 服务器,它使用 CoinCap API 提供全面的加密货币分析。该服务器通过一个易于使用的界面提供实时价格数据、市场分析和历史趋势。 (Alternative, slightly more formal and technical translation): 一个模型上下文协议 (MCP) 服务器,利用 CoinCap API 提供全面的加密货币分析服务。该服务器通过用户友好的界面,提供实时价格数据、市场分析以及历史趋势数据。

精选
TypeScript
MCP PubMed Search

MCP PubMed Search

用于搜索 PubMed 的服务器(PubMed 是一个免费的在线数据库,用户可以在其中搜索生物医学和生命科学文献)。 我是在 MCP 发布当天创建的,但当时正在度假。 我看到有人在您的数据库中发布了类似的服务器,但还是决定发布我的。

精选
Python
mixpanel

mixpanel

连接到您的 Mixpanel 数据。从 Mixpanel 分析查询事件、留存和漏斗数据。

精选
TypeScript
Sequential Thinking MCP Server

Sequential Thinking MCP Server

这个服务器通过将复杂问题分解为顺序步骤来促进结构化的问题解决,支持修订,并通过完整的 MCP 集成来实现多条解决方案路径。

精选
Python
Nefino MCP Server

Nefino MCP Server

为大型语言模型提供访问德国可再生能源项目新闻和信息的能力,允许按地点、主题(太阳能、风能、氢能)和日期范围进行筛选。

官方
Python
Vectorize

Vectorize

将 MCP 服务器向量化以实现高级检索、私有深度研究、Anything-to-Markdown 文件提取和文本分块。

官方
JavaScript
Research MCP Server

Research MCP Server

这个服务器用作 MCP 服务器,与 Notion 交互以检索和创建调查数据,并与 Claude Desktop Client 集成以进行和审查调查。

本地
Python
Cryo MCP Server

Cryo MCP Server

一个API服务器,实现了模型补全协议(MCP),用于Cryo区块链数据提取。它允许用户通过任何兼容MCP的客户端查询以太坊区块链数据。

本地
Python
Substack Reader

Substack Reader

允许从 Adam Mancini 在 Substack 上的 Trade Companion 获取和阅读仅限订阅者内容,使 Claude 能够访问和讨论最新的金融交易文章。

本地
Python
mcp-solver

mcp-solver

一个模型上下文协议(MCP)服务器,它向大型语言模型公开 MiniZinc 约束求解能力。

本地
Python