home / mcp / comet mcp bridge server
Connect Claude Code to Perplexity Comet for agentic web browsing and deep research via an MCP bridge.
Configuration
View docs{
"mcpServers": {
"hanzili-comet-mcp": {
"command": "npx",
"args": [
"-y",
"comet-mcp"
]
}
}
}You connect Claude Code to Perplexity Comet through a dedicated MCP server, enabling agentic web browsing, deep research, and real-time task monitoring. This bridge lets Claude Code delegate research tasks to Comet while you oversee progress and gather results.
Use an MCP client to connect to the Comet MCP bridge. Configure a server in your client with the provided MCP command, then start Perplexity Comet and initiate tasks from Claude Code. You can request research tasks, monitor progress, and retrieve results once they’re complete.
Prerequisites you need before starting:
- Node.js 18+ installed on your machine
- Perplexity Comet Browser installed and ready for remote debugging if you plan to use it with Claude Code
{
"mcpServers": {
"comet_bridge": {
"command": "npx",
"args": ["-y", "comet-mcp"]
}
}
}With the bridge configured, you can trigger research tasks from Claude Code and let Comet handle the web browsing, dynamic content retrieval, and progress monitoring. Claude Code will delegate the research work to Comet, which returns structured results you can use directly in your project.
Cannot connect to Comet - Ensure Comet is running with the remote debugging port enabled (e.g., --remote-debugging-port=9222). - Check that port 9222 is not in use by another process.
Only run the MCP bridge on trusted machines and avoid exposing the MCP endpoint to untrusted networks. Manage access to Claude Code and Comet carefully to prevent unauthorized task control.
MIT
Connect to Comet (auto-starts if needed)
Send a task and wait for response
Check task progress
Stop current task
Capture current page
Switch modes: search, research, labs, learn