redditapis-mcp 0.15.0 → 0.16.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 +2 -1
- package/package.json +3 -3
- package/src/annotations.js +1 -0
- package/src/tools.js +22 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.16.0 (2026-11-04)
|
|
4
|
+
|
|
5
|
+
### Reddit ads library search
|
|
6
|
+
|
|
7
|
+
One new tool.
|
|
8
|
+
|
|
9
|
+
- `reddit_ads_search` (`GET /api/reddit/ads/search`): search the promoted posts advertisers run on Reddit. Each ad carries its advertiser, title, landing page, call to action, media, every subreddit it appeared in, first and last seen dates and sightings. Reddit's own house ads are excluded. Optional filters: `q` (title or advertiser text, up to 200 characters), `advertiser` (a `u/` prefix is stripped), `domain` (landing page hostname), `subreddit` (an `r/` prefix is stripped), `campaign_id`, `since` (ads last seen on or after it) and `until` (ads first seen on or before it), with `limit` 1 to 100 (default 25). Newest first; pass the previous response's `after` as `cursor` for the next page. Returns `{ ads, count, after, has_more }`. Billed at the read rate, the same as `reddit_search`.
|
|
10
|
+
|
|
11
|
+
60 tools, 33 of them Reddit reads.
|
|
12
|
+
|
|
3
13
|
## 0.15.0 (2026-10-25)
|
|
4
14
|
|
|
5
15
|
### Post flairs, and posts and comments scheduled for later
|
package/README.md
CHANGED
|
@@ -104,7 +104,7 @@ Authentication is a Bearer token: the server sends `Authorization: Bearer <REDDI
|
|
|
104
104
|
|
|
105
105
|
## Tools
|
|
106
106
|
|
|
107
|
-
|
|
107
|
+
60 tools and 3 playbook resources: 33 Reddit reads, 10 Reddit account tools (connect, status, disconnect, comment, submit, vote, DM, and schedule, list or cancel a post or comment for later), 10 monitor/webhook management tools, `reddit_set_watch` (one call that stands up a whole watch), `reddit_explain` (where the rows you are holding came from), 3 feedback tools, and 2 account tools (`reddit_account_me`, which is also where the credit balance lives, and `reddit_account_payments`, the top-up history). Reddit writes (commenting, posting, voting, DMs) act as YOUR Reddit account and only after you connect it with `reddit_connect`; each is marked as a write so your client asks before it runs. Monitor/webhook tools configure your OWN redditapis.com account (an alerting subscription), never Reddit itself, and the feedback tools send a report to the redditapis.com team, never to Reddit. Every read works with just your API key; the 6 monitor/webhook writes additionally need an active monitoring plan (see Monitoring below). The feedback tools are free and need only your key.
|
|
108
108
|
|
|
109
109
|
A few conventions across the catalog:
|
|
110
110
|
|
|
@@ -123,6 +123,7 @@ A few conventions across the catalog:
|
|
|
123
123
|
| `reddit_search_media` | `GET /api/reddit/search/media` | Search posts filtered to media, narrowed by `kind` (`image`, `video`, `gif`, `all`). |
|
|
124
124
|
| `reddit_search_communities` | `GET /api/reddit/search/communities` | Find subreddits by name or topic (title, subscribers, description, NSFW flag). |
|
|
125
125
|
| `reddit_search_users` | `GET /api/reddit/search/users` | Find redditors by name or keyword (username, karma, account age). |
|
|
126
|
+
| `reddit_ads_search` | `GET /api/reddit/ads/search` | Search the Reddit ads library: promoted posts with advertiser, title, landing page, call to action, media, every subreddit each ad appeared in, first and last seen dates and sightings. Filter by `q`, `advertiser`, `domain`, `subreddit`, `campaign_id`, `since` and `until`. Reddit's own house ads are excluded. Newest first; page with `cursor` (the previous response's `after`). Returns `ads`, `count`, `after` and `has_more`. Billed at the read rate, the same as `reddit_search`. |
|
|
126
127
|
|
|
127
128
|
### Subreddits
|
|
128
129
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "redditapis-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
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
|
|
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": {
|
|
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",
|
|
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",
|
|
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/annotations.js
CHANGED
|
@@ -42,6 +42,7 @@ export const TOOL_ANNOTATIONS = {
|
|
|
42
42
|
reddit_deep_comment_search: { title: "Deep Comment Search", ...READ_REDDIT },
|
|
43
43
|
reddit_search_media: { title: "Search Media Posts", ...READ_REDDIT },
|
|
44
44
|
reddit_search_users: { title: "Search Users", ...READ_REDDIT },
|
|
45
|
+
reddit_ads_search: { title: "Search Reddit Ads", ...READ_REDDIT },
|
|
45
46
|
reddit_subreddit_top: { title: "Top Subreddit Posts", ...READ_REDDIT },
|
|
46
47
|
reddit_post: { title: "Get Post", ...READ_REDDIT },
|
|
47
48
|
reddit_user_profile: { title: "Get User Profile", ...READ_REDDIT },
|
package/src/tools.js
CHANGED
|
@@ -394,6 +394,28 @@ export const TOOLS = [
|
|
|
394
394
|
"Searches for Reddit users (redditors) by name or keyword. Returns matching accounts with username, karma, and account age. Example: q='spez'.",
|
|
395
395
|
shape: { ...QUERY, ...AFTER, ...NSFW, ...LIMIT },
|
|
396
396
|
},
|
|
397
|
+
{
|
|
398
|
+
// The ads library: an index of promoted posts, read at the read rate like
|
|
399
|
+
// reddit_search. Paged with `cursor` (the previous page's `after`), not
|
|
400
|
+
// `after`, because that is the query param the endpoint takes.
|
|
401
|
+
name: "reddit_ads_search",
|
|
402
|
+
path: "/api/reddit/ads/search",
|
|
403
|
+
description:
|
|
404
|
+
"Search the Reddit ads library: promoted posts advertisers run on Reddit, with advertiser, title, landing page, call to action, media, every subreddit each ad appeared in, first and last seen dates and sightings. Reddit's own house ads are excluded. Newest first; page with cursor. Billed at the read rate, the same as a post search.",
|
|
405
|
+
shape: {
|
|
406
|
+
q: z.string().max(200).optional().describe("Text to find in the ad title or the advertiser name, up to 200 characters."),
|
|
407
|
+
advertiser: z.string().optional().describe("Advertiser username. A u/ prefix is stripped."),
|
|
408
|
+
domain: z.string().optional().describe("Landing page hostname, e.g. shop.example.com."),
|
|
409
|
+
subreddit: z.string().optional().describe("Subreddit the ad was seen in. An r/ prefix is stripped."),
|
|
410
|
+
campaign_id: z.string().optional().describe("Reddit campaign id, as returned in an ad's `campaign_id`."),
|
|
411
|
+
since: z.string().optional().describe("ISO 8601 date: only ads last seen on or after it."),
|
|
412
|
+
until: z.string().optional().describe("ISO 8601 date: only ads first seen on or before it."),
|
|
413
|
+
limit: z.number().int().min(1).max(100).optional().describe("Number of ads to return, 1 to 100 (default 25)."),
|
|
414
|
+
cursor: z.string().optional().describe(
|
|
415
|
+
"Pagination cursor: the previous response's `after` value, passed back exactly. A null `after` (has_more false) means there is no next page. Absent on the opening page.",
|
|
416
|
+
),
|
|
417
|
+
},
|
|
418
|
+
},
|
|
397
419
|
{
|
|
398
420
|
name: "reddit_subreddit_top",
|
|
399
421
|
path: "/api/reddit/sub/{name}/top",
|