How to Use Reddit subreddit search in Gemini CLI
Returns posts, comments, and media matching a query within one subreddit. Use it to investigate a product or topic, including matching comments that a post feed alone would miss.
Prompts to try with Reddit subreddit search in Gemini CLI
Copy an example into Gemini CLI, or ask in your own words.
Use Reddit subreddit search to find packaging discussions in r/learnpython. Compare the retrieved questions with this project's installation guide and propose additions backed by Reddit links.
Use Reddit subreddit search to find Steam Deck battery discussions in r/SteamDeck. Write a research note in this project that groups the returned material by reported symptom and links to the evidence.
Use Reddit subreddit search to find MQTT discussions in r/homeassistant. Compare the retrieved questions with this project's MQTT documentation and draft a list of gaps.
Scrape https://example.com/pricing with Reddit subreddit search and turn it into a comparison table. Save the result in ./assets.
Crawl the docs at https://docs.example.com with Reddit subreddit search and summarize each section.
How to set up Reddit subreddit search in Gemini CLI
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Or add it to ~/.gemini/settings.json yourself:
gemini mcp add --scope user --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start gemini and run:
/mcp auth spiral
- Check it
In Gemini CLI, run /mcp. From your shell:
gemini mcp list
Use the Spiral skill
- Send Gemini CLI this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Reddit subreddit search
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "scrapecreators", "model": "scrapecreators/reddit-subreddit-search", "input": { "subreddit": "<subreddit>" } }'
Then paste one of the prompts above: Gemini CLI finds Reddit subreddit search on Spiral, shows the price and runs it.
Reddit subreddit search providers and prices
Spiral runs Reddit subreddit search through ScrapeCreators. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Gemini CLI for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Sort | relevance, hot, top, new, or comments | Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new | |
| Timeframe | all, year, month, week, day, or hour | Timeframe to filter results |
Every API field of Reddit · Subreddit Search is on its tool page: open its card above.
What can you do with Reddit subreddit search in Gemini CLI?
Build a linked Reddit research report inside your project from community discussions and engagement metrics. A coding agent can organize the retrieved records into a report or review queue for your team.
Find product problems to investigate
Review r/SteamDeck posts or search that community for battery discussions. Organize the returned material into reported symptoms, affected products, and links for follow-up.
Choose documentation topics
Review r/learnpython discussions for recurring installation and packaging questions. Turn the retrieved questions into a proposed tutorial outline with supporting Reddit links.
Prepare a community reading list
Collect r/MachineLearning posts or search for a specific research topic. Produce a reading list containing titles, dates, Reddit links, and discussion counts where returned.
Research product comparisons
Review r/3Dprinting discussions or search for Prusa and Bambu Lab. Extract the comparison criteria people raise, such as maintenance and print quality, with links to the retrieved discussions.
Build a recurring topic brief
Summarize newly retrieved r/gamedev discussions into development topics and open questions. Keep Reddit links beside each topic so readers can inspect the source discussion.
Prioritize threads for manual review
Gather r/homeassistant discussions about integrations, then organize the returned posts by comment count. Give a reviewer a linked queue of conversations to examine.
More on Reddit subreddit search and Gemini CLI
Reddit subreddit search in other agents
Questions about Reddit subreddit search in Gemini CLI
Can Gemini CLI use Reddit subreddit search?
Yes. Add Spiral to Gemini CLI as an MCP server, and Gemini CLI can find and run Reddit subreddit search like any built-in tool.
How much does Reddit subreddit search cost in Gemini CLI?
Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini CLI plan is separate.
Do I need a ScrapeCreators account to use Reddit subreddit search in Gemini CLI?
No. Spiral runs Reddit subreddit search on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up Reddit subreddit search in Gemini CLI?
About two minutes: add the server, then sign in, then check it.
Does Gemini CLI wait while Reddit subreddit search runs?
Reddit subreddit search runs in the background. Gemini CLI starts the run, checks on it and gives you the json when it's ready.
Does Reddit’s public data include private communities?
Reddit excludes posts and comments in private or quarantined communities from its public data licensing. These communities are outside the public coverage described by Reddit’s policy.
How fresh is the Reddit data?
ScrapeCreators says live requests fetch the latest available Reddit information when requested. Subreddit posts can also return a previously scraped response when caching is requested.
Can I get more than the first page of results?
Yes. Reddit subreddit posts returns an after value for the next page, while Reddit subreddit search returns a cursor.
What content can a subreddit search find?
Subreddit search covers matching posts, comments, and media within one community. Its scope is the selected subreddit.
What engagement data comes with subreddit posts?
The documented response includes post scores, upvote ratios, and comment counts alongside creation timestamps. Those fields let you compare discussion activity across the returned posts.
Start using Reddit subreddit search in Gemini CLI
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini CLI:
set up https://spiral.ai/SKILL.md


