redditapis-mcp 0.17.0 → 0.18.0
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 +10 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/tools.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.18.0 (2026-11-07)
|
|
4
|
+
|
|
5
|
+
### Self-post bodies on search, on request
|
|
6
|
+
|
|
7
|
+
No new tools; one tool gains an optional parameter.
|
|
8
|
+
|
|
9
|
+
- `reddit_search`: optional boolean `include_bodies`. `true` reads the self-post bodies (`text`, `is_self`) the search page left null, on up to 25 posts. Default `false`: the page as served, where bodies the free listing fill reached are present and the rest stay null. The description now says so, so a caller can tell a missing body from an empty one.
|
|
10
|
+
|
|
11
|
+
Needs the API release that accepts `include_bodies` on `GET /api/reddit/search` (live since 2026-11-06). test/format-details.test.mjs checks it reaches the query string, and is left out when absent.
|
|
12
|
+
|
|
3
13
|
## 0.17.0 (2026-11-06)
|
|
4
14
|
|
|
5
15
|
### Normalized comment trees, and list details on request
|
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`). |
|
|
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. |
|
|
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`, `gif`, `all`). |
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redditapis-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"mcpName": "io.github.redditapis/redditapis-mcp",
|
|
5
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.",
|
|
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. 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. 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
|
+
include_bodies: z.boolean().optional().describe(
|
|
300
|
+
"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
|
+
),
|
|
299
302
|
},
|
|
300
303
|
},
|
|
301
304
|
{
|