App Logo
Messaging Reduck MCP

Set up keyword alerts on Discord channels with the Reduck CLI or API, no bot or admin rights

Prompt template

Every morning, search my Discord servers server names for new messages that mention keywords. Drop the ones that are not really about them, and send me only the messages I have not seen yet, with the server, the channel, the author and the link.

Overview

You want to know when someone mentions your product, your name or a topic in a Discord channel. But you are not an admin or a moderator, so you cannot add a bot or set up AutoMod. With the Reduck CLI or API, a short script searches your channels for your keywords on a schedule, as you, and sends you only the new messages.

Why it's hard

Discord only notifies you of @mentions and replies. Its keyword rules, AutoMod, are for people who manage the server, and so is adding a keyword-alert bot: someone with the Manage Server permission has to invite it. The tools that work for a regular member change your client (BetterDiscord or Vencord plugins, while Discord's policy says not to modify the client for any reason) or log in with your user token as a self-bot. Running Discord's search by hand, every day, for every keyword and every channel, is what most people end up doing.

How Reduck does it

Reduck runs Discord actions in your own Chrome, where you are already signed in, so it sees every server and channel you can see. search_messages runs Discord's own search for your keyword in one server, optionally in some channels only, and answers with the newest matches first, with the channel, the author, the text, the time and a link. A script keeps the id of each message it has already reported, so every run sends you only what is new.

Set up Discord keyword alerts with the CLI

Get the server id and the channel id from Discord's developer mode, or from list_channels. Then save this as discord-alerts.sh:

#!/bin/bash
SERVER=123456789012345678
CHANNEL=234567890123456789
KEYWORD="your product"

sqlite3 alerts.db "CREATE TABLE IF NOT EXISTS seen (id TEXT PRIMARY KEY)"
npx @reduck-ai/cli@latest run --script reduck/discord.com/search_messages \
  guildId=$SERVER "channelIds=[\"$CHANNEL\"]" "content=$KEYWORD" > page.json || exit 1
jq -r '.messages[] | [.messageId, "\(.author.name): \(.content) \(.url)"] | @tsv' page.json |
while IFS=$'\t' read -r id alert; do
  added=$(sqlite3 alerts.db "INSERT OR IGNORE INTO seen VALUES ('$id'); SELECT changes();")
  [ "$added" = "1" ] && echo "$alert"
done

Each run prints one line per new message: the author, the text and the link. The first run prints the latest matches; the next runs print only new ones. Run it every 15 minutes with cron, with an API key in REDUCK_API_KEY, and send the lines where you want them, for example to your phone with ntfy:

*/15 * * * * cd ~/discord-alerts && ./discord-alerts.sh | while read -r line; do curl -s -d "$line" ntfy.sh/your-topic; done

To build alerts into your own code, call the same script with the REST API: POST /run with your API key in x-api-key, the script reduck/discord.com/search_messages and its arguments, and "browser": "extension" so the run uses your signed-in Chrome.

Tools

Script What it does Takes
list_servers The servers you are a member of, with their ids nothing
list_channels A server's channels, with their ids the server id
search_messages The newest messages of one server that match your keyword, 25 per page the server id, the keyword, channels (optional)

Connect it

  1. Install the Reduck extension in Chrome and stay signed in to Discord there, in one tab only.
  2. Install the Reduck CLI and run the script above, or add Reduck to your AI client: Claude Code, Claude Desktop, ChatGPT or any other MCP client.
  3. From an AI client, ask: "Search my Discord servers {server names} for new messages that mention {keywords}, and send me only the ones I have not seen yet."

Ways to get Discord keyword alerts

Method Any keyword As a regular member Real time No client mod or token
Discord notifications No, @mentions and replies Yes Yes Yes
AutoMod Yes No, needs Manage Server Yes Yes
Keyword-alert bot Yes No, someone adds it Yes Yes
KeywordPing (BetterDiscord) Yes Yes Yes, while your client is open No, a modified client
Reduck CLI or API Yes Yes No, at each scheduled run Yes

Who it's for

  • Founders and marketers who want to know when their product is mentioned in communities they are only members of
  • Job seekers and freelancers watching channels for "hiring", "looking for" or their skill
  • Developers who want Discord keyword alerts in their own scripts, without a bot

FAQ

As a regular member, run Discord's own search for your keywords on a schedule and keep only the new matches. The script on this page does it with the Reduck CLI: each run calls search_messages on your server and channels, saves the id of every message it has already reported, and prints only the new ones, which you can send to your phone, your email or Slack. Run it from cron every 15 minutes or every hour. To build it into your own code, call the same script through the REST API.
Not with Discord's own tools. Discord notifies you of @mentions and replies, and members have asked it for keyword notifications on its feedback site since at least 2019. Its keyword rules, AutoMod, can only be created by members with the Manage Server or Administrator permission, according to Discord's AutoMod FAQ, and its alerts go to a channel the moderators choose. Keyword-alert bots need the same rights: the setup of DiscordNotifier, a keyword bot on GitHub, starts with "a Discord Server where you have Administrator permissions". As a regular member, what you can use is Discord's own search, which sees every channel you can see: Reduck runs it for you.
No. You get an alert at the next run of your schedule, for example every 15 minutes. Discord's search also lists a new message about a minute after it is sent (seen in our tests on 2026-10-20). If you need an alert within seconds, a bot in the server, set up by its admins, or a client plugin like KeywordPing is faster.
No. The searches run in your own Chrome, where you are signed in to Discord, through the Reduck extension. The cron job works while that Chrome is open. Keep Discord open in one tab only: Discord allows one active tab, so the searches run one after the other.
Yes. search_messages narrows a search to channels by their ids, which list_channels gives, and to authors or content types (links, files, images). In the CLI, pass channelIds with the ids of the channels to watch.
Yes, one search per server and keyword. Run the script once per pair, or loop over them in the script. Each search returns up to 25 matches, newest first; the first run reports the latest 25, and the next runs only what is new.
KeywordPing is a BetterDiscord plugin, version 3.0.0 with 3,742 downloads when we read its page on 2026-10-21, that shows Discord's own notification when a message matches your keywords, in real time. It needs BetterDiscord, a modified Discord client, and Discord's Platform Manipulation Policy says not to modify the Discord client for any reason. It runs inside your client, so it alerts on the messages your client receives while it is open. Reduck needs no client mod, and it searches each channel's history, so it also finds what was said while you were away.
No. Reduck never receives your Discord token or password. It searches in the Discord tab you are already signed in to, in your own Chrome. It is still automation of your account, which Discord's terms restrict, so we cannot promise Discord will never flag it; a check every 15 minutes or more keeps the pace of a person.
Yes. Reduck connects to ChatGPT, Claude, Claude Code, Codex, Cursor and any other MCP client. Give your agent the prompt on this page: it runs the same search, and it can also drop the matches that are not really about your keyword, which the CLI script does not do.

Similar use cases

Discord

Summarize a Discord server

Let Claude, ChatGPT or any AI agent read the Discord servers you are a member of and summarize what you missed, channel by channel, with links to the messages, from your own account, with no bot to add and no admin rights.

Messaging
Discord

Discord MCP

A Discord MCP server that acts as your own user account, not as a bot. Reduck gives ChatGPT, Claude or any MCP client tools to read your servers, channels and DMs and reply as you, through browser automation in your own Chrome, with no bot to invite and no user token to paste.

Messaging
Reddit

Reddit keyword alerts

Your AI agent searches Reddit for your keywords on a schedule and sends you only the new posts that are really about them, with no RSS feed and no API key.

Social media

Start building not clicking