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. Existing web tools for Claude Code fall into two categories, both with limitations: Return static text. No interaction, no login, no dynamic content. Great for quick lookups, but can't navigate complex sites or fill forms
Add this skill
npx mdskills install hanzili/comet-mcpBridges Claude to Perplexity Comet for multi-agent web browsing with excellent docs
1# comet-mcp23[](https://www.npmjs.com/package/comet-mcp)45<a href="https://glama.ai/mcp/servers/@hanzili/comet-mcp">6 <img width="380" height="200" src="https://glama.ai/mcp/servers/@hanzili/comet-mcp/badge" />7</a>89**Give Claude Code a browser that thinks.**1011An MCP server that connects Claude Code to [Perplexity Comet](https://www.perplexity.ai/comet) - enabling agentic web browsing, deep research, and real-time task monitoring.12131415## Why?1617Existing web tools for Claude Code fall into two categories, both with limitations:1819### 1. Search APIs (Tavily, Perplexity API, WebFetch)20Return static text. No interaction, no login, no dynamic content. Great for quick lookups, but can't navigate complex sites or fill forms.2122### 2. Browser Automation (browser-use, Puppeteer MCP, Playwright MCP)23Can 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.2425### 3. Comet MCP: Multi-Agent Delegation26**Comet MCP takes a different approach.** Instead of Claude controlling a browser directly, it delegates to [Perplexity Comet](https://www.perplexity.ai/comet) - an AI purpose-built for web research and browsing.2728- **Claude** stays focused on your coding task29- **Comet** handles the browsing: navigation, login walls, dynamic content, deep research30- **Result**: Claude's coding intelligence + Perplexity's web intelligence, working together3132## Quick Start3334### 1. Configure Claude Code3536Add to `~/.claude.json` or `.mcp.json`:3738```json39{40 "mcpServers": {41 "comet-bridge": {42 "command": "npx",43 "args": ["-y", "comet-mcp"]44 }45 }46}47```4849### 2. Install Comet Browser5051Download and install [Perplexity Comet](https://www.perplexity.ai/comet).5253That's it! The MCP server automatically launches Comet with remote debugging when needed.5455### 3. Use in Claude Code5657```58You: "Use Comet to research the top AI frameworks in 2025"59Claude: [delegates to Comet, monitors progress, returns results]6061You: "Log into my GitHub and check my notifications"62Claude: [Comet handles the login flow and navigation]63```6465## Tools6667| Tool | Description |68|------|-------------|69| `comet_connect` | Connect to Comet (auto-starts if needed) |70| `comet_ask` | Send a task and wait for response |71| `comet_poll` | Check progress on long-running tasks |72| `comet_stop` | Stop current task |73| `comet_screenshot` | Capture current page |74| `comet_mode` | Switch modes: search, research, labs, learn |7576## How It Works7778```79Claude Code → MCP Server → CDP → Comet Browser → Perplexity AI80 (reasoning) (bridge) (web browsing)81```8283Claude sends high-level goals ("research X", "log into Y"). Comet figures out the clicks, scrolls, and searches. Results flow back to Claude.8485## Requirements8687- Node.js 18+88- [Perplexity Comet Browser](https://www.perplexity.ai/comet)89- Claude Code (or any MCP client)90- **Supported platforms**: macOS, Windows, WSL29192## Windows & WSL Support9394### Native Windows95Works out of the box. Comet MCP auto-detects Windows and launches Comet from its default install location.9697### WSL2 (Windows Subsystem for Linux)98WSL2 requires **mirrored networking** to connect to Comet running on Windows:991001. **Enable mirrored networking** (one-time setup):101 ```102 # Create/edit %USERPROFILE%\.wslconfig (Windows side)103 [wsl2]104 networkingMode=mirrored105 ```1061072. **Restart WSL**:108 ```bash109 wsl --shutdown110 # Then reopen your WSL terminal111 ```1121133. **That's it!** Comet MCP auto-detects WSL and uses PowerShell to communicate with Windows.114115If mirrored networking isn't available, you'll see a helpful error message with setup instructions.116117### Custom Comet Path118If Comet is installed in a non-standard location:119```json120{121 "mcpServers": {122 "comet-bridge": {123 "command": "npx",124 "args": ["-y", "comet-mcp"],125 "env": {126 "COMET_PATH": "/path/to/your/Comet"127 }128 }129 }130}131```132133## Troubleshooting134135**"Cannot connect to Comet"**136- **macOS**: Ensure Comet is installed at `/Applications/Comet.app`137- **Windows**: Comet should be in `%LOCALAPPDATA%\Perplexity\Comet\Application\`138- Check if port 9222 is available139140**"WSL cannot connect to Windows localhost"**141- Enable mirrored networking (see WSL section above)142- Or run Claude Code from Windows PowerShell instead of WSL143144**"Tools not showing in Claude"**145- Restart Claude Code after config changes146147## License148149MIT150151---152153[Report Issues](https://github.com/hanzili/comet-mcp/issues) · [Contribute](https://github.com/hanzili/comet-mcp)154
Full transparency — inspect the skill content before installing.