Reddit研究代理

一个只读的MCP服务器,用于监控与简历和职业相关的Reddit子论坛,帮助产品研究理解求职者在制作简历时遇到的痛点。

  • by soumyadeep-ux
  • TypeScript
  • 本地部署
  • 1 星标
  • 更新于
在 GitHub 查看 soumyadeep-ux/reddit-research-agent

使用说明

Reddit Research Agent

A read-only MCP (Model Context Protocol) server that wraps Reddit's API for monitoring resume/career subreddits. Used for product research — understanding what pain points job seekers face when building resumes.

Purpose

This tool helps monitor career and resume-related subreddits to understand user needs:

  • Discover trending topics, common questions, and pain points job seekers face
  • Monitor relevant discussions across resume/career subreddits
  • Analyze recurring themes to inform product development

This is a read-only research tool. It does not post, comment, or interact with Reddit content in any way.

How It Works

Claude Code (orchestrator)
  → Reddit MCP Server (this repo — read-only Reddit API wrapper)
  → Supabase (stores research findings for analysis)

Target Subreddits

  • r/resumes — Resume feedback and advice
  • r/jobs, r/careerguidance — Job search discussions
  • r/cscareerquestions — Tech career advice
  • r/recruitinghell — ATS frustrations and job search pain points

MCP Tools (All Read-Only)

Tool Description
search_subreddits Discover relevant subreddits by topic
search_posts Search posts with filters (sort, time range, subreddit)
get_hot_posts Get trending posts from a subreddit
get_new_posts Get latest posts from a subreddit
get_post_details Get a post with its comments
get_subreddit_info Get subreddit rules, description, subscriber count
get_user_history Get a user's recent activity

Tech Stack

  • Runtime: Node.js / TypeScript
  • Protocol: MCP (Model Context Protocol) via @modelcontextprotocol/sdk
  • API: Reddit Data API (OAuth2, read-only scopes)
  • Storage: Supabase (for research findings)

Setup

npm install
cp .env.example .env  # Add your Reddit API credentials
npm run build

Environment Variables

REDDIT_CLIENT_ID=your_client_id
REDDIT_CLIENT_SECRET=your_client_secret
REDDIT_USERNAME=your_reddit_username
REDDIT_PASSWORD=your_reddit_password

Claude Code MCP Configuration

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "reddit": {
      "command": "node",
      "args": ["path/to/reddit-research-agent/dist/index.js"],
      "env": {
        "REDDIT_CLIENT_ID": "...",
        "REDDIT_CLIENT_SECRET": "...",
        "REDDIT_USERNAME": "...",
        "REDDIT_PASSWORD": "..."
      }
    }
  }
}

Reddit API Compliance

  • Read-only access: No posting, commenting, or voting — only search and browse
  • Rate limits: Respects Reddit's 100 requests/minute OAuth limit with built-in throttling
  • User-Agent: Follows Reddit API guidelines (platform:app_id:version (by /u/username))
  • Official API only: No scraping, no workarounds
  • Low volume: Estimated ~50-100 requests/day for periodic research scans
  • No data redistribution: Research findings stored privately, not shared or sold

License

MIT