Comet Mcp

by hanzili

183 downloads
Not rated
GitHub

Description

# comet-mcp [![npm version](https://img.shields.io/npm/v/comet-mcp.svg)](https://www.npmjs.com/package/comet-mcp) **Give Claude Code a browser that thinks.** An MCP server that connects Claude Code to [Perplexity Comet](https://www.perplexity.ai/comet) - enabling agentic web…

About

# comet-mcp [![npm version](https://img.shields.io/npm/v/comet-mcp.svg)](https://www.npmjs.com/package/comet-mcp) **Give Claude Code a browser that thinks.** An MCP server that connects Claude Code to [Perplexity Comet](https://www.perplexity.ai/comet) - enabling agentic web browsing, deep research, and real-time task…

Details

Author
hanzili
Downloads
183
Categories
Web Scraping, Automation, Other, AI

- Connects Claude Code to Perplexity Comet’s agentic browser
- Provides tools: comet_connect, comet_ask, comet_poll, comet_stop, comet_screenshot, comet_mode
- Supports modes: search, research, labs, learn
- Enables real‑time task monitoring and progress polling
- Handles dynamic content, logins, and interactive browsing

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Comet Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Add the server configuration to ~/.claude.json or .mcp.json with "command": "npx", "args": ["-y", "comet-mcp"]. Launch Perplexity Comet with --remote-debugging-port=9222. Use tools like comet_ask to send tasks and comet_poll to monitor progress.

comet_connect

Connect to Comet browser (auto-starts if needed)

comet_ask

Send a prompt to Comet/Perplexity and wait for the complete response (blocking). Ideal for tasks requiring real browser interaction (login walls, dynamic content, filling forms) or deep research with agentic browsing.

comet_poll

Check agent status and progress. Call repeatedly to monitor agentic tasks.

comet_stop

Stop the current agent task if it's going off track

comet_screenshot

Capture a screenshot of current page

comet_mode

Switch Perplexity search mode. Modes: 'search' (basic), 'research' (deep research), 'labs' (analytics/visualization), 'learn' (educational). Call without mode to see current mode.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "comet mcp": {
            "comet-bridge": {
                "command": "npx",
                "args": [
                    "-y",
                    "comet-mcp"
                ]
            }
        }
    }
}

McpServers

{
    "comet-bridge": {
        "command": "npx",
        "args": [
            "-y",
            "comet-mcp"
        ]
    }
}

An MCP server that connects Claude Code toPerplexity Comet- enabling agentic web browsing, deep research, and real-time task monitoring.

Existing web tools for Claude Code fall into two categories, both with limitations:

1. Search APIs (Tavily, Perplexity API, WebFetch)

Return static text. No interaction, no login, no dynamic content. Great for quick lookups, but can't navigate complex sites or fill forms.

2. Browser Automation (browser-use, Puppeteer MCP, Playwright MCP)

Can interact with pages, but use aone-agent-do-allapproach: the same reasoning model that's writing your code is also deciding where to click, what to type, and how to navigate. This overwhelms the context window and fragments focus.

Comet MCP takes a different approach.Instead of Claude controlling a browser directly, it delegates toPerplexity Comet- an AI purpose-built for web research and browsing.

- Claudestays focused on your coding task
- Comethandles the browsing: navigation, login walls, dynamic content, deep research
- Result: Claude's coding intelligence + Perplexity's web intelligence, working together

{ "mcpServers": { "comet-bridge": { "command": "npx", "args": ["-y", "comet-mcp"] } } }

That's it! The MCP server automatically launches Comet with remote debugging when needed.

You: "Use Comet to research the top AI frameworks in 2025" Claude: [delegates to Comet, monitors progress, returns results] You: "Log into my GitHub and check my notifications" Claude: [Comet handles the login flow and navigation]
Claude Code → MCP Server → CDP → Comet Browser → Perplexity AI (reasoning) (bridge) (web browsing)

Claude sends high-level goals ("research X", "log into Y"). Comet figures out the clicks, scrolls, and searches. Results flow back to Claude.

- Node.js 18+
- Perplexity Comet Browser
- Claude Code (or any MCP client)
- Supported platforms: macOS, Windows, WSL2

Works out of the box. Comet MCP auto-detects Windows and launches Comet from its default install location.

WSL2 requiresmirrored networkingto connect to Comet running on Windows:
-

Enable mirrored networking(one-time setup):

# Create/edit %USERPROFILE%\.wslconfig (Windows side) [wsl2] networkingMode=mirrored
wsl --shutdown # Then reopen your WSL terminal

That's it!Comet MCP auto-detects WSL and uses PowerShell to communicate with Windows.

If mirrored networking isn't available, you'll see a helpful error message with setup instructions.

If Comet is installed in a non-standard location:

{ "mcpServers": { "comet-bridge": { "command": "npx", "args": ["-y", "comet-mcp"], "env": { "COMET_PATH": "/path/to/your/Comet" } } } }

- macOS: Ensure Comet is installed at/Applications/Comet.app
- Windows: Comet should be in%LOCALAPPDATA%\Perplexity\Comet\Application\
- Check if port 9222 is available

"WSL cannot connect to Windows localhost"

- Enable mirrored networking (see WSL section above)
- Or run Claude Code from Windows PowerShell instead of WSL

- Restart Claude Code after config changes

An AI-powered browser automation server for natural language control and web research.

Interact with Perplexity.ai using Puppeteer without an API key. Requires Node.js and stores chat history locally.

One API key gives agents access to 80+ tools: web search, deep search, browser automation, screenshots, 400+ LLM models, image generation, text-to-speech, sound effects, and phone verification. Pay-per-use with spend governance built in.

Web scraping, crawling, and change detection with AI

Hyperbrowser is the next-generation platform empowering AI agents and enabling effortless, scalable browser automation.

Leverage Notte Web AI agents & cloud browser sessions for scalable browser automation & scraping workflows

AI-powered browser automation MCP server — navigate sites, fill forms, extract data, and handle logins via Claude Code CLI

A deep research agent powered by Crew AI and the LinkUp API.

AI powered automation toolkit which acts as an agent that discovers MCP servers for you. Point it at GitHub/npm/configure your own discovery, let GPT or Claude analyze the API or MCP or any tool, get ready-to-ship plugin configs. Zero manual work.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.