Comment Scraper

v0.1.3
io.github.supertj/comment-scraper-mcp Checked 2 days ago Published 1 month ago

Read your Comment Scraper exports of Reddit and Hacker News threads.

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

list_threads List exported threads

Lists the Reddit and Hacker News threads the user exported with Comment Scraper, newest first, with comment counts. Call this first to get a thread id.

ParameterTypeDescription
querystringOnly threads whose title contains this text

read_thread Read a thread

Returns a thread's post and comments as numbered Markdown ([c12] reply to [c3] (score 41, 3d ago)). Long threads come in pages: call again with the offset given at the end. Cite comments by their [cN] number.

ParameterTypeDescription
thread *stringThread id from list_threads, or words from its title
limitintegerComments per page, default 200
min_scoreintegerOnly comments with at least this score (hidden scores are left out)
offsetintegerSkip this many comments (for the next page)

search_comments Search comments

Finds comments containing all of the given words across every exported thread (or one thread). Returns each match with its thread, [cN] number and score.

ParameterTypeDescription
query *stringWords to look for; a comment must contain all of them (case-insensitive)
limitintegerMaximum matches, default 30
threadstringLimit to one thread: id or words from its title

get_comment Get a comment in context

Returns one comment by its [cN] number with the comments it replies to (up to the top) and its direct replies.

ParameterTypeDescription
comment *stringComment number, e.g. "c12" or "12"
thread *stringThread id from list_threads, or words from its title