MCP 网络研究服务器
用于网络研究的模型上下文协议 (MCP) 服务器。
将实时信息带入 Claude 并轻松研究任何主题。
特征
Google 搜索集成
网页内容提取
研究会话跟踪(访问过的页面列表、搜索查询等)
屏幕截图
Related MCP server: MCP Fetch
先决条件
安装
首先,确保您已经下载并安装了Claude Desktop 应用程序,并且已经安装了 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 Desktop 在需要时自动启动网络研究 MCP 服务器。
用法
只需与 Claude 开始聊天,并发送一个有助于进行网络研究的提示即可。如果您想要一个预先构建的、针对更深入的网络研究而定制的提示,您可以使用我们通过此软件包提供的agentic-research提示。在 Claude Desktop 中,点击聊天输入框中的回形针图标,然后选择Choose an integration → webresearch研究”→ agentic-research即可访问该提示。
工具
search_google执行 Google 搜索并提取结果
参数:
{ query: string }
visit_page访问网页并提取其内容
参数:
{ url: string, takeScreenshot?: boolean }
take_screenshot截取当前页面的屏幕截图
无需任何参数
提示
agentic-research
引导式研究提示,帮助 Claude 进行深入的网络研究。该提示指导 Claude 执行以下操作:
从广泛的搜索开始,了解主题概况
优先考虑高质量、权威的来源
根据研究结果反复完善研究方向
让您随时了解情况,并让您以交互方式指导研究
始终引用带有 URL 的来源
资源
我们将两件事作为 MCP 资源公开:(1)捕获的网页截图,以及(2)研究会话。
截图
截取的屏幕截图会被保存为 MCP 资源。您可以通过 Claude Desktop 中的回形针图标访问截取的屏幕截图。
研究会议
服务器维护一个研究会话,其中包括:
搜索查询
访问过的页面
提取的内容
截图
时间戳
建议
为了获得最佳效果,如果您选择在研究时不使用agentic-research提示,建议 Claude 在研究一般主题时使用高质量的来源可能会有所帮助。例如,您可以提示news today from reuters or AP ,而不是news today 。
问题
这基本上是 pre-alpha 代码。而且它也是 AIGC,所以可能会有 bug。
如果您遇到问题,检查 Claude Desktop 的 MCP 日志可能会有所帮助:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log发展
# Install dependencies
pnpm install
# Build the project
pnpm build
# Watch for changes
pnpm watch
# Run in development mode
pnpm dev要求
Node.js >= 18
Playwright(作为依赖项自动安装)
已验证的平台
[x] macOS
Linux
执照
麻省理工学院
作者
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to authenticate as an admin.