# Reddit MCP Server Skill

## Overview
FetchLayer provides a Model Context Protocol (MCP) server for accessing public Reddit data. Compatible with Claude Desktop, Cursor, Windsurf, and other MCP clients.

## Server URL
`https://mcp.fetchlayer.dev`

## Transport
Streamable HTTP (POST to the server URL)

## Authentication
Include a Bearer token in the Authorization header:
```
Authorization: Bearer ss-YOUR_API_KEY
```

Get a free API key at https://fetchlayer.dev/signin

## Available Tools

| Tool | Description |
|------|-------------|
| scrape_search | Search Reddit posts by query |
| scrape_post | Fetch a Reddit post with comments |
| scrape_community_posts | List posts from a subreddit |
| scrape_community_details | Get subreddit metadata |
| scrape_user_profile | Get a Reddit user profile |
| scrape_user_posts | List posts by a user |
| scrape_user_comments | List comments by a user |
| scrape_search_communities | Search for subreddits |
| scrape_search_users | Search for Reddit users |
| scrape_comment_permalink | Fetch a specific comment thread |
| scrape_popular | Get popular posts across Reddit |
| scrape_leaderboard | Get trending communities |
| scrape_explore | Discover communities by topic |
| resolve_url_type | Detect the type of a Reddit URL |

## Client Configuration

### Claude Desktop (claude_desktop_config.json)
```json
{
  "mcpServers": {
    "fetchlayer-reddit": {
      "url": "https://mcp.fetchlayer.dev",
      "headers": {
        "Authorization": "Bearer ss-YOUR_API_KEY"
      }
    }
  }
}
```

## Rate Limits
Free tier: 50 requests/month. Paid plans available at https://fetchlayer.dev/billing.
