Skip to main content
Glama
MCP Web Research Server

MCP Web Research Server

MCP 网络研究服务器

用于网络研究的模型上下文协议 (MCP) 服务器。

将实时信息带入 Claude 并轻松研究任何主题。

特征

  • 谷歌搜索集成 --- 此分支修复了此问题 --- 现在不再阻止验证码

  • 网页内容提取

  • 研究会话跟踪(访问过的页面列表、搜索查询等)

  • 屏幕截图

Related MCP server: MCP Web Research Server

先决条件

安装

首先,确保您已经下载并安装了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即可访问该提示。

工具

  1. search_google

    • 执行 Google 搜索并提取结果

    • 参数: { query: string }

  2. visit_page

    • 访问网页并提取其内容

    • 参数: { url: string, takeScreenshot?: boolean }

  3. 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

  • [x] Linux

  • [x] Windows

执照

麻省理工学院

作者

mzxrai

Available Tools

4 tools
search_googleA

Performs a web search using Google, ideal for finding current information, news, websites, and general knowledge. Use this tool when you need to research topics, find recent information, or gather data from the web. Returns structured search results with titles, URLs, and snippets.

Inputs: query (required).

search_scholarA

Searches Google Scholar for academic papers and scholarly articles. Use this tool when researching scientific topics, looking for peer-reviewed research, academic citations, or scholarly literature. Returns structured data including titles, authors, publication details, and citation counts. Ideal for academic research and evidence-based inquiries.

Inputs: query (required).

take_screenshotA

Captures a visual image of the currently loaded webpage. Use this tool when you need to preserve visual information, analyze page layouts, or document the current state of a webpage. Perfect for situations where textual content alone doesn't convey the full context.

Inputs: no named parameters.

visit_pageA

Navigates to a specific URL and extracts the page content in readable format, with option to capture a screenshot. Use this tool to deeply analyze specific web pages, read articles, examine documentation, or verify information directly from the source. Especially useful for in-depth research after identifying relevant pages via search.

Inputs: url (required), takeScreenshot.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: general web search vs. academic search vs. page content extraction vs. visual capture. No overlaps in functionality.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with snake_case (search_google, search_scholar, take_screenshot, visit_page), making them predictable.

    Tool Count5/5

    Four tools is well-scoped for a web research server—enough to cover core tasks without unnecessary complexity.

    Completeness4/5

    The set covers search (web and academic), page visiting, and screenshot capabilities. Missing a tool for managing search history or saving results, but core research workflows are supported.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers