MCP directory
MW

Mcp Web Research

by github.com/Opafex · v0.1.0 · updated Oct 24, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @opafex/[email protected]

Environment variables

  • BRAVE_SEARCH_API_KEYsecret

    Brave Search API key; enables web_search and research_topic (recommended)

  • WEB_RESEARCH_SEARCH_PROVIDER

    Search provider: "brave" or "duckduckgo" (unofficial HTML scraper, explicit opt-in only)

  • USER_AGENT

    User-Agent sent with every request (default identifies the bot and links to the repo)

  • SEARCH_CACHE_TTL

    Search result cache TTL in seconds (default: 900)

  • PAGE_CACHE_TTL

    Fetched page cache TTL in seconds (default: 3600)

  • FETCH_TIMEOUT_MS

    Per-request timeout in milliseconds, across all redirect hops (default: 10000)

  • MAX_HTML_SIZE

    Maximum bytes read from a page body (default: 1000000)

More from github.com/Opafex

More MCP servers