Dsh Reddit Radar 标志

Dsh Reddit Radar

社区
reddapidev

A dsh plugin that periodically scans reddapi.dev for new Reddit leads matching your one-sentence ICP, dedupes what you've already seen, and writes a dated markdown report. Also forwards 6 read-only Reddit search/lookup MCP tools.

发布者reddapidev
代码仓库dsh-reddit-radar
语言TypeScript
复刻数
0
星标数
94
可用工具
0
传输类型stdio
链接
  • 将工具接入 AI 工作流

    Dsh Reddit Radar 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 94 个星标和 0 个复刻。

@reddapi/dsh-reddit-radar

A dsh plugin that periodically scans reddapi.dev for new Reddit leads matching a one-sentence ICP description, drops the ones you've already seen, and writes the new ones to a dated markdown report in your workspace. It also forwards reddapi.dev's six read-only search/lookup MCP tools so the agent can query Reddit on demand between runs.

What it's reading

50K+subreddits tracked
30M+posts indexed
170M+comments indexed
1024Dvector dimensions
5lead types classified

Why this beats a keyword alert

Keyword alerts return thousands of irrelevant mentions and still miss the ones that matter, because people asking for what you sell rarely use your words for it. Nobody writes "I need a Reddit lead-gen tool for B2B SaaS". They write "how do you all find customers without spending on ads".

reddapi.dev matches on meaning, not spelling. Your ICP sentence is embedded into the same 1024-dimensional space as every indexed post, so a post lands in your report when it means the same thing, whether or not a single keyword overlaps. On top of that sits intent scoring: every lead is scored 0-100 on signal strength and auto-tagged with lead type, sentiment and industry, so what reaches your report is the handful of people ready to buy rather than everyone who happened to say a word. The demo set on reddapi.dev's homepage averages a 96% intent score.

That is the whole point of the scheduled scan in this plugin: you write one sentence about who you sell to, and a dated markdown file appears with the people who described that problem this week, in their own words, with a link to reply.

What it does

  • Scheduled lead scan. On a cadence you pick (weekly / daily / hourly / manual), it calls reddapi.dev's /api/v1/leads with your ICP as the query, filters out leads it has already reported, and writes the rest to <outDir>/<date>.md.
  • A manual tool, reddit_radar_run, that runs one pass immediately instead of waiting for the schedule.
  • Six forwarded tools — reddit_semantic_search, reddit_vector_search, reddit_list_subreddits, reddit_get_subreddit, reddit_get_trends, reddit_find_leads — thin shells over reddapi.dev's own MCP endpoint, so the agent can search Reddit directly instead of only seeing scheduled digests.
  • A one-line notice at the start of the next session when a run found new leads, hit a quota wall, or the API key was rejected.

Install

bash
npm install @reddapi/dsh-reddit-radar

Then add it to your cordis.yml (see the full example below).

⚠️ Three things you must know before configuring this

1. days has to track schedule, or you'll re-scan the same week forever

The default is schedule: weekly with days: 7 — each run looks at the last 7 days of Reddit activity, and the next run is roughly 7 days later, so the scanned windows line up back-to-back.

If you tighten schedule to daily (or hourly), you must shrink days to match (days: 1 for daily). If you leave days: 7 while running daily, every single run re-scans the same rolling week — you'll see mostly leads you already reported, and burn quota re-fetching data you've already seen. days only accepts 1 | 7 | 30 | 90 (reddapi.dev's whitelist); pick the value closest to your actual cadence.

schedulerecommended days
hourly1 (there's no <1 option — this still over-scans, use sparingly)
daily1
weekly7 (default)
manualwhatever window makes sense when you trigger reddit_radar_run

2. Free-tier quota is shared with MCP tool calls — 3 per 7 days, not per month

Free reddapi.dev accounts now have full API access, same as every paid tier, so a free account's key works with /api/v1/leads and this plugin out of the box — no subscription required.

What free accounts get instead of a blanket block is a small, shared quota: 3 requests per fixed 7-day window — the window resets every Thursday 00:00 UTC. This is not a calendar month and not a rolling window. That pool is shared across the reddapi.dev website search UI, every /api/v1/* endpoint, /api/leads, and MCP tools/call — i.e. one counter for everything you do with a free key.

At the default weekly / days: 7 cadence, radar's own scheduled scan consumes 1 request per window. What the rest of the pool goes to is entirely up to you — the counter does not care where a call came from.

⚠️ This is the part most likely to bite you: the six forwarded MCP tools (below) count against this same pool. MCP protocol methods — initialize, tools/list, resources/list, prompts/list — are free handshake calls and don't consume quota, but every actual tools/call does — including reddit_semantic_search, reddit_find_leads, and the other four tools this plugin forwards. If your agent calls even two or three of them in one conversation, that alone can burn through the entire 3-per-week free allowance. The next scheduled radar run in that window will then fail with a 429 (see Troubleshooting) instead of writing a report. That is the mechanism, not a recommendation — how you spend the three requests is your call, just know that scheduled scans and ad-hoc tool calls draw down the same counter. Paid plans (Lite and above) have much larger, plan-specific monthly/daily quotas with no such shared-with-MCP collision risk — see reddapi.dev/pricing.

3. There is no "every Monday at 9am" — only a cadence tier + heartbeat

dsh 0.1.0-rc.6 doesn't give third-party plugins a cron facility. The only scheduling primitive a plugin can use is a fixed-interval timer — there's no cron expression and no wall-clock target time. (@deepseek-ai/dsh-schedule looks like it might fill that gap, but it's actually an agent-scoped, session-level "remind me" tool bound to a specific root agent's event log — not something a plugin can register a background job against.)

So schedule: weekly doesn't mean "every Monday at 09:00" — it means a cadence tier plus a persisted heartbeat: every hour (or every tick, if the tier is shorter than an hour), the plugin checks how long it's been since the last run and only runs if that's ≥ the tier's duration. Consequences:

  • Restarting the host process does not trigger an extra run — the last run time is persisted and survives restarts (in the host's own storage when available, or a .state.json file in outDir otherwise).
  • If the host was off for a while, the next heartbeat after startup will catch up with exactly one run (not one run per missed tick).
  • The actual time-of-day a weekly run lands on will drift with whenever the host happens to be running when a tick lands ≥7 days after the last run — it is not pinned to a specific day or hour.

If you need a run at a specific time, use schedule: manual and trigger reddit_radar_run yourself (e.g. from your own external cron hitting the agent, or via dsh-schedule's session-level reminders).

Config reference

KeyTypeDefaultNotes
apiKeystring— (required)reddapi.dev API key. Free accounts work now — log in at reddapi.dev and open /account; a key is minted automatically, no subscription needed. Free-tier quota is small and shared with MCP tool calls — see "Free-tier quota is shared with MCP tool calls" above before relying on it.
icpstring— (required)One sentence: what you sell and to whom. Used verbatim as the search query.
schedule'weekly' | 'daily' | 'hourly' | 'manual''weekly''manual' registers no timer — only the reddit_radar_run tool.
days1 | 7 | 30 | 907Only consider posts from the last N days. Must track schedule — see above.
outDirstring.dsh/reddit-radarWhere markdown reports (and the .state.json fallback) land. Relative paths resolve against the process's working directory.
maxPerRunnumber10Max leads written per report (1–50). Leads cut by this limit can still be picked up on a later run.

Full cordis.yml example

yaml
- id: reddit-radar
  name: '@reddapi/dsh-reddit-radar'
  config:
    apiKey: rk_live_xxxxxxxxxxxxxxxx   # get one at https://reddapi.dev (Account → API Keys)
    icp: We sell a Reddit lead-gen tool to B2B SaaS founders
    schedule: weekly                  # weekly | daily | hourly | manual
    days: 7                           # 1 | 7 | 30 | 90 — keep in sync with `schedule`
    outDir: .dsh/reddit-radar
    maxPerRun: 10

Get an API key at reddapi.dev — log in and open /account; a key is minted automatically, free accounts included. See "Free-tier quota is shared with MCP tool calls" above for what a free key can realistically sustain (3 requests / 7-day window, shared with the six forwarded MCP tools) versus a paid plan's larger, unshared quota.

PlanPriceSearches
Free$0 forever3 / 7 days
Lite$19.9 /mo500 /mo
Starter$49 /mo5,000 /mo
Pro$99 /mo15,000 /mo
Team$249 /mo50,000 /mo

A weekly scan costs 1 search per week, so any paid tier leaves the rest of the month's quota for the agent's own ad-hoc searches. Current figures live at reddapi.dev/pricing.

Forwarded MCP tools

These six tools are registered as thin shells that forward directly to https://reddapi.dev/api/mcp's tools/call, reusing the same apiKey from your config. Their argument schemas are pulled live from reddapi.dev's own tools/list at plugin startup — this plugin does not hardcode or duplicate them, so they can't drift out of sync with the live API:

ToolWhat it does
reddit_semantic_searchAsk in plain English. An LLM step reads intent, so it handles a question the way a person would ask it.
reddit_vector_searchThe same 1024D index without the LLM step: faster and cheaper, matches on meaning rather than wording. Use it when the agent already knows what it is looking for.
reddit_list_subredditsPaginated list of tracked subreddits.
reddit_get_subredditDetail lookup for one subreddit.
reddit_get_trendsTrending Reddit keywords, sorted by popularity.
reddit_find_leadsOne-shot lead search (same underlying endpoint the scheduled radar uses).

Each call to one of these six tools is a tools/call against reddapi.dev's MCP endpoint, which on a free account draws from the same 3-per-7-days pool as the scheduled radar scan itself — see "Free-tier quota is shared with MCP tool calls" above. initialize/tools/list (used once at plugin startup to fetch the schemas) are free protocol handshakes and don't count.

If reddapi.dev's tool list can't be fetched at startup — network hiccup, a rejected apiKey (invalid, mistyped, or revoked — not a plan-tier issue anymore, every plan including Free has API access), or reddapi.dev being briefly unreachable — these six tools are simply not registered for that session. This is silent by design past a single warning: the scheduled radar (the plugin's actual job) does not depend on them and keeps running normally either way. If you don't see these tools available, check that apiKey is valid and reddapi.dev is reachable, then reload the plugin.

Troubleshooting

401/403 and 429 mean very different things to this plugin, and it handles them very differently — don't treat them as the same "it's broken" signal.

"your reddapi.dev quota is used up" (429) — the common one on a free account

All plans, including Free, have API access now, so a correctly-configured key normally never sees a 401/403 at all. What a free account is much more likely to hit is a 429: the shared 3-per-7-days quota (see "Free-tier quota is shared with MCP tool calls" above) ran out — usually because the six forwarded MCP tools were used in the same 7-day window as the scheduled radar scan.

This plugin treats a 429 as a quota problem, not an auth error, and does not stop the timer for it. The scheduled radar keeps ticking; the next run (per your schedule cadence) will simply try again, and by the time a weekly run comes back around the 7-day quota window has normally reset anyway. Nothing needs to be reloaded or reconfigured. The on-screen notice text ("...Upgrade at reddapi.dev/pricing to resume") is shared boilerplate with paid-plan overages — on a free account, upgrading is optional, not required: waiting for the next 7-day window resets the same 3 requests for free. Upgrade only if you want the radar scan and the six MCP tools to stop competing for the same small pool.

"the configured reddapi.dev API key was rejected" (401/403) — schedule stopped

This is the notice reddit-radar shows after an actual 401 or 403 from /api/v1/leads. Unlike a 429, this plugin treats both as one auth-error outcome and deliberately stops the timer, so it doesn't keep failing forever in the background. Since every plan tier now has API access, this is essentially always a genuine credential problem, not a plan issue:

  1. Check for a typo, extra whitespace, or a key that was rotated/revoked in the account dashboard.
  2. Confirm the key was copied from the same reddapi.dev account you expect — /account mints one key per account.
  3. Once the key is fixed, reload the plugin — the timer was torn down and won't come back on its own; a config reload re-registers it. (A 429 never requires this step — only 401/403 tears the schedule down.)

Development

bash
npm install
npm test          # vitest, 69 cases
npm run build      # tsc -p tsconfig.build.json → dist/

The pure decision logic (which leads are new, what a run outcome means, how a report gets rendered) has no dsh or network dependency and is unit-tested in isolation; a separate suite covers the scheduling/heartbeat/tool-registration wiring against a minimal fake host; another verifies the actual build output loads under real Node ESM (not just that the build exits cleanly).

将 Dsh Reddit Radar MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Dsh Reddit Radar 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请勿关闭终端窗口或停止其中的连接器进程。
3

将 Dsh Reddit Radar 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Dsh Reddit Radar MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "dsh-reddit-radar": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Dsh Reddit Radar MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Dsh Reddit Radar MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Dsh Reddit Radar 帮我完成这项任务吗?
Dsh Reddit Radar
当然,我看过了。
以下是我使用 Dsh Reddit Radar 得到的结果。

常见问题

Dsh Reddit Radar MCP 服务器有什么用途?

Dsh Reddit Radar 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Dsh Reddit Radar MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您无需为每个模型单独配置 MCP 服务器,就能在 Claude、ChatGPT、Gemini 或您在 TypingMind 中配置的其他 AI 模型中使用 Dsh Reddit Radar。

为什么在 TypingMind 中使用 Dsh Reddit Radar MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是最出色的大语言模型聊天前端之一。连接 Dsh Reddit Radar 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Dsh Reddit Radar MCP 连接到 TypingMind?

Dsh Reddit Radar 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Dsh Reddit Radar MCP 在 TypingMind 中提供哪些工具?

Dsh Reddit Radar 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Dsh Reddit Radar MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行选择模型提供商,并自行管理 API 密钥、提示词和 MCP 配置。如果 Dsh Reddit Radar 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇