Comet

Browser automationWeb search and scraping

MCP Server connecting to Perplexity Comet browser.

Your AI app calls the Comet MCP server, which does the browser automation and web search and scraping work and sends the result back to the chat.

About Comet

Comet is a community MCP server from hanzili, filed in our directory under browser automation and web search and scraping. MCP Server connecting to Perplexity Comet browser.

At a glance

Publisher
hanzili (community)
Runs
See the README for setup
Written in
TypeScript
License
MIT
GitHub stars
183

How to set up Comet

  1. Follow the install steps in the Comet README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Comet README for keys or settings; the registry lists none that Comet requires.
  3. Add Comet to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Comet tools to confirm the connection.
  5. Run one read-only task with Comet first, and keep your app asking before each tool call until the results look right.

Comet compared with similar servers

  • BrowserMCP (jackwener) by jackwener has fewer GitHub stars than Comet (182 against 183); both are community servers, and both run locally.
  • Toolkit by nuxt-modules has more GitHub stars than Comet (184 against 183); both are community servers, and Toolkit runs as a remote server and Comet runs on your own machine.
  • Wechat DevTools by WaterTian has fewer GitHub stars than Comet (172 against 183); both are community servers, and both run locally.

Before you connect Comet

  • Give Comet its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Comet tool call until you trust what it does with them.
  • Treat text that Comet fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Comet on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Comet

How marketing and sales teams put Comet to work, by company size. Pick the size closest to yours and start Comet on one use case.

Small business

  • A small business can use Comet to check its own site after every change: forms submit, links work and checkout still loads.
  • Owners can have Comet collect competitor prices or offers from public pages once a week, instead of doing it by hand.
  • A founder can use Comet to research a market or a prospect in minutes, with sources cited, before a pitch or a pricing change.
  • Comet runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can run Comet to test landing pages and signup flows on every release, catching a broken form before paid traffic hits it.
  • Growth teams can use Comet to capture screenshots of ads and pages across markets for reviews and audits.
  • Marketing teams can use Comet to gather fresh data for content, such as stats, quotes and examples, with each source linked for checking.
  • Start Comet on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Comet in isolated environments with allow-listed sites, so browsing agents never reach internal or unknown pages.
  • Large web teams can use Comet for regression checks across many locales and devices, feeding results into release gates.
  • Enterprise research and competitive intel teams can schedule Comet to monitor many sources, with results stored and cited for review.
  • Comet is a community server, so have security review the code and pin a version before Comet touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Comet README

From hanzili/comet-mcp on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

comet-mcp

Give Claude Code a browser that thinks.

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

Why?

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 a one-agent-do-all approach: 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.

3. Comet MCP: Multi-Agent Delegation

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

  • Claude stays focused on your coding task
  • Comet handles the browsing: navigation, login walls, dynamic content, deep research
  • Result: Claude's coding intelligence + Perplexity's web intelligence, working together

Quick Start

1. Configure Claude Code

Add to ~/.claude.json or .mcp.json:

{
  "mcpServers": {
    "comet-bridge": {
      "command": "npx",
      "args": ["-y", "comet-mcp"]
    }
  }
}
2. Install Comet Browser

Download and install Perplexity Comet.

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

3. Use in Claude Code
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]

Tools

Tool Description
comet_connect Connect to Comet (auto-starts if needed)
comet_ask Send a task and wait for response
comet_poll Check progress on long-running tasks
comet_stop Stop current task
comet_screenshot Capture current page
comet_mode Switch modes: search, research, labs, learn

How It Works

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.

Requirements

Windows & WSL Support

Native Windows

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

WSL2 (Windows Subsystem for Linux)

WSL2 requires mirrored networking to connect to Comet running on Windows:

  1. Enable mirrored networking (one-time setup):

    # Create/edit %USERPROFILE%\.wslconfig (Windows side)
    [wsl2]
    networkingMode=mirrored
    
  2. Restart WSL:

    wsl --shutdown
    # Then reopen your WSL terminal
    
  3. 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.

Custom Comet Path

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"
      }
    }
  }
}

Troubleshooting

"Cannot connect to 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

"Tools not showing in Claude"

  • Restart Claude Code after config changes

License

MIT

Report Issues · Contribute

Questions about Comet

What is the Comet MCP server?

MCP Server connecting to Perplexity Comet browser. Comet is maintained by hanzili on GitHub at hanzili/comet-mcp, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Comet MCP server?

Comet doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (hanzili/comet-mcp). Like most servers, Comet ends with a command or URL you paste into your AI app's MCP config.

Does Comet need an API key?

The registry lists no required keys for Comet. Check the Comet README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Comet an official MCP server?

No. Comet is a community server maintained by hanzili. Community servers can be excellent; read the code and the open issues before you give Comet access to company data.

What license is Comet under?

Comet is released under the MIT license, according to its GitHub repository. The license covers the code of Comet; the service it connects to has its own terms.