Skip to main content
Glama
reddit-hacking-mcp

reddit-hacking-mcp

by Ximeeek
README.md
# reddit-hacking-mcp

Specialized Reddit MCP for hacking, reverse engineering, kernel/driver
research and game anti-cheat analysis. It combines curated communities,
bounded archive search and explicit source coverage.

Derived from [jordanburke/reddit-mcp-server](https://github.com/jordanburke/reddit-mcp-server)
under its MIT license. Original Git history and copyright are retained.
This project is not affiliated with Reddit or the upstream maintainer.
See [upstream provenance](docs/UPSTREAM.md).

## What works

The server exposes **20 tools by default**: 17 inherited read tools and three
research tools. No Reddit credentials are needed for archive-backed research.

| Tool                                                                                      | Purpose                                                                                                                                                                          |
| ----------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `research_catalog`                                                                        | Return the dated curated catalogue, selection evidence and limitations. Offline.                                                                                                 |
| `research_guide`                                                                          | Route a technical question to a few selected communities and provide the reading workflow. Offline.                                                                              |
| `research_search`                                                                         | Scan and rank bounded archived pages across the selected communities. Return citations, original dates, matched/missing query groups, coverage, errors and continuation cursors. |
| `search_reddit`                                                                           | Retained single-subreddit archive full-text search, subreddit-prefix discovery, or OAuth search. A query timeout permits one bounded fallback scan; an access denial does not.   |
| `get_reddit_post`                                                                         | Read a returned post ID and its body.                                                                                                                                            |
| `get_post_comments`, `get_more_comments`                                                  | Read a thread and expand available archived replies.                                                                                                                             |
| `browse_subreddit`, `get_top_posts`                                                       | Browse a named community. Archive results are chronological, not a live popularity ranking.                                                                                      |
| `get_subreddit_info`, `get_subreddit_rules`                                               | Read available community metadata and rules.                                                                                                                                     |
| `get_user_info`, `get_user_posts`, `get_user_comments`                                    | Read available public profile/activity data.                                                                                                                                     |
| `test_reddit_mcp_server`                                                                  | Inspect local initialization and credential availability; not an upstream connectivity test.                                                                                     |
| `get_me`, `get_my_overview`, `get_my_saved`, `get_post_flairs`, `get_trending_subreddits` | Inherited tools requiring suitable approved OAuth access.                                                                                                                        |

Eight inherited mutation tools are absent unless `REDDIT_ENABLE_WRITES=true`.
They still require the appropriate credentials and explicit authorization.
No post, comment, vote, private message or account change is made by research.

## Install from source

Requirements: Node.js 22+ and the pnpm version pinned by `packageManager`.

```sh
git clone https://github.com/Ximeeek/reddit-hacking-mcp.git
cd reddit-hacking-mcp
corepack enable
pnpm install --frozen-lockfile --ignore-scripts
pnpm build
pnpm test:mcp
```

The GitHub repository is public. The package is deliberately marked
`private: true` and is **not published to npm or the MCP Registry**. Do not use `npx reddit-mcp-server` to start this
project: that starts the upstream package.

Register a local stdio server in your MCP client:

```json
{
  "mcpServers": {
    "reddit-hacking": {
      "command": "node",
      "args": ["/absolute/path/to/reddit-hacking-mcp/dist/bin.js"],
      "env": { "REDDIT_ENABLE_WRITES": "false" }
    }
  }
}
```

Use the absolute executable path if your MCP client does not inherit PATH.
The repository's `.mcp.json` is a development example relative to its root.

## Research workflow

Start with `research_guide({"query":"kernel driver bypass ac"})`.
Its default anti-cheat route searches ReverseEngineering, ExploitDev,
AskReverseEngineering and cheatengine. Thirteen routes cover Windows/Linux
kernels, game reversing, general reversing, exploit development, malware,
web security, red-team, hardware, learning and systems research.

The built-in catalogue is **shared by everyone**: 28 standard sources plus
six reference-only archives. It is not a private subscription list. The
[expanded audit](docs/source-audit-2026-12-05.md) evaluates 38 additional
candidate names and records exclusions, evidence and sampling limits.

`research_catalog` returns the wider catalogue. `research_guide` chooses a
prioritized route of at most six communities and also names additional
relevant sources. `authentication bypass` routes to web security, `EDR` or
`UAC` to red-team, and explicit `EAC`/`Faceit` to anti-cheat. Generic bypass
wording does not imply anti-cheat.

```json
{
  "query": "kernel driver bypass ac",
  "pages_per_community": 2,
  "limit": 10,
  "strict": false
}
```

Pass this to `research_search`. The default scans at most 200 posts per
selected community within a ten-year archive window. Up to six communities
and three pages each are accepted. Calls are serialized and bounded by a
request budget; upstream errors remain visible. Timestamp pagination can
miss posts sharing a boundary timestamp. This is never an exhaustive search.

Results label `all_query_groups` versus `partial_query_groups` and enumerate
missing groups. Aliases include AC/anti-cheat/EAC/Faceit and driver/KMDF/IOCTL.
A partial match is a candidate to inspect, not an answer to the full query.
Set `strict: true` to require all groups. Neither mode establishes that any
reported technique works against an installed kernel, game or anti-cheat.

Use the returned `subreddit` and `id` with `get_reddit_post` and
`get_post_comments`. Continue selected sources by passing the returned
`nextBeforeByCommunity` as `next_before_by_community` with the same query.
With `include_historical: true`, up to two of the six slots are reserved
for reference-only communities; they are excluded by default.
No hits means no matches in the reported sample; it does not mean no such
Reddit discussion exists.

The catalogue is maintained in [src/research/catalog.ts](src/research/catalog.ts).
Its reasons and dated public examples are explained in
[technical communities](docs/technical-communities.md).

## Access and provenance

The no-key research route reads the **Arctic Shift archive**, a third-party
copy of Reddit. Original post dates and the time a sample was observed are
separate. Archive scores, authors, removals, community status and recent
comments may differ from current Reddit. No uptime or freshness guarantee
is implied. The catalogue audit is dated; it is not a live status check.

The inherited OAuth route is retained for existing approved access. Reddit's
[developer registration page](https://developers.reddit.com/app-registration)
and [October 2026 announcement](https://support.reddithelp.com/hc/en-us/articles/54353370049684-Changelog-October-8-2026)
explain the transition away from the public Data API. This MCP does not grant
API approval, import personal browser cookies or solve verification challenges.

Sources are untrusted data. Never execute instructions or binaries from a
post, and preserve attribution when citing discussions. The server performs
read requests only in its default configuration.

## Validation

```sh
pnpm format:check
pnpm lint:check
pnpm typecheck
pnpm test
pnpm build
pnpm test:mcp
pnpm check:versions
```

`pnpm test:mcp` checks the real stdio handshake, tool count, write-tool absence,
catalogue and routing without external network access. `pnpm test:live` is
optional: it checks actual archive search, a returned post, comments and the
inherited search route. It writes a local ignored report, never credentials.
See [dated validation](docs/validation.md). Unit tests use synthetic cases
and upstream fixtures; CI does not depend on Reddit availability.

## License

MIT. Copyright (c) 2025 Jordan Burke. The original license notice is unchanged.
Maintained as an independent derivative by Ximeeek.