redditapis-mcp 0.20.1 → 0.20.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.20.3 (2026-11-12)
4
+
5
+ No new tools; description updates.
6
+
7
+ - `reddit_subreddit_about` and `reddit_search_communities` describe the new `weekly_visitors` and `weekly_contributions` fields (the counters Reddit shows in place of the member count). `subscribers` may be null where Reddit does not show it. Needs the API release of 2026-11-12.
8
+ - `reddit_subreddits_popular`, `_new` and `_default` say the weekly fields are null on those lists.
9
+
10
+ ## 0.20.2 (2026-11-10)
11
+
12
+ No new tools; one new input and description fixes.
13
+
14
+ - `reddit_user_comments`: optional boolean `include_parents`. `true` fills `parent_id` on the first 10 comments when the profile page serves the listing (one extra read per comment inside the call's time budget; a failed read keeps `parent_id` null; `meta.parents_filled` reports the count). Needs the API release of 2026-11-10; before it the API ignores the parameter.
15
+
16
+ - The npm and MCP Registry descriptions now name every tool family, including the Reddit account writes (comment, post, vote, DM, schedule) and feedback, and state the count (61).
17
+ - README: the hosted server at api.redditapis.com/mcp registers 55 of the 61 tools. The 6 it leaves out are the ones that take your own Reddit cookies in a tool argument: `reddit_connect` and the five account readers (`reddit_home_feed`, `reddit_user_upvoted`, `reddit_user_saved`, `reddit_user_hidden`, `reddit_user_gilded`). Those run on the local server only; the hosted tool count is not a stale build.
18
+
3
19
  ## 0.20.1 (2026-11-09)
4
20
 
5
21
  No new tools; one description corrected.
package/README.md CHANGED
@@ -8,7 +8,7 @@ redditapis-mcp is the official MCP server for RedditAPIs, built for developers a
8
8
 
9
9
  Install: `npx -y redditapis-mcp@latest` with `REDDITAPIS_KEY` from https://www.redditapis.com
10
10
 
11
- Hosted, sign in instead of pasting a key (Claude Code): `claude mcp add --transport http reddit https://api.redditapis.com/mcp` (carries every tool except the 5 that read your own account)
11
+ Hosted, sign in instead of pasting a key (Claude Code): `claude mcp add --transport http reddit https://api.redditapis.com/mcp` (carries every tool except the 6 that take your own Reddit cookies: reddit_connect and the five account readers)
12
12
 
13
13
  Website: https://www.redditapis.com/mcp
14
14
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "redditapis-mcp",
3
- "version": "0.20.1",
3
+ "version": "0.20.3",
4
4
  "mcpName": "io.github.redditapis/redditapis-mcp",
5
- "description": "Official MCP server for redditapis.com. Search Reddit posts, comments, communities, users and media; read subreddits, comment trees and profiles; search the Reddit ads library; manage monitors and webhooks. Works with Claude, Cursor and any MCP client.",
5
+ "description": "Reddit API as 61 MCP tools for Claude, Cursor and any MCP client: search, subreddits, posts, comments, users, media, monitors with webhooks, account writes (post, comment, vote, DM) and feedback. Hosted server at api.redditapis.com/mcp.",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "git+https://github.com/redditapis/redditapis-mcp.git"
@@ -31,7 +31,7 @@
31
31
  "scripts": {
32
32
  "start": "node src/index.js",
33
33
  "check": "node --check src/index.js && node --check src/tools.js && node --check src/feedback.js && node --check src/server.js && node --check src/watch.js && node --check src/watch-text.js && node --check src/provenance.js && node --check src/playbooks.js && node --check src/annotations.js",
34
- "test": "node test/tools.test.mjs && node test/watch.test.mjs && node test/watch-invariants.test.mjs && node test/provenance.test.mjs && node test/playbooks.test.mjs && node test/description-compliance.test.mjs && node test/inline-credentials.test.mjs && node test/feedback.test.mjs && node test/index-lasterror.test.mjs && node test/scannable-without-key.test.mjs && node test/per-caller-state.test.mjs && node test/paywall.test.mjs && node test/remote-host.test.mjs && node test/hub-parity.test.mjs && node test/version-parity.test.mjs && node test/readme-opening.test.mjs && node test/annotations.test.mjs && node test/read-price.test.mjs && node test/flairs-schedule.test.mjs && node test/ads-search.test.mjs && node test/format-details.test.mjs",
34
+ "test": "node test/tools.test.mjs && node test/watch.test.mjs && node test/watch-invariants.test.mjs && node test/provenance.test.mjs && node test/playbooks.test.mjs && node test/description-compliance.test.mjs && node test/inline-credentials.test.mjs && node test/feedback.test.mjs && node test/index-lasterror.test.mjs && node test/scannable-without-key.test.mjs && node test/per-caller-state.test.mjs && node test/paywall.test.mjs && node test/remote-host.test.mjs && node test/hub-parity.test.mjs && node test/version-parity.test.mjs && node test/readme-opening.test.mjs && node test/annotations.test.mjs && node test/read-price.test.mjs && node test/flairs-schedule.test.mjs && node test/ads-search.test.mjs && node test/format-details.test.mjs && node test/server-json-limits.test.mjs",
35
35
  "prepublishOnly": "node scripts/prepublish-tenant-check.mjs",
36
36
  "postpublish": "node scripts/postpublish.mjs",
37
37
  "check:registry-drift": "node scripts/registry-drift.mjs",
package/src/tools.js CHANGED
@@ -349,7 +349,7 @@ export const TOOLS = [
349
349
  name: "reddit_search_communities",
350
350
  path: "/api/reddit/search/communities",
351
351
  description:
352
- "Searches for subreddits (communities) by name or topic. Returns matching subreddits with title, subscriber count, description, and NSFW flag. Example: q='machine learning'.",
352
+ "Searches for subreddits (communities) by name or topic. Returns matching subreddits with title, weekly visitors and weekly contributions (Reddit no longer shows signed-out readers a subscriber count, so subscribers may be null), description, and NSFW flag. Example: q='machine learning'.",
353
353
  shape: { ...QUERY, ...AFTER, ...NSFW, ...LIMIT },
354
354
  },
355
355
  {
@@ -489,6 +489,9 @@ export const TOOLS = [
489
489
  ...SORT_USER,
490
490
  ...AFTER,
491
491
  ...LIMIT,
492
+ include_parents: z.boolean().optional().describe(
493
+ "true also fills `parent_id` on the first 10 comments when the page is served from the profile page (which does not carry it), one extra read per comment inside the call's own time budget, so the call answers slower; a comment whose read fails keeps parent_id null, and `meta.parents_filled` says how many were filled. false or omitted (default) returns the page as served.",
494
+ ),
492
495
  },
493
496
  },
494
497
  {
@@ -587,7 +590,7 @@ export const TOOLS = [
587
590
  name: "reddit_subreddit_about",
588
591
  path: "/api/reddit/sub/{name}/about",
589
592
  description:
590
- "Fetches a subreddit's public metadata by name (Reddit's /r/<name>/about data). Returns the subreddit's title, public description, subscriber count, active-user count, creation timestamp, type, and NSFW flag. Example: name='python'.",
593
+ "Fetches a subreddit's public metadata by name (Reddit's /r/<name>/about data). Returns the subreddit's title, public description, weekly visitors, weekly contributions, subscriber count (null when Reddit does not show it), creation timestamp, type, and NSFW flag. Example: name='python'.",
591
594
  shape: {
592
595
  name: z.string().min(1).describe(
593
596
  "Subreddit name WITHOUT the r/ prefix (e.g. 'python'). Required (path parameter).",
@@ -663,21 +666,21 @@ export const TOOLS = [
663
666
  name: "reddit_subreddits_popular",
664
667
  path: "/api/reddit/subreddits/popular",
665
668
  description:
666
- "Browses the most-subscribed, trending subreddits right now, with no keyword. Returns a `subreddits` list (each with name, title, subscriber count, description, type, and NSFW flag) plus an `after` cursor for paging. `include_details=true` fills `created` on up to the first 10 subreddits; otherwise `meta.unavailable_fields` names any field the page left null.",
669
+ "Browses the most-subscribed, trending subreddits right now, with no keyword. Returns a `subreddits` list (each with name, title, subscriber count, description, type, and NSFW flag; weekly_visitors and weekly_contributions are null on these lists (the single-subreddit read carries them)) plus an `after` cursor for paging. `include_details=true` fills `created` on up to the first 10 subreddits; otherwise `meta.unavailable_fields` names any field the page left null.",
667
670
  shape: { ...AFTER, ...LIMIT, ...includeDetails("created") },
668
671
  },
669
672
  {
670
673
  name: "reddit_subreddits_new",
671
674
  path: "/api/reddit/subreddits/new",
672
675
  description:
673
- "Browses the newest subreddits, the communities most recently created, with no keyword. Returns a `subreddits` list (each with name, title, subscriber count, description, type, and NSFW flag) plus an `after` cursor for paging. `include_details=true` fills `created` on up to the first 10 subreddits; otherwise `meta.unavailable_fields` names any field the page left null.",
676
+ "Browses the newest subreddits, the communities most recently created, with no keyword. Returns a `subreddits` list (each with name, title, subscriber count, description, type, and NSFW flag; weekly_visitors and weekly_contributions are null on these lists (the single-subreddit read carries them)) plus an `after` cursor for paging. `include_details=true` fills `created` on up to the first 10 subreddits; otherwise `meta.unavailable_fields` names any field the page left null.",
674
677
  shape: { ...AFTER, ...LIMIT, ...includeDetails("created") },
675
678
  },
676
679
  {
677
680
  name: "reddit_subreddits_default",
678
681
  path: "/api/reddit/subreddits/default",
679
682
  description:
680
- "Browses Reddit's default front-page set of subreddits, with no keyword. Returns a `subreddits` list (each with name, title, subscriber count, description, type, and NSFW flag) plus an `after` cursor for paging. `include_details=true` fills `created` on up to the first 10 subreddits; otherwise `meta.unavailable_fields` names any field the page left null.",
683
+ "Browses Reddit's default front-page set of subreddits, with no keyword. Returns a `subreddits` list (each with name, title, subscriber count, description, type, and NSFW flag; weekly_visitors and weekly_contributions are null on these lists (the single-subreddit read carries them)) plus an `after` cursor for paging. `include_details=true` fills `created` on up to the first 10 subreddits; otherwise `meta.unavailable_fields` names any field the page left null.",
681
684
  shape: { ...AFTER, ...LIMIT, ...includeDetails("created") },
682
685
  },
683
686