原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

MCP Web Research

作者:opafex版本 0.1.0i★ –i在你的电脑上运行
注册名称io.github.Opafex/mcp-web-research

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 搜索与 AI 记忆
  • 你需要填写:BRAVE_SEARCH_API_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: BRAVE_SEARCH_API_KEY, WEB_RESEARCH_SEARCH_PROVIDER, USER_AGENT, SEARCH_CACHE_TTL, PAGE_CACHE_TTL, FETCH_TIMEOUT_MS, MAX_HTML_SIZE

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "web-research": {
      "command": "npx",
      "args": [
        "-y",
        "@opafex/mcp-web-research"
      ],
      "env": {
        "BRAVE_SEARCH_API_KEY": "your-value",
        "WEB_RESEARCH_SEARCH_PROVIDER": "your-value",
        "USER_AGENT": "your-value",
        "SEARCH_CACHE_TTL": "your-value",
        "PAGE_CACHE_TTL": "your-value",
        "FETCH_TIMEOUT_MS": "your-value",
        "MAX_HTML_SIZE": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add web-research --env BRAVE_SEARCH_API_KEY=your-value --env WEB_RESEARCH_SEARCH_PROVIDER=your-value --env USER_AGENT=your-value --env SEARCH_CACHE_TTL=your-value --env PAGE_CACHE_TTL=your-value --env FETCH_TIMEOUT_MS=your-value --env MAX_HTML_SIZE=your-value -- npx -y @opafex/mcp-web-research

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "web-research": {
      "command": "npx",
      "args": [
        "-y",
        "@opafex/mcp-web-research"
      ],
      "env": {
        "BRAVE_SEARCH_API_KEY": "your-value",
        "WEB_RESEARCH_SEARCH_PROVIDER": "your-value",
        "USER_AGENT": "your-value",
        "SEARCH_CACHE_TTL": "your-value",
        "PAGE_CACHE_TTL": "your-value",
        "FETCH_TIMEOUT_MS": "your-value",
        "MAX_HTML_SIZE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "web-research": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@opafex/mcp-web-research"
      ],
      "env": {
        "BRAVE_SEARCH_API_KEY": "your-value",
        "WEB_RESEARCH_SEARCH_PROVIDER": "your-value",
        "USER_AGENT": "your-value",
        "SEARCH_CACHE_TTL": "your-value",
        "PAGE_CACHE_TTL": "your-value",
        "FETCH_TIMEOUT_MS": "your-value",
        "MAX_HTML_SIZE": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

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

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 opafex 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“搜索与 AI 记忆”中的其他服务器比较i

  • 星标数多于此分类中其他 5653 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 5653 个服务器的 74% 更新
  • 基础检查结果等于或优于此分类中其他 5653 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

MCP Web Research 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:BRAVE_SEARCH_API_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.0)于14天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Context7, Codebase Memory, Exa

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Context7

作者:upstash

Up-to-date docs for AI agents

电脑或云端★ 64,224MIT昨天更新
安装

Codebase Memory

作者:DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

在你的电脑上运行★ 48,148MIT21天前更新
安装

Exa

作者:exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

在云端运行★ 5,213MIT2个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@opafex/mcp-web-research

MCP server for web research — search the web, fetch pages as clean text, pull named sections out of a page, compare pages side by side, and run a two-stage "search then read the top results" pass.

No LLM is involved: research_topic and compare_pages organise extracted text, they do not generate it. Every page fetch is SSRF-checked, including every redirect hop.

Search uses the Brave Search API (free tier available). Without a key, the four page tools still work and the two search tools return an error telling you which variable to set.

Installation

npx -y @opafex/mcp-web-research

Requires Node.js 20+. No other dependencies to install.

Quick Start

Claude Code
claude mcp add web-research -e BRAVE_SEARCH_API_KEY=your-key -- npx -y @opafex/mcp-web-research

Or add it to .mcp.json in your project root:

{

"mcpServers": { "web-research": { "command": "npx", "args": ["-y", "@opafex/mcp-web-research"], "env": { "BRAVE_SEARCH_API_KEY": "your-key" } } } }

Claude Desktop

Add the same block to claude_desktop_config.json (Settings → Developer → Edit Config):

{

"mcpServers": { "web-research": { "command": "npx", "args": ["-y", "@opafex/mcp-web-research"], "env": { "BRAVE_SEARCH_API_KEY": "your-key" } } } }

Omit BRAVE_SEARCH_API_KEY to run with the page tools only.

Tools

ToolWhat it doesNeeds a search provider
web_searchSearch the web; returns title, URL and snippet per resultYes
fetch_webpageFetch a URL and return its title and clean text, links, or bothNo
research_topicSearch a topic, fetch the top results, and compile the key sentences from each, by sourceYes
extract_structured_dataFetch a page and return the section around each requested field (e.g. pricing, contact)No
compare_pagesFetch 2–5 pages and compare them, optionally around one focus areaNo
server_infoServer name, version, tools and resources (built in, from @opafex/mcp-shared)No
web_search
ParameterTypeRequiredDescription
querystringYesSearch query
maxResultsnumberNo1–20, default 10
domainstringNoRestrict results to this domain (e.g. "example.com"); adds site: and filters the result URLs

Result URLs that fail the SSRF check (below) are dropped before they are returned.

Example response

[

{ "title": "Model Context Protocol", "url": "https://modelcontextprotocol.io/", "snippet": "An open protocol that enables seamless integration between LLM applications and external data sources and tools." } ]

</details>
fetch_webpage
ParameterTypeRequiredDescription
urlstringYeshttp or https URL
extractMode"text" \"links" \"all"NoDefault "text"
maxLengthnumberNoMaximum characters of text returned, default 4000

Scripts, styles, and are removed. finalUrl is included when the page was reached through redirects.

Example response

{

"title": "Example Domain", "text": "Example Domain\nThis domain is for use in illustrative examples in documents.", "url": "http://example.com/", "fetchedAt": "2026-10-24T12:00:00.000Z" }

</details>
research_topic
ParameterTypeRequiredDescription
topicstringYesWhat to research
depth"quick" \"standard" \"deep"NoSearch 3 / 5 / 10 results and read 2,000 / 4,000 / 8,000 characters of each. Default "standard"
maxSourcesnumberNo1–10 sources to fetch, default 5

Key points are the sentences that mention the topic's words, up to five per source. A source that cannot be fetched falls back to its search snippet.

extract_structured_data
ParameterTypeRequiredDescription
urlstringYesPage to read
fieldsstring[]YesField names to look for (e.g. ["pricing", "features", "contact"])

For each field, returns the first line mentioning it and the ten lines after, up to 1,000 characters — or No " " section found on page. This is heading matching, not a schema extractor.

compare_pages
ParameterTypeRequiredDescription
urlsstring[]Yes2–5 URLs
focusstringNoA field to pull from every page (e.g. "pricing")

A page that fails to fetch is listed with "(fetch failed)" and the reason; the others are still compared.

Resources

ResourceDescription
web-research://statusSearch provider in use (or why search is unavailable), cache stats and configuration
web-research://cacheSearch queries currently cached

Search providers

ProviderHow to selectNotes
Brave Search API (recommended)Set BRAVE_SEARCH_API_KEYAn official API with a free tier. Up to 20 results per query.
DuckDuckGo HTML scraperSet WEB_RESEARCH_SEARCH_PROVIDER=duckduckgoOpt-in only — see below
noneNeither of the aboveweb_search and research_topic return an error naming BRAVE_SEARCH_API_KEY; the other tools work

About the DuckDuckGo option. It parses the results page at html.duckduckgo.com. That is not an API: it breaks whenever DuckDuckGo changes its markup, it may be rate-limited or blocked, and DuckDuckGo's terms do not permit automated querying. It sends this server's honest user agent rather than pretending to be a browser, which makes blocking more likely. It is kept for personal experimentation; if you turn it on, you are responsible for complying with DuckDuckGo's terms. Use Brave for anything you depend on.

Environment Variables

VariableTypeDefaultDescription
BRAVE_SEARCH_API_KEYstring—Brave Search API key. Enables web_search and research_topic
WEB_RESEARCH_SEARCH_PROVIDERbrave \duckduckgoBrave if a key is set, else noneChoose the search provider explicitly
USER_AGENTstringopafex-mcp-web-research/ (+https://github.com/Opafex/opafex-mcps)User-Agent sent with every request
FETCH_TIMEOUT_MSnumber10000Timeout per page, across all its redirect hops
MAX_HTML_SIZEnumber (bytes)1000000Bytes read from a page body; the download stops there
SEARCH_CACHE_TTLnumber (seconds)900 (15 min)How long search results are cached
PAGE_CACHE_TTLnumber (seconds)3600 (1 h)How long fetched pages are cached

Security

The page tools fetch URLs chosen by a model, from the machine the server runs on. Without protection, that machine's private network and cloud metadata service are one tool call away (server-side request forgery). Every fetch is checked first, and refused if:

  • the scheme is not http or https;
  • the host is localhost, *.localhost, or a cloud metadata name (metadata.google.internal);
  • the host is a literal IP — IPv4, or bracketed IPv6 — in a non-public range. Odd IPv4 spellings (http://2130706433/, http://0x7f.1/) are normalised before the check;
  • any address the hostname resolves to, IPv4 (A) or IPv6 (AAAA), is in a non-public range. One public A record does not excuse a private AAAA record;
  • the hostname cannot be resolved. The check fails closed: an address that could not be checked is not fetched.

Blocked ranges:

IPv4IPv6
0.0.0.0/8 this network:: unspecified, ::1 loopback
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 privatefc00::/7 unique local
100.64.0.0/10 carrier-grade NATfe80::/10 link-local, fec0::/10 site-local
127.0.0.0/8 loopbackff00::/8 multicast
169.254.0.0/16 link-local, incl. cloud metadata 169.254.169.254::ffff:0:0/96 IPv4-mapped — judged by the IPv4 address inside
192.0.0.0/24, 198.18.0.0/15 reserved / benchmarking64:ff9b::/96 NAT64 and 2002::/16 6to4 — judged by the IPv4 address inside
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 documentation::/96 IPv4-compatible, 64:ff9b:1::/48, 2001::/32 Teredo, 2001:db8::/32
224.0.0.0/4 multicast, 240.0.0.0/4 reserved, broadcastanything outside global unicast 2000::/3

Redirects are followed by hand, and every hop is checked again — at most 5 hops. A public page that redirects to http://169.254.169.254/ is refused before the second request is made. Search result URLs are checked too, and dropped if they fail.

Known limit — DNS rebinding. The check resolves the hostname, then fetch resolves it again to connect. A hostile DNS server with a very short TTL could answer the two lookups differently. Closing that gap means pinning the connection to the checked address, which Node's built-in fetch does not expose without an extra dependency. If this server runs somewhere with sensitive internal services, also limit what it can reach at the network level (container network policy, egress firewall).

Limits

  • Text only. Pages must be text/*, application/xhtml+xml or application/json; PDFs, images and other binary types are refused.
  • No JavaScript. Pages are fetched as served. Content rendered client-side will be missing.
  • Regex-based HTML parsing. Fast and dependency-free, but not a full HTML parser; unusual markup can leak into the text.
  • Heuristic extraction. research_topic key points and extract_structured_data sections are keyword matching, not understanding.
  • In-memory cache, per process, lost on restart.
  • UTF-8 assumed. Pages in other encodings may decode with replacement characters.
  • Not a crawler. No robots.txt handling; it fetches the URLs it is given.

Development

npm run build    # Compile TypeScript

npm run dev # Run with tsx (no build needed) npm test # Run tests (no network — fetch and DNS are faked) npm start # Run compiled server

Contributing

Found a bug or have a feature request? Open an issue.

Pull requests welcome — see the main repo for development setup.

License

MIT — see LICENSE.

问 PopNx