A Model Context Protocol (MCP) server for web research. Bring real-time info into Claude and easily research any topic. - Google search integration - Webpage content extraction - Research session tracking (list of visited pages, search queries, etc.) - Screenshot capture - Node.js >= 18 (includes npm and npx) - Claude Desktop app First, ensure you've downloaded and installed the Claude Desktop app
Add this skill
npx mdskills install mzxrai/mcp-webresearchWell-documented web research MCP server with useful tools and clear setup instructions
1# MCP Web Research Server23A Model Context Protocol (MCP) server for web research.45Bring real-time info into Claude and easily research any topic.67## Features89- Google search integration10- Webpage content extraction11- Research session tracking (list of visited pages, search queries, etc.)12- Screenshot capture1314## Prerequisites1516- [Node.js](https://nodejs.org/) >= 18 (includes `npm` and `npx`)17- [Claude Desktop app](https://claude.ai/download)1819## Installation2021First, ensure you've downloaded and installed the [Claude Desktop app](https://claude.ai/download) and you have npm installed.2223Next, add this entry to your `claude_desktop_config.json` (on Mac, found at `~/Library/Application\ Support/Claude/claude_desktop_config.json`):2425```json26{27 "mcpServers": {28 "webresearch": {29 "command": "npx",30 "args": ["-y", "@mzxrai/mcp-webresearch@latest"]31 }32 }33}34```3536This config allows Claude Desktop to automatically start the web research MCP server when needed.3738## Usage3940Simply 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`.4142<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"/>4344### Tools45461. `search_google`47 - Performs Google searches and extracts results48 - Arguments: `{ query: string }`49502. `visit_page`51 - Visits a webpage and extracts its content52 - Arguments: `{ url: string, takeScreenshot?: boolean }`53543. `take_screenshot`55 - Takes a screenshot of the current page56 - No arguments required5758### Prompts5960#### `agentic-research`61A guided research prompt that helps Claude conduct thorough web research. The prompt instructs Claude to:62- Start with broad searches to understand the topic landscape63- Prioritize high-quality, authoritative sources64- Iteratively refine the research direction based on findings65- Keep you informed and let you guide the research interactively66- Always cite sources with URLs6768### Resources6970We expose two things as MCP resources: (1) captured webpage screenshots, and (2) the research session.7172#### Screenshots7374When you take a screenshot, it's saved as an MCP resource. You can access captured screenshots in Claude Desktop via the Paperclip icon.7576#### Research Session7778The server maintains a research session that includes:79- Search queries80- Visited pages81- Extracted content82- Screenshots83- Timestamps8485### Suggestions8687For 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`.8889## Problems9091This is very much pre-alpha code. And it is also AIGC, so expect bugs.9293If you run into issues, it may be helpful to check Claude Desktop's MCP logs:9495```bash96tail -n 20 -f ~/Library/Logs/Claude/mcp*.log97```9899## Development100101```bash102# Install dependencies103pnpm install104105# Build the project106pnpm build107108# Watch for changes109pnpm watch110111# Run in development mode112pnpm dev113```114115## Requirements116117- Node.js >= 18118- Playwright (automatically installed as a dependency)119120## Verified Platforms121122- [x] macOS123- [ ] Linux124125## License126127MIT128129## Author130131[mzxrai](https://github.com/mzxrai)
Full transparency — inspect the skill content before installing.