
hanzili/comet-mcp 是从 https://github.com/hanzili/comet-mcp. 导入的 MCP 服务器候选
概览
hanzili/comet-mcp 是从 https://github.com/hanzili/comet-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
给Claude Code一个会思考的浏览器。
一个连接 Claude Code 与 Perplexity Comet 的 MCP 服务器——支持代理式网页浏览、深度研究和实时任务监控。
为什么?
现有的 Claude Code 网页工具分为两类,各有局限性:
1.搜索API(Tavily、Perplexity API、WebFetch)
返回静态文本。无交互,无登录,无动态内容。适合快速查找,但无法浏览复杂网站或填写表单。
2.浏览器自动化(浏览器使用,Puppeteer MCP,Playwright MCP)
可以与页面交互,但要采用一个代理全能的做法:写代码的同一个推理模型也在决定点击哪里、输入什么以及如何导航。这会压倒上下文窗口,分散注意力。
3.彗星MCP:多代理代表团
Comet MCP 采取了不同的方法。 它不再由 Claude 直接控制浏览器,而是委托给 Perplexity Comet——一个专为网页研究和浏览而设计的人工智能。
- Claude 专注于你的编码任务
- Comet 负责浏览:导航、登录墙、动态内容、深度研究
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
comet-mcp
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.
Why?
Existing web tools for Claude Code fall into two categories, both with limitations:
1. Search APIs (Tavily, Perplexity API, WebFetch)
Return static text. No interaction, no login, no dynamic content. Great for quick lookups, but can’t navigate complex sites or fill forms.
2. Browser Automation (browser-use, Puppeteer MCP, Playwright MCP)
Can 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.
3. Comet MCP: Multi-Agent Delegation
Comet MCP takes a different approach. Instead of Claude controlling a browser directly, it delegates to Perplexity Comet - an AI purpose-built for web research and browsing.
- Claude stays focused on your coding task
- Comet handles the browsing: navigation, login walls, dynamic content, deep research
- Result: Claude’s coding intelligence + Perplexity’s web intelligence, working together
Quick Start
1. Configure Claude Code
Add to ~/.claude.json or .mcp.json:
{
"mcpServers": {
"comet-bridge": {
"command": "npx",
"args": ["-y", "comet-mcp"]
}
}
}
2. Install Comet Browser
Download and install Perplexity Comet.
That’s it! The MCP server automatically launches Comet with remote debugging when needed.
3. Use in Claude Code
You: "Use Comet to research the top AI frameworks in 2025"
Claude: [delegates to Comet, monitors progress, returns results]
You: "Log into my GitHub and check my notifications"
Claude: [Comet handles the login flow and navigation]
Tools
| Tool | Description |
|---|---|
comet_connect |
Connect to Comet (auto-starts if needed) |
comet_ask |
Send a task and wait for response |
comet_poll |
Check progress on long-running tasks |
comet_stop |
Stop current task |
comet_screenshot |
Capture current page |
comet_mode |
Switch modes: search, research, labs, learn |
How It Works
Claude Code → MCP Server → CDP → Comet Browser → Perplexity AI
(reasoning) (bridge) (web browsing)
Claude sends high-level goals (“research X”, “log into Y”). Comet figures out the clicks, scrolls, and searches. Results flow back to Claude.
Requirements
- Node.js 18+
安装
npx -y comet-mcp配置
{
"mcpServers": {
"comet-bridge": {
"command": "npx",
"args": ["-y", "comet-mcp"]
}
}
}