MCP Web Research Server
一个用于网络研究的模型上下文协议(MCP)服务器。将实时信息带入 Claude,轻松研究任何主题。
Tools
search_google
Search Google for a query
visit_page
Visit a webpage and extract its content
take_screenshot
Take a screenshot of the current page
README
MCP Web Research Server
一个用于网络研究的模型上下文协议 (MCP) 服务器。
将实时信息带入 Claude,轻松研究任何主题。
功能
- Google 搜索集成
- 网页内容提取
- 研究会话跟踪(已访问页面列表、搜索查询等)
- 屏幕截图捕获
前提条件
- Node.js >= 18 (包含
npm
和npx
) - Claude 桌面应用
安装
首先,确保您已下载并安装了 Claude 桌面应用 并且您已安装 npm。
接下来,将以下条目添加到您的 claude_desktop_config.json
中(在 Mac 上,位于 ~/Library/Application\ Support/Claude/claude_desktop_config.json
):
{
"mcpServers": {
"webresearch": {
"command": "npx",
"args": ["-y", "@mzxrai/mcp-webresearch@latest"]
}
}
}
此配置允许 Claude 桌面在需要时自动启动 Web Research MCP 服务器。
用法
只需与 Claude 开始聊天,并发送一个可以从网络研究中受益的提示。如果您想要一个为更深入的网络研究定制的预构建提示,您可以使用我们通过此软件包提供的 agentic-research
提示。通过单击聊天输入中的回形针图标,然后选择 Choose an integration
→ webresearch
→ agentic-research
,在 Claude 桌面中访问该提示。
<img src="https://i.ibb.co/N6Y3C0q/Screenshot-2024-12-05-at-11-01-27-PM.png" alt="Example screenshot of web research" width="400"/>
工具
-
search_google
- 执行 Google 搜索并提取结果
- 参数:
{ query: string }
-
visit_page
- 访问网页并提取其内容
- 参数:
{ url: string, takeScreenshot?: boolean }
-
take_screenshot
- 拍摄当前页面的屏幕截图
- 无需参数
提示
agentic-research
一个引导式研究提示,可帮助 Claude 进行彻底的网络研究。该提示指示 Claude:
- 从广泛的搜索开始,以了解主题概况
- 优先考虑高质量、权威的来源
- 根据发现迭代地改进研究方向
- 随时通知您并让您以交互方式指导研究
- 始终引用带有 URL 的来源
资源
我们将两件事作为 MCP 资源公开:(1)捕获的网页屏幕截图,以及(2)研究会话。
屏幕截图
当您拍摄屏幕截图时,它会保存为 MCP 资源。您可以通过回形针图标在 Claude 桌面中访问捕获的屏幕截图。
研究会话
服务器维护一个研究会话,其中包括:
- 搜索查询
- 已访问的页面
- 提取的内容
- 屏幕截图
- 时间戳
建议
为了获得最佳结果,如果您在进行研究时选择不使用 agentic-research
提示,建议 Claude 在研究一般主题时使用高质量的来源可能会有所帮助。例如,您可以提示 reuters or AP 的今日新闻
而不是 今日新闻
。
问题
这在很大程度上是 pre-alpha 代码。它也是 AIGC,所以请期待错误。
如果您遇到问题,检查 Claude 桌面的 MCP 日志可能会有所帮助:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
开发
# 安装依赖
pnpm install
# 构建项目
pnpm build
# 监听更改
pnpm watch
# 在开发模式下运行
pnpm dev
要求
- Node.js >= 18
- Playwright(作为依赖项自动安装)
验证平台
- [x] macOS
- [ ] Linux
许可证
MIT
作者
推荐服务器
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Neon MCP Server
MCP server for interacting with Neon Management API and databases
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。
mcp-server-qdrant
这个仓库展示了如何为向量搜索引擎 Qdrant 创建一个 MCP (Managed Control Plane) 服务器的示例。
mult-fetch-mcp-server
A versatile MCP-compliant web content fetching tool that supports multiple modes (browser/node), formats (HTML/JSON/Markdown/Text), and intelligent proxy detection, with bilingual interface (English/Chinese).
AIO-MCP Server
🚀 All-in-one MCP server with AI search, RAG, and multi-service integrations (GitLab/Jira/Confluence/YouTube) for AI-enhanced development workflows. Folk from
Knowledge Graph Memory Server
为 Claude 实现持久性记忆,使用本地知识图谱,允许 AI 记住用户的信息,并可在自定义位置存储,跨对话保持记忆。
Hyperbrowser
欢迎来到 Hyperbrowser,人工智能的互联网。Hyperbrowser 是下一代平台,旨在增强人工智能代理的能力,并实现轻松、可扩展的浏览器自动化。它专为人工智能开发者打造,消除了本地基础设施和性能瓶颈带来的麻烦,让您能够:
https://github.com/Streen9/react-mcp
react-mcp 与 Claude Desktop 集成,能够根据用户提示创建和修改 React 应用程序。
MCP Atlassian
适用于 Atlassian Cloud 产品(Confluence 和 Jira)的 Model Context Protocol (MCP) 服务器。此集成专为 Atlassian Cloud 实例设计,不支持 Atlassian Server 或 Data Center 部署。