[Integrations](https://spiral.ai/integrations) › [Claude Code](https://spiral.ai/integrations/claude-code) › [Reddit subreddit search](https://spiral.ai/integrations/claude-code/reddit-subreddit-search)

# How to Use Reddit subreddit search in Claude Code

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.

|  |  |
| --- | --- |
| Model | Reddit subreddit search |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Reddit subreddit search in Claude Code

- 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 Claude Code

Pick the way that suits you. Each takes about two minutes.

### Use Spiral's MCP server

1. **Add the hosted server**: This adds Spiral to the current project. Add `--scope user` to use it in every project.

```bash
claude mcp add --transport http spiral https://api.spiral.ai/mcp
```

2. **Sign in**: Start `claude`, type `/mcp`, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.

### Use the Spiral skill

1. **Send Claude Code this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Reddit subreddit search**: One request; the result comes back by polling or a webhook.

```bash
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: Claude Code finds Reddit subreddit search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/claude-code

## Reddit subreddit search tools and prices

- [Reddit · Subreddit Search](https://spiral.ai/tools/scrapecreators/scrapecreators/reddit-subreddit-search) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | relevance, hot, top, new, comments | — | Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new |
| query |  | — | Search query to find matching content |
| cursor |  | — | Cursor to get more results. Get 'cursor' from previous response. |
| timeframe | all, year, month, week, day, hour | — | Timeframe to filter results |

## What can you do with Reddit subreddit search in Claude Code?

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.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Claude Code guides](https://spiral.ai/integrations/claude-code)

## Reddit subreddit search in other agents

- [Amp](https://spiral.ai/integrations/amp/reddit-subreddit-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/reddit-subreddit-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/reddit-subreddit-search)
- [Cline](https://spiral.ai/integrations/cline/reddit-subreddit-search)
- [Codex](https://spiral.ai/integrations/codex/reddit-subreddit-search)
- [Cursor](https://spiral.ai/integrations/cursor/reddit-subreddit-search)
- [Devin](https://spiral.ai/integrations/devin/reddit-subreddit-search)
- [dots](https://spiral.ai/integrations/dots/reddit-subreddit-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/reddit-subreddit-search)
- [Gemini](https://spiral.ai/integrations/gemini/reddit-subreddit-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/reddit-subreddit-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/reddit-subreddit-search)
- [goose](https://spiral.ai/integrations/goose/reddit-subreddit-search)
- [Grok](https://spiral.ai/integrations/grok/reddit-subreddit-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/reddit-subreddit-search)
- [Hermes](https://spiral.ai/integrations/hermes/reddit-subreddit-search)
- [Instinct](https://spiral.ai/integrations/instinct/reddit-subreddit-search)
- [Manus](https://spiral.ai/integrations/manus/reddit-subreddit-search)
- [Muse](https://spiral.ai/integrations/muse/reddit-subreddit-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/reddit-subreddit-search)
- [n8n](https://spiral.ai/integrations/n8n/reddit-subreddit-search)
- [Notion](https://spiral.ai/integrations/notion/reddit-subreddit-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/reddit-subreddit-search)
- [opencode](https://spiral.ai/integrations/opencode/reddit-subreddit-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/reddit-subreddit-search)
- [Raycast](https://spiral.ai/integrations/raycast/reddit-subreddit-search)
- [VS Code](https://spiral.ai/integrations/vscode/reddit-subreddit-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/reddit-subreddit-search)
- [Zapier](https://spiral.ai/integrations/zapier/reddit-subreddit-search)

## More Claude Code guides

- [Reddit subreddit rules and style](https://spiral.ai/integrations/claude-code/reddit-subreddit-rules-and-style)
- [Reddit subreddit settings](https://spiral.ai/integrations/claude-code/reddit-subreddit-settings)
- [Reddit subreddit posts](https://spiral.ai/integrations/claude-code/reddit-subreddit-posts)
- [Reddit trending searches](https://spiral.ai/integrations/claude-code/reddit-trending-searches)
- [Reddit subreddit post channels](https://spiral.ai/integrations/claude-code/reddit-subreddit-post-channels)
- [Reddit user posts](https://spiral.ai/integrations/claude-code/reddit-user-posts)

## Questions about Reddit subreddit search in Claude Code

**Can Claude Code use Reddit subreddit search?**

Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run Reddit subreddit search like any built-in tool.

**How much does Reddit subreddit search cost in Claude Code?**

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 Claude Code plan is separate.

**Do I need a ScrapeCreators account to use Reddit subreddit search in Claude Code?**

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 Claude Code?**

About two minutes: add the hosted server, then sign in.

**Does Claude Code wait while Reddit subreddit search runs?**

Reddit subreddit search runs in the background. Claude Code 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.

