Comet MCP
MCP server by hanzili Verified · npm:comet-mcp
Comet MCP connects Claude Code to Perplexity Comet for agentic web browsing, deep research and task monitoring. It is for developers who want Claude to hand browsing work to Comet. Comet must be installed on the same machine.
Install Comet MCP
Built from the published package, never by AI.
claude mcp add comet-mcp -- npx -y comet-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"comet-mcp": {
"args": [
"-y",
"comet-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"comet-mcp": {
"args": [
"-y",
"comet-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"comet-mcp": {
"args": [
"-y",
"comet-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add comet-mcp -- npx -y comet-mcp{
"mcpServers": {
"comet-mcp": {
"args": [
"-y",
"comet-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add comet-mcp npx -y comet-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the comet-mcp block.
About
Comet MCP is an MCP server that links Claude Code to Perplexity Comet, a browser built for web research and browsing. Instead of Claude driving a browser directly, it hands browsing tasks such as navigation, login flows, dynamic content and deep research to Comet. The server gives Claude tools to send tasks, poll progress, stop tasks, take screenshots and switch modes.
Claude sends high-level goals through the MCP server, which talks to Comet over CDP. The server launches Comet with remote debugging when needed. It runs on macOS, Windows and WSL2, and is aimed at developers who want Claude Code to keep focus on coding while Comet handles the web. The project is MIT licensed.
Written from the project's README and checked against it.
Tools it gives your assistant
comet_connectConnects to Comet and auto-starts it if needed.comet_askSends a task and waits for the response.comet_pollChecks progress on long-running tasks.comet_stopStops the current task.comet_screenshotCaptures the current page.comet_modeSwitches between search, research, labs and learn modes.
What you need
- Node.js 18+
- Perplexity Comet Browser
- Claude Code or any MCP client
- macOS, Windows or WSL2
Try asking
- Use Comet to research the top AI frameworks in 2025
- Log into my GitHub and check my notifications
- Stop the current Comet task
Good to know
- WSL2 requires mirrored networking to connect to Comet on Windows.
- Supported platforms are listed as macOS, Windows and WSL2.
- Port 9222 must be available for the connection.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Comet MCP
All alternatives →Browser Use runs an AI model in a real browser, where it completes web tasks by writing Python against Chrome DevTools Protocol. It is for developers who want to fill forms, navigate sites and extract data locally or on Browser Use Cloud.
Pomerado builds MCP integrations for websites, including sites without an API, from a plain language task description. It is for people who want their agent to use a site reliably without computer use.
Selenide MCP server runs browser automation for AI assistants. It is built on the Selenide Java testing framework, which wraps Selenium WebDriver 4.0+. It suits developers who want AI agents to drive UI tests.
SeleniumBase is a Python browser automation framework for stealth browsing, end-to-end testing and web scraping. It uses CDP Mode to work with Chromium-based browsers, and it is aimed at software teams.
Camofox Browser MCP exposes the camofox-browser REST API as MCP tools for AI coding assistants. It proxies to an already-running camofox-browser server, so agents can browse sites that block standard automation.
Cline is an open source coding agent that edits files, runs commands, and uses the browser. It works in a terminal CLI, a macOS and Windows desktop app, VS Code, JetBrains IDEs, and an SDK for developers building their own agents.
Compare with browser-use, Pomerado or Selenide
Comet MCP: common questions
Which platforms does Comet MCP support?
The source lists macOS, Windows and WSL2 as supported platforms. WSL2 needs mirrored networking to reach Comet running on Windows.
How does Claude use Comet through this server?
Claude sends high-level goals through the MCP server, which connects to Comet over CDP. Comet works out the clicks, scrolls and searches, and results flow back to Claude.
What if Comet is installed in a custom folder?
You can set the COMET_PATH environment variable in the MCP server configuration to the path of your Comet installation.
How do I install Comet MCP?
In Claude Code run claude mcp add comet-mcp -- npx -y comet-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Comet MCP the official server?
Comet MCP is published by npm:comet-mcp from its verified domain in the official MCP Registry.
Is Comet MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Comet MCP safe to use?
It scores 63 of 100. Grades: maintenance D, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Comet MCP?
Similar MCP servers: browser-use, Pomerado, Selenide, SeleniumBase MCP.
Does Comet MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
