npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

web-research-mcp

v0.1.0

Published

MCP server for web research — search and fetch tools via DuckDuckGo

Readme

Web Research MCP

MCP server for web research with DuckDuckGo search and content extraction.

No API keys. No configuration. Just npx and go.

npm License: MIT Node.js


Table of Contents


Quick Start

Add the server to your MCP client config. No install needed — npx handles everything.

Claude Code (.mcp.json in project root):

{
  "mcpServers": {
    "web-research": {
      "command": "npx",
      "args": ["web-research-mcp"]
    }
  }
}

OpenCode (opencode.json):

{
  "mcpServers": {
    "web-research": {
      "command": "npx",
      "args": ["web-research-mcp"]
    }
  }
}

Or run it directly:

npx web-research-mcp

What It Does

Two MCP tools for AI assistants to search the web and extract page content:

  • multi_search — Search DuckDuckGo with multiple queries in parallel
  • fetch_pages — Fetch and extract clean text from web pages

No API keys required. Works with any MCP-compatible client.


Looking for Pre-Built Agents?

If you want ready-to-use AI agents for web research (not just the raw tools), check out web-research-toolkit. It installs pre-built agents and skills for Claude Code and OpenCode — one command, fully configured.

npx web-research-toolkit install opencode

Tools

multi_search

Search the web using multiple queries via DuckDuckGo. Returns deduplicated results across all queries.

| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | queries | string[] | Yes | — | Search queries to execute | | results_per_query | number | No | 5 | Number of results per query |

Returns: Deduplicated URLs, snippets, titles, and per-query mapping.

Example call:

{
  "queries": ["rust async runtime", "tokio vs async-std"],
  "results_per_query": 3
}

fetch_pages

Fetch and extract clean text content from multiple web pages in parallel.

| Parameter | Type | Required | Default | Description | |-----------|------|----------|---------|-------------| | urls | string[] | Yes | — | URLs to fetch | | max_chars | number | No | 15000 | Max characters per page | | timeout | number | No | 30 | Timeout in seconds per request |

Returns: Extracted text content, page titles, and per-URL error details.

Example call:

{
  "urls": ["https://docs.rs/tokio/latest/tokio/", "https://async.rs/"],
  "max_chars": 10000
}

How It Works

  • Search — Scrapes DuckDuckGo HTML results (no API key needed). Runs queries in parallel and deduplicates URLs across results.
  • Content extraction — Uses Mozilla Readability to extract article text from raw HTML, stripping navigation, ads, and boilerplate.
  • Smart truncation — Limits extracted text to max_chars to keep responses within context window limits.
  • Parallel fetching — Fetches multiple pages concurrently with per-request timeouts.

License

MIT