FetchLayer fetchlayer.dev Sign in

+ Integration Guide

How to Connect Reddit MCP to Claude Desktop

Add FetchLayer's Reddit MCP server to Claude Desktop so Claude can search Reddit, scrape posts, and pull subreddit data in your conversations.

  • MCP
  • Claude Desktop
  • reddit scraping
  • AI agent
  • Anthropic

Claude Desktop is Anthropic’s native desktop app for Claude. It supports the Model Context Protocol (MCP), which lets Claude call external tools — including Reddit data from FetchLayer.

Once configured, you can ask Claude to search Reddit, scrape comment threads, analyze subreddit trends, and more — all inside a normal conversation.


Prerequisites


Step 1: Open the Claude Desktop config

Claude Desktop reads MCP server configurations from a JSON config file. The location depends on your OS:

macOS:

~/Library/Application Support/Claude/claude_desktop_config.json

Windows:

%APPDATA%\Claude\claude_desktop_config.json

Linux:

~/.config/Claude/claude_desktop_config.json

If the file doesn’t exist, create it. You can also open it from Claude Desktop: go to Settings → Developer → Edit Config.


Step 2: Add the FetchLayer MCP server

Add this configuration to your claude_desktop_config.json:

{
  "mcpServers": {
    "fetchlayer": {
      "url": "https://mcp.fetchlayer.dev",
      "headers": {
        "Authorization": "Bearer sk-your-api-key"
      }
    }
  }
}

Replace sk-your-api-key with your actual API key from the FetchLayer dashboard.

If you already have other MCP servers, add "fetchlayer" next to them:

{
  "mcpServers": {
    "filesystem": { "command": "..." },
    "fetchlayer": {
      "url": "https://mcp.fetchlayer.dev",
      "headers": {
        "Authorization": "Bearer sk-your-api-key"
      }
    }
  }
}

Step 3: Restart Claude Desktop

Quit Claude Desktop completely and reopen it. The app loads MCP configs on startup.

You should see a small hammer/tools icon in the chat input area — this indicates MCP tools are available. Click it to see “fetchlayer” listed with all its Reddit tools.


Step 4: Try it out

Start a new conversation and try:

Search Reddit for posts about “best project management tools” from the last month. Show me the top 5 by score with their subreddits.

Claude will call the FetchLayer search tool and return structured results.

More ideas:

PromptWhat Claude does
”What’s trending on r/programming right now?”Fetches hot posts from r/programming
”Summarize the top comments on this Reddit post: [URL]“Scrapes comments, then summarizes
”Find subreddits about indie game development”Searches communities by keyword
”What’s the sentiment on r/startups about bootstrapping vs VC?”Searches, reads comments, analyzes tone
”Get me u/spez’s Reddit profile”Returns user profile data

Because Claude can chain tool calls with reasoning, it can do multi-step analysis — search for posts, scrape the comments, and synthesize findings in one conversation turn.


Available Tools

Claude Desktop gets access to all FetchLayer Reddit tools:

  • scrape_search — Search posts by keyword
  • scrape_post — Get a full post with comments
  • scrape_community_posts — Browse subreddit posts
  • scrape_community_details — Get subreddit metadata
  • scrape_user_profile — User karma, bio, account age
  • scrape_user_posts — A user’s post history
  • scrape_user_comments — A user’s comment history
  • scrape_search_communities — Find subreddits by keyword
  • scrape_search_users — Find users by name
  • scrape_comment_permalink — Get a specific comment with context
  • scrape_popular — Trending posts from r/popular
  • scrape_leaderboard — Trending communities
  • scrape_explore — Discover communities by topic

Troubleshooting

Tools icon not showing?

  • Make sure the config file path is correct for your OS
  • Validate the JSON (no trailing commas, proper quoting)
  • Fully quit and relaunch Claude Desktop (not just close the window)

Claude says it can’t access Reddit?

  • Check that your API key is valid
  • Make sure you’re in a new conversation (MCP tools aren’t available in old chats started before config change)

Getting errors in tool calls?

  • Look at the tool call details in Claude’s response — it shows the error message
  • Most common: invalid API key or malformed request body

What’s Next