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-answers-mcp

v1.0.3

Published

Browserless MCP server for Reddit Answers with plain-HTTP challenge solving and token reuse.

Readme

reddit-answers-mcp

Browserless MCP server for Reddit Answers by Bala Kumar.

It solves Reddit's current web verification flow over plain HTTP, reuses cached cookies and bearer tokens, and exposes Reddit Answers as local MCP tools you can run over stdio or through npx.

Features

  • Browserless Reddit Answers bootstrap over plain HTTP
  • Cached token_v2, bearer token, and cookies across restarts
  • Automatic session refresh before token expiry
  • MCP tools for new queries, follow-ups, session status, and forced refresh
  • Works as a local stdio MCP server and as an npx package

MCP Tools

  • reddit_answers_search
  • reddit_answers_follow_up
  • reddit_answers_session_status
  • reddit_answers_refresh_session

Install

Run directly with npx:

npx reddit-answers-mcp

Install locally:

npm install reddit-answers-mcp

Project MCP Config

Example .mcp.json entry:

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

Example .codex/config.toml entry:

[mcp_servers."reddit-answers"]
command = "npx"
args = ["-y", "reddit-answers-mcp"]

Environment

  • REDDIT_ANSWERS_SESSION_PATH Override the session cache file path.
  • REDDIT_ANSWERS_BOOTSTRAP_URL Override the primary Reddit bootstrap URL.
  • REDDIT_ANSWERS_USER_AGENT Override the browser user agent used for Reddit requests.

Default cache location:

  • macOS: ~/Library/Caches/reddit-answers-mcp/session.json
  • Linux: $XDG_CACHE_HOME/reddit-answers-mcp/session.json
  • Windows: %LOCALAPPDATA%\\reddit-answers-mcp\\session.json

Development

Install dependencies:

npm install

Run tests:

npm test

Run a live smoke test:

npm run smoke -- "best carry-on backpack for business travel"

Run the MCP server locally:

npm start

Publishing

This repo includes:

  • GitHub CI at .github/workflows/ci.yml
  • automated release + npm publish workflow at .github/workflows/publish.yml

Release flow:

  1. Add a repository secret named NPM_TOKEN with an npm automation token.
  2. Push any commit to main or master.
  3. GitHub Actions will: Run npm test. Bump the patch version in package.json and package-lock.json. Commit the new version back to the branch. Create and push a git tag. Publish the package to npm. Create a GitHub release with generated notes.

Once published, the package will be runnable with:

npx reddit-answers-mcp

Notes

This project depends on Reddit's current verification and token flow. If Reddit changes the challenge format or adds stronger anti-bot checks, the bootstrap logic may need updates.

Author

Bala Kumar
[email protected]
https://balakumar.dev