CLI
Local MCP server
Run the commentscraper CLI as a local stdio MCP server for Claude Desktop and other clients that only support local servers.
On this page
For clients that only run local MCP servers, install the CLI, run commentscraper login, then add the server to the client's config. This page shows Claude Desktop. It is separate from the hosted connector, which most people should use.
Configure Claude Desktop
{
"mcpServers": {
"commentscraper": {
"command": "commentscraper",
"args": ["mcp"]
}
}
}The file is here:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Tools exposed
Starter or higher required. The local server checks your plan on every call.
| Tool | What it does |
|---|---|
scrape_url | Pull the comments from one supported URL. |
search_reddit | Find Reddit threads for a keyword (up to 25). |
research_topic | Search Reddit for a topic and pull the comments from the top threads (up to 15). |
whoami | Show the signed-in account and plan. |
The local server has these 4 tools. The hosted connector has every tool, with no install; see all tools.