Skip to content

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

claude_desktop_config.json
{
  "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.

ToolWhat it does
scrape_urlPull the comments from one supported URL.
search_redditFind Reddit threads for a keyword (up to 25).
research_topicSearch Reddit for a topic and pull the comments from the top threads (up to 15).
whoamiShow 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.