Overview
Install the open-source comet-mcp server so Claude Code can pass web research to the Perplexity Comet browser and get the findings back while it stays on your coding task.
Problem or Objective
- Which agents investigate a question and report back?
- Which agents can operate a web browser for you?
- Which agents take on multi-step tasks in the background and report back when they finish or need approval?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Claude Code · Perplexity Comet · comet-mcp · Node.js
- Prerequisites
- Node.js 18 or later, the Perplexity Comet browser and Claude Code (or another MCP client), on macOS, Windows or WSL2 (WSL2 needs mirrored networking), as the comet-mcp README lists.
How It Works
Install the Comet browser and Node.js 18 or later. Add the comet-mcp server to your Claude Code configuration (the user file or a project .mcp.json, as its README shows) and restart Claude Code so the tools appear. In a coding session, ask Claude Code to use Comet for a specific lookup, for example the current documentation for a library version you are upgrading, or a comparison of two packages. Claude Code sends the goal to Comet, Comet does the clicking and searching in its own browser, and the result comes back into the session. Open the pages Comet relied on before you change code because of them. Keep the requests to reading and research: do not ask it to sign in, submit forms or buy anything on your behalf. Close Comet when you finish so its debugging connection is not left open.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Perplexity Comet, Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Claude Code, Perplexity Comet, comet-mcp, Node.js.
- Check the prerequisitesNode.js 18 or later, the Perplexity Comet browser and Claude Code (or another MCP client), on macOS, Windows or WSL2 (WSL2 needs mirrored networking), as the comet-mcp README lists.
- Gather your detailsCollect what the prompt asks for: What to look up, Sources to prefer, Files the change would touch.
- Run the starter promptPaste the starter prompt below into Perplexity Comet and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at github.com before you rely on it.
Practical Starter Prompt: Look something up through Comet
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Use the Comet tools to research [What to look up] for this project. Limit the search to [Sources to prefer] where possible. Only read pages: do not sign in anywhere, fill in forms or buy anything. Bring back a short answer with the link to every page it relies on, and list anything that conflicts between sources. Do not change any code until I have read the answer and told you which change to make in [Files the change would touch].Open the linked pages yourself before you approve a code change. Close Comet after the session so its debugging connection does not stay open.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The comet-mcp README describes the design: Claude sends high-level goals, Comet figures out the clicks, scrolls and searches, and the results flow back to Claude; the server starts Comet with remote debugging when it is needed. Perplexity's own page presents Comet as a browser with an assistant and lists the platforms it runs on, but does not mention this bridge, so it is a community project rather than an official integration.
Limitations and Considerations
The bridge starts Comet with remote debugging, which lets local programs control that browser, so run it only on a machine you trust, avoid having signed-in personal accounts open in Comet during research, and close Comet afterwards. Check what the comet-mcp package does before installing it with npx, as it is a third-party project. Check every source Comet reports before you rely on it. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
Original Implementation
The code published by the people behind this use case.
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- hanzili/comet-mcp README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 27 Nov 2026, 11:10 UTC
What this source supports
- Claude sends high-level goals ("research X", "log into Y").
- Comet figures out the clicks, scrolls, and searches.
- Results flow back to Claude.
- The MCP server automatically launches Comet with remote debugging when needed.
- Comet Browser: a Personal AI Assistant (opens in a new tab)
Project documentation · perplexity.ai · Undated · Source checked 25 Nov 2026, 11:58 UTC
What this source supports
- Available for Mac, Windows, iOS, and Android

