Reddit MCP 服务器

一个通过Model Context Protocol访问Reddit的MCP服务,支持浏览热门/最佳帖子、关键词搜索、查看评论和获取子版块信息,适用于在Claude Desktop等AI客户端中集成Reddit社区内容。

  • by PetrefiedThunder
  • TypeScript
  • 本地部署
  • 更新于
在 GitHub 查看 PetrefiedThunder/mcp-reddit

使用说明

mcp-reddit

Browse subreddits, search posts, read comments — no authentication required.

Free API — No API key required.

Tools

Tool Description
get_hot Get hot posts from a subreddit.
get_top Get top posts from a subreddit.
search Search Reddit posts.
get_comments Get comments on a post.
get_subreddit_info Get subreddit metadata.

Installation

git clone https://github.com/PetrefiedThunder/mcp-reddit.git
cd mcp-reddit
npm install
npm run build

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "reddit": {
      "command": "node",
      "args": ["/path/to/mcp-reddit/dist/index.js"]
    }
  }
}

Usage with npx

npx mcp-reddit

License

Apache-2.0