Skip to main content
Glama
MCP Web Research Server

MCP Web Research Server

MCP Web Research Server

A Model Context Protocol (MCP) server for web research.

Bring real-time info into Claude and easily research any topic.

Features

  • Google search integration --- THIS FORK FIXES THIS --- NOW NO LONGER GETTING CAPTCHA BLOCKED

  • Webpage content extraction

  • Research session tracking (list of visited pages, search queries, etc.)

  • Screenshot capture

Related MCP server: MCP Web Research Server

Prerequisites

Installation

First, ensure you've downloaded and installed the Claude Desktop app and you have npm installed.

Next, add this entry to your claude_desktop_config.json (on Mac, found at ~/Library/Application\ Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "webresearch": {
      "command": "npx",
      "args": ["-y", "@mzxrai/mcp-webresearch@latest"]
    }
  }
}

This config allows Claude Desktop to automatically start the web research MCP server when needed.

Usage

Simply start a chat with Claude and send a prompt that would benefit from web research. If you'd like a prebuilt prompt customized for deeper web research, you can use the agentic-research prompt that we provide through this package. Access that prompt in Claude Desktop by clicking the Paperclip icon in the chat input and then selecting Choose an integration → webresearch → agentic-research.

Tools

  1. search_google

    • Performs Google searches and extracts results

    • Arguments: { query: string }

  2. visit_page

    • Visits a webpage and extracts its content

    • Arguments: { url: string, takeScreenshot?: boolean }

  3. take_screenshot

    • Takes a screenshot of the current page

    • No arguments required

Prompts

agentic-research

A guided research prompt that helps Claude conduct thorough web research. The prompt instructs Claude to:

  • Start with broad searches to understand the topic landscape

  • Prioritize high-quality, authoritative sources

  • Iteratively refine the research direction based on findings

  • Keep you informed and let you guide the research interactively

  • Always cite sources with URLs

Resources

We expose two things as MCP resources: (1) captured webpage screenshots, and (2) the research session.

Screenshots

When you take a screenshot, it's saved as an MCP resource. You can access captured screenshots in Claude Desktop via the Paperclip icon.

Research Session

The server maintains a research session that includes:

  • Search queries

  • Visited pages

  • Extracted content

  • Screenshots

  • Timestamps

Suggestions

For the best results, if you choose not to use the agentic-research prompt when doing your research, it may be helpful to suggest high-quality sources for Claude to use when researching general topics. For example, you could prompt news today from reuters or AP instead of news today.

Problems

This is very much pre-alpha code. And it is also AIGC, so expect bugs.

If you run into issues, it may be helpful to check Claude Desktop's MCP logs:

tail -n 20 -f ~/Library/Logs/Claude/mcp*.log

Development

# Install dependencies
pnpm install

# Build the project
pnpm build

# Watch for changes
pnpm watch

# Run in development mode
pnpm dev

Requirements

  • Node.js >= 18

  • Playwright (automatically installed as a dependency)

Verified Platforms

  • macOS

  • Linux

  • Windows

License

MIT

Author

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.

    Related MCP Connectors

    Related MCP Servers