Skip to main content
Glama
jhartum

reddit-research-mcp

by jhartum

reddit-research-mcp

MCP server for compact Reddit research packs.

Tools

  • reddit_url_extract

  • reddit_resolve_subreddits

  • reddit_pack

  • reddit_search

  • reddit_thread

  • reddit_subreddits

  • reddit_trends

Related MCP server: Reddit MCP Server

Auth

Only two env vars are used for Reddit auth:

export REDDIT_SESSION='...'
export REDDIT_TOKEN_V2='...'

How to get them:

  1. Open https://www.reddit.com in a browser and log in.

  2. Open DevTools.

  3. Go to cookies/storage for https://www.reddit.com.

  4. Copy cookie values:

    • reddit_sessionREDDIT_SESSION

    • token_v2REDDIT_TOKEN_V2

Keep these values private.

Install from git

{
  "mcpServers": {
    "reddit-research": {
      "command": "npx",
      "args": [
        "-y",
        "git+https://github.com/jhartum/reddit-research-mcp.git"
      ],
      "env": {
        "REDDIT_SESSION": "${REDDIT_SESSION}",
        "REDDIT_TOKEN_V2": "${REDDIT_TOKEN_V2}"
      }
    }
  }
}

Local build

npm install
npm run build
npm start

Smoke test

node --input-type=module <<'JS'
import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StdioClientTransport } from '@modelcontextprotocol/sdk/client/stdio.js';
const transport = new StdioClientTransport({ command: 'node', args: ['dist/index.js'] });
const client = new Client({ name: 'smoke', version: '0.0.0' });
await client.connect(transport);
console.log((await client.listTools()).tools.map(t => t.name));
console.log(await client.callTool({ name: 'reddit_url_extract', arguments: { url_or_id: 't3_abc123' } }));
await client.close();
JS
F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jhartum/reddit-research-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server