npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

reddit-connector-mcp

v0.1.0

Published

MCP server for browsing Reddit content — search posts, read comments, and view user profiles via the Model Context Protocol. No API key required.

Readme

reddit-connector-mcp

npm version license

A Model Context Protocol (MCP) server that lets AI assistants browse Reddit. Search posts, read comments, and view user profiles — no API key required.

Features

  • Search Reddit — search across all of Reddit or within a specific subreddit
  • Browse Subreddits — get posts sorted by hot, new, top, or rising
  • Read Comments — fetch full comment threads with nested replies
  • User Profiles — view karma, account age, and recent activity
  • No API Key Required — uses Reddit's public JSON API
  • Dual Output — supports both JSON and Markdown response formats
  • Resilient — automatic retry with exponential backoff on rate limits

Quick Start

Claude Code (CLI)

claude mcp add reddit -- npx -y reddit-connector-mcp

Claude Desktop

Add to your config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "reddit": {
      "command": "npx",
      "args": ["-y", "reddit-connector-mcp"]
    }
  }
}

Cursor / Windsurf / Other MCP Clients

{
  "mcpServers": {
    "reddit": {
      "command": "npx",
      "args": ["-y", "reddit-connector-mcp"]
    }
  }
}

Install Globally (Optional)

npm install -g reddit-connector-mcp

Tools

| Tool | Description | |------|-------------| | reddit_search_posts | Search for posts across Reddit or within a specific subreddit | | reddit_get_subreddit_posts | Get posts from a subreddit sorted by hot, new, top, or rising | | reddit_get_post_comments | Get comments for a specific Reddit post by URL | | reddit_get_user_profile | Get profile information for a Reddit user | | reddit_get_user_posts | Get recent posts and comments by a Reddit user |

All tools support a response_format parameter (json or markdown).

Examples

Search posts:

{ "query": "machine learning", "subreddit": "programming", "limit": 10 }

Get subreddit posts:

{ "subreddit": "science", "sort": "top", "limit": 5 }

Get post comments:

{ "post_url": "https://www.reddit.com/r/programming/comments/abc123/my_post/" }

Get user profile:

{ "username": "spez" }

Get user posts:

{ "username": "spez", "limit": 10 }

How It Works

This server uses Reddit's public .json endpoints (e.g., reddit.com/r/programming.json), which don't require authentication. This means:

  • Zero configuration — no OAuth, no API keys, no Reddit account needed
  • Rate limited — ~60 requests/minute (Reddit's unauthenticated limit)
  • Read-only — browse and search, no posting or voting
  • Automatic retry — exponential backoff on 429/5xx errors (up to 3 retries)
  • Token-efficient — text truncated to minimize token usage (25KB max response)

Development

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

License

MIT