There are three ways to connect Claude to a Reddit API, and which one is right depends on which Claude you're using: an MCP connection for Claude Code or Desktop, an OpenAPI import for Claude Code's shell specifically, or a raw REST call if you're scripting your own agent loop around Claude. Pick whichever matches your setup — here's one short snippet for each.
Door 1: MCP, for Claude Code and Claude Desktop
Claude Code and Claude Desktop both connect to a Reddit API as a set of tools over MCP (as does Cursor, and other MCP-compatible clients, the same way). Claude Code:
claude mcp add --transport http threadsnoop https://api.threadsnoop.com/mcp \
--header "x-api-key: YOUR_KEY"Claude Desktop needs one extra step Claude Code doesn't, and claude.ai on the web connects a third way entirely (OAuth, no header at all) — full details for all three: giving Claude access to Reddit, the Claude Desktop-specific setup, and connecting claude.ai web.
Door 2: OpenAPI, for Claude Code's shell
Claude Code specifically can import a REST API straight from its spec — no MCP server involved:
https://api.threadsnoop.com/openapi.jsonAuth is the same x-api-key header. Full setup: giving Claude Code access via an OpenAPI spec.
Door 3: raw REST, for a custom Claude agent loop or script
No client integration at all — just an HTTP call, for when you're building your own agent loop around Claude's API directly rather than using Claude Code or Desktop:
curl -s "https://api.threadsnoop.com/v1/posts?subreddit=SaaS&limit=25" \
-H "x-api-key: YOUR_KEY"More on this path: using AI agents to search Reddit and the practical API guide.
All three doors hit the same read-only API, billed the same way — 1 credit per request, $1.50 per 1,000 reads, as low as $1.00/1,000 in bulk. New keys get 1,000 free Reddit searches, no card required, enough to try whichever door fits your AI.
Frequently asked questions
What's the easiest way to connect Claude to Reddit?
Claude Code and Claude Desktop both connect over MCP with one command or config block; Claude Code needs nothing extra, Desktop needs one extra bridge step, and claude.ai web connects a third way (OAuth, no config at all). If you're in Claude Code's shell specifically, importing the OpenAPI spec skips MCP entirely.
Does it matter whether I'm using Claude Code, Desktop, or web?
Yes, for setup -- each connects a different way (see the three links above), though the tools and data you get back are identical either way. Cursor and other MCP-compatible clients use the same MCP door as Claude Code/Desktop.
Do I need different Reddit access for each Claude surface?
No -- one API key works across every door and every surface. Create it once from /developer and reuse it whether you're connecting Claude Code, Desktop, web, or your own script.
Pick a door and connect it
One free API key works with any Claude surface. 1,000 Reddit searches on us, no card required.
1,000 free Reddit searches on signup, no card required.
