mcp-reddit

v0.4.0
mcp-reddit Checked 2 days ago Published 5 months ago

MCP server for scraping Reddit - no API keys required

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scrape_subreddit

Scrape posts from a subreddit via Reddit's public RSS feeds. Returns titles, authors, timestamps, selftext, comments, and media preview URLs. Note: Reddit's RSS feeds don't expose scores or vote counts.

ParameterTypeDescription
subreddit *stringName of the subreddit to scrape (without r/)
download_mediabooleanWhether to download preview images (default: false; videos unavailable via RSS)
limitintegerMaximum number of posts to scrape (default: 100)
scrape_commentsbooleanWhether to scrape comments (default: true; flat, up to 100 per post)

scrape_user

Scrape posts from a Reddit user's profile via public RSS feeds. Returns their post history with metadata. Note: Reddit's RSS feeds don't expose scores or vote counts.

ParameterTypeDescription
username *stringReddit username to scrape (without u/)
download_mediabooleanWhether to download preview images (default: false; videos unavailable via RSS)
limitintegerMaximum number of posts to scrape (default: 50)
scrape_commentsbooleanWhether to scrape comments (default: false)

get_posts

Retrieve scraped posts from local database with optional filters. Use this to access previously scraped data.

ParameterTypeDescription
target *stringSubreddit or username to get posts from
is_userbooleanWhether target is a username (default: false)
limitintegerMaximum number of posts to return (default: 50)
post_typestringFilter by post type: text, image, video, gallery, link
search_querystringSearch for posts containing this text in title or body

get_comments

Retrieve comments from scraped posts. Note: Reddit's RSS feeds don't expose scores or vote counts.

ParameterTypeDescription
target *stringSubreddit or username to get comments from
is_userbooleanWhether target is a username (default: false)
limitintegerMaximum number of comments to return (default: 100)
search_querystringSearch for comments containing this text

search_reddit

Search across all scraped Reddit data for posts or comments matching a query. Useful for finding specific topics or trends.

ParameterTypeDescription
query *stringSearch query to find in posts and comments
limitintegerMaximum number of results (default: 50)
search_instringWhat to search: posts, comments, or both (default: both)

list_scraped_sources

List all subreddits and users that have been scraped. Shows available data sources.

scrape_post

Fetch a specific Reddit post by URL. Returns the post data and up to 100 comments (flat, no scores).

ParameterTypeDescription
url *stringReddit post URL (e.g., https://reddit.com/r/sub/comments/id/title)
download_mediabooleanWhether to download preview images (default: false; videos unavailable via RSS)
scrape_commentsbooleanWhether to fetch comments (default: true)