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.
query
io.github.supertj由 GitHub 账号 supertj 发布v0.1.3更新于 Nov 3, 2026
Read your Comment Scraper exports of Reddit and Hacker News threads. Local and read-only.
读取本地 Comment Scraper 导出的 Reddit 与 Hacker News 帖子 JSON,让助手列出、阅读、搜索并引用评论。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
Ask Claude about the Reddit and Hacker News threads you exported with Comment Scraper, without pasting them in.
This is a small MCP server. It reads the JSON files the Comment Scraper browser extension saves to your Downloads folder and gives Claude (or any MCP client) four tools to list, read and search them. Comments keep the same numbers as the extension's Markdown export, like [c12], so when Claude quotes a comment you can find it in the file.
It runs on your computer, only reads files, and makes no network requests.
Claude Code
Claude Desktop: open Settings → Developer → Edit Config and add:
Restart Claude Desktop afterwards. Other MCP clients (Cursor, Windsurf and so on) take the same command: npx -y comment-scraper-mcp.
As a Claude Code plugin: the plugin folder bundles the server, pinned to a release, with a skill that tells Claude how to cite comments. This repository doubles as a plugin marketplace:
Use the plugin or claude mcp add, not both, or Claude sees every tool twice.
As a Hermes Agent plugin: the same folder works in Hermes Agent. The install steps are in the plugin README.
Pi: this package is also a Pi package. Installing it gives Pi the server and the same skill the Claude plugin uses:
Start a new Pi session and ask about your exports. Pi starts the server from the installed package, so nothing is downloaded at run time, and /mcp shows whether it connected. You need Pi 0.99 or newer, the first version with MCP support. To read another folder, set COMMENT_SCRAPER_DIRS in the shell you start Pi from. If you already added comment-scraper-mcp to Pi's mcp.json by hand, remove that entry, unless it's named comment-scraper, in which case Pi uses it in place of the package's.
By default it reads your Downloads folder and the folders directly inside it, so moving exports into a project folder there is fine. To read somewhere else, pass one or more folders:
or set COMMENT_SCRAPER_DIRS (folders separated by :, or ; on Windows). Files are recognised by their content, so renaming them is fine. If you export the same thread twice, the newest export is used.
The server reads JSON files in the folders above and nothing else. It doesn't write, move or delete files, and it doesn't connect to the internet. What you ask Claude, and the comments Claude reads through these tools, go to Anthropic or whichever model provider your client uses, under their terms. Exports from the extension don't contain usernames.
MIT
来源:README.md,提交 dd67c29
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.
queryRead 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.
limitoffsetthread必填min_scoreSearch 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.
limitquery必填threadGet 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.
thread必填comment必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
claude mcp add comment-scraper -- npx -y comment-scraper-mcp{ "mcpServers": { "comment-scraper": { "command": "npx", "args": ["-y", "comment-scraper-mcp"] } }}claude plugin install comment-scraper --marketplace supertj/comment-scraper-mcppi install npm:comment-scraper-mcpclaude mcp add comment-scraper -- npx -y comment-scraper-mcp --dir ~/Research/reddit