Connects Claude Code to Perplexity Comet for autonomous browsing, research, and multi-tab browser workflows.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Perplexity Comet MCP.
A production-grade MCP (Model Context Protocol) server that bridges Claude Code with Perplexity's Comet browser for autonomous web browsing, research, and multi-tab workflow management.
| Approach | Limitation |
|---|---|
| Search APIs | Static text, no interaction, no login support |
| Browser Automation | Single-agent model overwhelms context, fragments focus |
| Perplexity Comet MCP | Claude codes while Comet handles browsing autonomously |
This is a significantly enhanced fork of hanzili/comet-mcp with Windows support, smart completion detection, robust connection handling, and full tab management.
| Feature | Description |
|---|---|
| Windows/WSL Support | Full compatibility with Windows and WSL environments |
| Tab Management | Track, switch, and close browser tabs with protection |
| Smart Completion | Detect response completion without fixed timeouts |
| Auto-Reconnect | Exponential backoff recovery from connection drops |
| One-Shot Reliability | Pre-operation health checks for consistent execution |
| Agentic Auto-Trigger | Automatically triggers browser actions from natural prompts |
| Capability | Original | Enhanced |
|---|---|---|
| Platform Support | macOS | Windows, WSL, macOS |
| Available Tools | 6 | 8 (+comet_tabs, +comet_upload) |
| Completion Detection | Fixed timeout | Stability-based |
| Connection Recovery | None | Auto-reconnect with backoff |
| Tab Management | None | Full registry and control |
| Health Monitoring | None | Cached health checks |
| Last Tab Protection | None | Prevents browser crash |
Add to your Claude Code MCP settings (~/.claude/settings.json or VS Code settings):
Windows Users: Use the full Windows path:
Establish connection to Comet browser. Auto-launches if not running.
Example:
Send a prompt to Comet and wait for the complete response. Automatically triggers agentic browsing for URLs and action-oriented requests.
Examples:
Check status and progress of ongoing tasks. Returns the response if completed.
Example:
Halt the current agentic task if it goes off track.
Capture a screenshot of the current browser view.
View and manage browser tabs. Essential for multi-tab workflows.
Examples:
Tab Protection:
Switch Perplexity search modes for different use cases.
| Mode | Use Case |
|---|---|
| search | Quick web searches |
| research | Deep, comprehensive analysis |
| labs | Data analytics and visualization |
| learn | Educational explanations |
Upload files to file input elements on web pages. Essential for posting images to social media, attaching files to forms, or uploading documents.
Examples:
Workflow for posting images:
comet_upload checkOnly=true to find file inputscomet_upload filePath="..." selector="..." to attach the file| Component | Purpose |
|---|---|
index.ts | MCP server and tool handlers |
cdp-client.ts | Chrome DevTools Protocol client with reconnection logic |
comet-ai.ts | Perplexity interaction, prompt submission, response extraction |
types.ts | TypeScript interfaces for tabs, state, and CDP types |
| Variable | Description | Default |
|---|---|---|
COMET_PATH | Custom path to Comet executable | Auto-detected |
COMET_PORT | CDP debugging port | 9223 |
Problem: Error: Failed to list targets: ECONNREFUSED
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/perplexity-comet-mcp)<a href="https://allmcps.com/mcp/perplexity-comet-mcp"><img src="https://allmcps.com/api/badge/perplexity-comet-mcp?style=directory" alt="Perplexity Comet MCP on AllMCPs" /></a>