redditapis-mcp 0.20.3 → 0.20.5
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 +14 -0
- package/README.md +2 -2
- package/package.json +1 -1
- package/src/tools.js +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.20.5 (2026-11-19)
|
|
4
|
+
|
|
5
|
+
No new tools; description updates.
|
|
6
|
+
|
|
7
|
+
- `reddit_post_visibility` describes the new response fields `removed` (boolean) and `removal_marker` (string or null). `removed` is true only when Reddit itself marks the post as taken down (removed_by_category), and is the field to alert on. A `not_visible` verdict from listing absence alone is `confident: false` and `removed: false`, not a removal. Needs the API release that returns both fields.
|
|
8
|
+
|
|
9
|
+
## 0.20.4 (2026-11-18)
|
|
10
|
+
|
|
11
|
+
No new tools; one new input.
|
|
12
|
+
|
|
13
|
+
- `reddit_search`: optional `match` (`exact` | `any`). `exact` keeps only posts whose title or body contains `q` as a whole word or phrase, case-insensitive (surrounding quotes on `q` are ignored), for a brand that Reddit's own search splits and matches loosely. It reads the self-post bodies the page left null to test them, so it answers slower, like `include_bodies`. `any` or omitted keeps Reddit's matching unchanged.
|
|
14
|
+
|
|
15
|
+
Needs the API release that accepts `match` on `GET /api/reddit/search`. test/format-details.test.mjs checks it reaches the query string, and is left out when absent.
|
|
16
|
+
|
|
3
17
|
## 0.20.3 (2026-11-12)
|
|
4
18
|
|
|
5
19
|
No new tools; description updates.
|
package/README.md
CHANGED
|
@@ -117,7 +117,7 @@ A few conventions across the catalog:
|
|
|
117
117
|
|
|
118
118
|
| Tool | Endpoint | What it does |
|
|
119
119
|
|---|---|---|
|
|
120
|
-
| `reddit_search` | `GET /api/reddit/search` | Search posts across all of Reddit or within one subreddit (`subreddit`). `include_bodies=true` fills self-post bodies the search page left null, on up to 25 posts. |
|
|
120
|
+
| `reddit_search` | `GET /api/reddit/search` | Search posts across all of Reddit or within one subreddit (`subreddit`). `include_bodies=true` fills self-post bodies the search page left null, on up to 25 posts. `match=exact` keeps only posts whose title or body carries `q` as a whole word or phrase. |
|
|
121
121
|
| `reddit_search_comments` | `GET /api/reddit/search/comments` | Search by comment text; returns the parent posts, since Reddit's comment search does not hand back the matching comment itself. |
|
|
122
122
|
| `reddit_deep_comment_search` | `GET /api/reddit/search/comments/deep` | Genuine comment search: returns the actual matching comment bodies (score, author, comment-deep permalink, parent post). `limit` sets how many parent posts to expand; `group_by="author"` switches to research mode (the distinct people talking about your query). Premium call. |
|
|
123
123
|
| `reddit_search_media` | `GET /api/reddit/search/media` | Search posts filtered to media, narrowed by `kind` (`image`, `video`, `gallery`, `all`; `gif` is kept and means `all`). Most multi-photo posts are galleries. |
|
|
@@ -145,7 +145,7 @@ A few conventions across the catalog:
|
|
|
145
145
|
|
|
146
146
|
| Tool | Endpoint | What it does |
|
|
147
147
|
|---|---|---|
|
|
148
|
-
| `reddit_post_visibility` | `GET /api/reddit/post/{id}/visibility` | Is a post still publicly visible, or did it quietly stop being so? Fetches the post and one page of its author's listing and compares. Returns `live`, `not_visible` or `undecidable` with a reason, and never claims to know WHY. Two upstream calls, $0.004. |
|
|
148
|
+
| `reddit_post_visibility` | `GET /api/reddit/post/{id}/visibility` | Is a post still publicly visible, or did it quietly stop being so? Fetches the post and one page of its author's listing and compares. Returns `live`, `not_visible` or `undecidable` with a reason, plus `removed` (boolean) and `removal_marker` (string or null). Alert on `removed`: it is true only when Reddit itself marks the post as taken down. `not_visible` from listing absence alone is `confident: false`, `removed: false`, not a removal. Beyond Reddit's marker it never claims to know WHY. Two upstream calls, $0.004. |
|
|
149
149
|
| `reddit_post` | `GET /api/reddit/post/{id}` | A single post by its base-36 `id` (no `t3_` prefix): title, author, score, text, permalink, subreddit, url. |
|
|
150
150
|
| `reddit_post_comments` | `GET /api/reddit/comments` | A post plus its full threaded comment tree, fetched by `permalink`. `format: "normalized"` returns flat comments instead of Reddit's raw tree. |
|
|
151
151
|
| `reddit_post_duplicates` | `GET /api/reddit/post/{id}/duplicates` | Every other post that shares this post's link, across subreddits (Reddit's "other discussions"). |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redditapis-mcp",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.5",
|
|
4
4
|
"mcpName": "io.github.redditapis/redditapis-mcp",
|
|
5
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": {
|
package/src/tools.js
CHANGED
|
@@ -273,7 +273,7 @@ export const TOOLS = [
|
|
|
273
273
|
name: "reddit_search",
|
|
274
274
|
path: "/api/reddit/search",
|
|
275
275
|
description:
|
|
276
|
-
"Searches Reddit posts across all of Reddit or within one subreddit. Returns matching posts with author, score, comments, permalink, and an `after` cursor. `subreddit` scopes the search to one community. Optional advanced filters narrow the results by minimum/maximum score, comment count, media type, and post flags, with an optional re-sort of the page. Filters apply to the returned page, so a filtered response carries a `meta` object with page-completeness counts, and the next page comes from `after`. SORT BEHAVIOUR, measured 2026-09-11: `top`, `new` and `comments` order the MATCHING set by score, date or comment count alone, and Reddit matches loosely (image OCR, comments, and the word 'reddit' is in almost every big post), so a generic multi-word query with sort='top' and no subreddit returns the site-wide viral listing, not the topic. Even a distinctive term is ranked by score alone (q='pgvector' sort='top': 1 of 5 results was about pgvector, the rest were large posts that mention it once). Best match then highest score comes from sort='relevance' with a large `limit`, where sort_type='score' re-orders that returned page (it does not reach past the page); a quoted phrase (q='\"rust vs go\"') or a `subreddit` scope also narrows the matching set. Search pages may leave `text` and `is_self` null on older self posts; `include_bodies=true` fills them on up to 25 posts. Example: q='rust vs go' sort='relevance' t='year' limit=100 sort_type='score'.",
|
|
276
|
+
"Searches Reddit posts across all of Reddit or within one subreddit. Returns matching posts with author, score, comments, permalink, and an `after` cursor. `subreddit` scopes the search to one community. Optional advanced filters narrow the results by minimum/maximum score, comment count, media type, and post flags, with an optional re-sort of the page. Filters apply to the returned page, so a filtered response carries a `meta` object with page-completeness counts, and the next page comes from `after`. SORT BEHAVIOUR, measured 2026-09-11: `top`, `new` and `comments` order the MATCHING set by score, date or comment count alone, and Reddit matches loosely (image OCR, comments, and the word 'reddit' is in almost every big post), so a generic multi-word query with sort='top' and no subreddit returns the site-wide viral listing, not the topic. Even a distinctive term is ranked by score alone (q='pgvector' sort='top': 1 of 5 results was about pgvector, the rest were large posts that mention it once). Best match then highest score comes from sort='relevance' with a large `limit`, where sort_type='score' re-orders that returned page (it does not reach past the page); a quoted phrase (q='\"rust vs go\"') or a `subreddit` scope also narrows the matching set. Search pages may leave `text` and `is_self` null on older self posts; `include_bodies=true` fills them on up to 25 posts. match='exact' keeps only posts whose title or body carries `q` as a whole word or phrase (case-insensitive), for a brand Reddit splits loosely (e.g. a CamelCase name). Example: q='rust vs go' sort='relevance' t='year' limit=100 sort_type='score'.",
|
|
277
277
|
shape: {
|
|
278
278
|
...QUERY,
|
|
279
279
|
subreddit: z.string().optional().describe(
|
|
@@ -296,6 +296,9 @@ export const TOOLS = [
|
|
|
296
296
|
spoiler: z.boolean().optional().describe("Filters by the spoiler flag."),
|
|
297
297
|
contest_mode: z.boolean().optional().describe("Filters by the contest_mode flag."),
|
|
298
298
|
sort_type: z.enum(["score", "num_comments", "created"]).optional().describe("Re-sorts the filtered page (descending) by this field. Page-local: it re-orders only the posts this call returned, not the whole result set, so its reach is bounded by `limit`."),
|
|
299
|
+
match: z.enum(["exact", "any"]).optional().describe(
|
|
300
|
+
"exact keeps only posts whose title or body contains `q` as a whole word or phrase, case-insensitive (surrounding quotes on `q` are ignored); it reads the self-post bodies the page left null to test them, so it answers slower, like include_bodies. any or omitted (default) returns Reddit's own loose matching. Applies to the returned page; the response `meta` counts how many were kept.",
|
|
301
|
+
),
|
|
299
302
|
include_bodies: z.boolean().optional().describe(
|
|
300
303
|
"true also reads the self-post bodies (`text`, `is_self`) the search page left null, on up to 25 posts, so the page answers slower. false or omitted (default) returns the page as served: bodies the free listing fill reached are present, the rest stay null; reading the post by id returns its body.",
|
|
301
304
|
),
|
|
@@ -305,7 +308,7 @@ export const TOOLS = [
|
|
|
305
308
|
name: "reddit_post_visibility",
|
|
306
309
|
path: "/api/reddit/post/{id}/visibility",
|
|
307
310
|
description:
|
|
308
|
-
"Is a post still publicly visible, or did it quietly stop being so? A removed Reddit post still returns when fetched by id, so the post alone does not answer this. This fetches the post and then one page of its author's submitted listing and compares them. Returns a verdict of live, not_visible or undecidable, a plain-language reason,
|
|
311
|
+
"Is a post still publicly visible, or did it quietly stop being so? A removed Reddit post still returns when fetched by id, so the post alone does not answer this. This fetches the post and then one page of its author's submitted listing and compares them. Returns a verdict of live, not_visible or undecidable, a plain-language reason, a confident flag, `removed` (boolean) and `removal_marker` (string or null). `removed` is the field to alert on: it is true only when Reddit itself marks the post as taken down, and `removal_marker` then names Reddit's marker (its removed_by_category value). A not_visible verdict from listing absence alone is not confident (confident false, removed false) and is not a removal. Beyond that marker it does not say WHY a post is not visible: a moderator removal, an admin removal, a spam filter and an author who has hidden their history are indistinguishable from outside. undecidable is a real answer, not a failure. When the post resolves but the author listing read fails, the answer is still returned as undecidable with checked.author_listing false and checked.listing_error naming why (upstream_unavailable or upstream_timeout: our read was refused, not billed; listing_unavailable: Reddit answered the listing with 403 or 404, billed). Two upstream calls, billed as one $0.004 dual read.",
|
|
309
312
|
shape: {
|
|
310
313
|
id: z.string().min(1).describe("Reddit post id, base36, with or without the t3_ prefix"),
|
|
311
314
|
},
|