ER

eliasbiondo/reddit-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

167 stars 17 forks 质量 85 趋势 8MIT

eliasbiondo/reddit-mcp-server 是从 https://github.com/eliasbiondo/reddit-mcp-server. 导入的 MCP 服务器候选。

概览

eliasbiondo/reddit-mcp-server 是从 https://github.com/eliasbiondo/reddit-mcp-server. 导入的 MCP 服务器候选。

概述(AI 翻译)

一个模型上下文协议(MCP)服务器 为 AI 助手提供访问 Reddit 数据的权限。建立在 Redd——无需API密钥。

https://github.com/user-attachments/assets/af8ae52c-f9f3-4d04-80d5-4be0dfa61b0f


目录

  1. 特征
  2. 快速入门
  3. 可用工具
  4. 配置
  5. 建筑
  6. 贡献
  7. 许可

1.特色

  • 🔍 搜索 — 搜索整个Reddit或特定子版块内
  • 📰 Subreddit 帖子 — 浏览任何子版块的热门、热门、新帖或上升的帖子
  • 📖 帖子详情 — 通过嵌套评论树获取完整帖子内容
  • 👤 用户活动 — 查看用户近期帖子和评论
  • 📝 用户帖子 — 获取用户提交的帖子

不需要API密钥,不需要认证,也不需要浏览器。只需安装并运行即可。


2.快速入门

2.1.推荐使用 uvx]

运行服务器的最快方法——不需要克隆:

2.2.来源

运行服务器:

2.3.MCP 客户端配置

克劳德桌面

添加你的claude_desktop_config.json:

光标

补充你的.cursor/mcp.json:

来自源(任何MCP客户端)


3.可用工具

|工具 |描述 |关键论点 |

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Reddit MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with access to Reddit data. Built on top of redd. It works without API keys where Reddit allows anonymous access, and can use optional Reddit OAuth credentials where it doesn’t.

https://github.com/user-attachments/assets/af8ae52c-f9f3-4d04-80d5-4be0dfa61b0f


Table of Contents

  1. Features
  2. Quick Start
  3. Available Tools
  4. Configuration
  5. Architecture
  6. Contributing
  7. License

1. Features

  • 🔍 Search — Search all of Reddit or within a specific subreddit
  • 📰 Subreddit Posts — Browse hot, top, new, or rising posts from any subreddit
  • 📖 Post Details — Get full post content with nested comment trees
  • 👤 User Activity — View a user’s recent posts and comments
  • 📝 User Posts — Get a user’s submitted posts

No browser required, and API keys are optional. Reddit now blocks unauthenticated requests from many networks (you’ll see HTTP 403 ... blocked by network security). If that happens to you, add Reddit API credentials.


2. Quick Start

2.1. Using uvx (recommended)

The fastest way to run the server — no clone needed:

# stdio transport (default, for Claude Desktop / Cursor / etc.)
uvx reddit-no-auth-mcp-server

# HTTP transport
uvx reddit-no-auth-mcp-server \
  --transport streamable-http \
  --port 8000

2.2. From source

git clone https://github.com/eliasbiondo/reddit-mcp-server.git
cd reddit-mcp-server
uv sync

Run the server:

# stdio transport (default)
uv run reddit-no-auth-mcp-server

# HTTP transport
uv run reddit-no-auth-mcp-server \
  --transport streamable-http \
  --port 8000

2.3. MCP Client Configuration

Claude Desktop

Add to your claude_desktop_config.json:

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

Cursor

Add to your .cursor/mcp.json:

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

From source (any MCP client)

{
  "mcpServers": {
    "reddit": {
      "command": "uv",
      "args": [
        "--directory", "/path/to/reddit-mcp-server",
        "run", "reddit-no-auth-mcp-server"
      ]
    }
  }
}

3. Available Tools

在 GitHub 查看完整 README

安装

uvx reddit-no-auth-mcp-server
新手?先看 mcpskill.org 教程 →

配置

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