NestDaddy

Mcp Web Research

io.github.Opafex/mcp-web-research · v0.1.0

Web search (Brave) and SSRF-safe page fetching, extraction and comparison for agents

Connect Runs on your machine

Terminal
claude mcp add mcp-web-research -e BRAVE_SEARCH_API_KEY=<BRAVE_SEARCH_API_KEY> -e WEB_RESEARCH_SEARCH_PROVIDER=<WEB_RESEARCH_SEARCH_PROVIDER> -e USER_AGENT=<USER_AGENT> -e SEARCH_CACHE_TTL=<SEARCH_CACHE_TTL> -e PAGE_CACHE_TTL=<PAGE_CACHE_TTL> -e FETCH_TIMEOUT_MS=<FETCH_TIMEOUT_MS> -e MAX_HTML_SIZE=<MAX_HTML_SIZE> -- npx -y @opafex/[email protected]
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-web-research": {
      "command": "npx",
      "args": [
        "-y",
        "@opafex/[email protected]"
      ],
      "env": {
        "BRAVE_SEARCH_API_KEY": "<BRAVE_SEARCH_API_KEY>",
        "WEB_RESEARCH_SEARCH_PROVIDER": "<WEB_RESEARCH_SEARCH_PROVIDER>",
        "USER_AGENT": "<USER_AGENT>",
        "SEARCH_CACHE_TTL": "<SEARCH_CACHE_TTL>",
        "PAGE_CACHE_TTL": "<PAGE_CACHE_TTL>",
        "FETCH_TIMEOUT_MS": "<FETCH_TIMEOUT_MS>",
        "MAX_HTML_SIZE": "<MAX_HTML_SIZE>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-web-research": {
      "command": "npx",
      "args": [
        "-y",
        "@opafex/[email protected]"
      ],
      "env": {
        "BRAVE_SEARCH_API_KEY": "<BRAVE_SEARCH_API_KEY>",
        "WEB_RESEARCH_SEARCH_PROVIDER": "<WEB_RESEARCH_SEARCH_PROVIDER>",
        "USER_AGENT": "<USER_AGENT>",
        "SEARCH_CACHE_TTL": "<SEARCH_CACHE_TTL>",
        "PAGE_CACHE_TTL": "<PAGE_CACHE_TTL>",
        "FETCH_TIMEOUT_MS": "<FETCH_TIMEOUT_MS>",
        "MAX_HTML_SIZE": "<MAX_HTML_SIZE>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-web-research": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@opafex/[email protected]"
      ],
      "env": {
        "BRAVE_SEARCH_API_KEY": "<BRAVE_SEARCH_API_KEY>",
        "WEB_RESEARCH_SEARCH_PROVIDER": "<WEB_RESEARCH_SEARCH_PROVIDER>",
        "USER_AGENT": "<USER_AGENT>",
        "SEARCH_CACHE_TTL": "<SEARCH_CACHE_TTL>",
        "PAGE_CACHE_TTL": "<PAGE_CACHE_TTL>",
        "FETCH_TIMEOUT_MS": "<FETCH_TIMEOUT_MS>",
        "MAX_HTML_SIZE": "<MAX_HTML_SIZE>"
      }
    }
  }
}

Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.

Tools

This server runs locally, so its tools are listed by your MCP client once it starts.

Environment variables

NameDescription
BRAVE_SEARCH_API_KEY
Optional, secret
Brave Search API key; enables web_search and research_topic (recommended)
WEB_RESEARCH_SEARCH_PROVIDER
Optional
Search provider: "brave" or "duckduckgo" (unofficial HTML scraper, explicit opt-in only)
USER_AGENT
Optional
User-Agent sent with every request (default identifies the bot and links to the repo)
SEARCH_CACHE_TTL
Optional
Search result cache TTL in seconds (default: 900)
PAGE_CACHE_TTL
Optional
Fetched page cache TTL in seconds (default: 3600)
FETCH_TIMEOUT_MS
Optional
Per-request timeout in milliseconds, across all redirect hops (default: 10000)
MAX_HTML_SIZE
Optional
Maximum bytes read from a page body (default: 1000000)

Details

Package@opafex/[email protected] (NPM, stdio)
First published24 Oct 2026
Last updated24 Oct 2026
Registry nameio.github.Opafex/mcp-web-research

More search and web servers See all

Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.