Cc Web Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Cc Web Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
CC Web MCP 是一个面向 Claude Code 第三方模型接入场景的轻量网页搜索和抓取 MCP。
它的主要用途是:当 Claude Code 接入 DeepSeek、Qwen、Kimi 等没有官方 WebSearch / WebFetch 能力的模型时,补上可访问国内外公开网页的只读工具链。官方 Claude 模型仍建议使用 Claude Code 原生搜索能力。
web_search:按配置的搜索后端顺序搜索公开网页,默认 duckduckgo -> bing -> bing_cn,可选 searxng / mojeek / custom:<name>。fetch_url:抓取 http/https 页面并转为 Markdown,支持 start_index 分页读取。research_brief:先搜索,再抓取少量来源的短内容,减少上下文占用。health_check:检查依赖、配置和网络连通性。allowed_model_patterns、启动指令和 hook 守卫,让 DeepSeek、Qwen、Kimi 等第三方模型优先走 cc-web,官方 Claude 默认继续走原生 WebSearch/WebFetch。普通用户推荐直接用 uvx 从 PyPI 运行,不需要克隆仓库,也不需要提前创建虚拟环境:
uvx cc-web-mcp init --runner uvx
uvx cc-web-mcp doctor--runner uvx 是推荐写法:它会让 Claude Code 的 MCP server 配置长期指向稳定的 uvx cc-web-mcp@<当前版本>,而不是某个临时缓存目录或本地开发环境里的 Python。hook 守卫会单独使用 exec form 的 uvx --from cc-web-mcp@<当前版本> cc-web-mcp hook-guard,便于可靠传递 --state / --config 等参数。
如果之前已经用普通 pip、editable install 或旧的 uv 缓存路径初始化过,切换到 uvx 后请重新运行:
uvx cc-web-mcp init --runner uvx --force首次初始化入口是 init 子命令。普通用户建议始终通过 uvx cc-web-mcp init --runner uvx 调用;只有 pipx、普通 pip 或 editable install 且命令已在 PATH 中时,才直接运行 cc-web-mcp init。初始化会:
-m cc_web_mcp;--runner uvx 会注册为 uvx cc-web-mcp@<当前版本>。~\.claude\CLAUDE.md 写入第三方模型路由提示。~\.claude\settings.json 合并 hook 守卫,并在写入前备份。开发者需要改源码时,再使用 editable install:
git clone https://github.com/JcDizzy/CC-Web-MCP.git <安装目录>
cd <安装目录>
py -3.11 -m pip install -e .
py -3.11 -m cc_web_mcp init
py -3.11 -m cc_web_mcp doctorpipx 或普通 pip 也可以用,但不作为首选路径;如果 pip install 提示 cc-web-mcp.exe 所在目录不在 PATH,可以继续使用 py -3.11 -m cc_web_mcp ... 形式运行。
如果需要让 Claude Code 中长期注册的 uvx 命令支持 PDF 提取,初始化时加 --with-pdf:
uvx cc-web-mcp init --runner uvx --with-pdf --force先看计划、不写文件:
uvx cc-web-mcp init --runner uvx --dry-run非 uvx 安装且 cc-web-mcp 已在 PATH 中时,也可以用本地命令预览:
cc-web-mcp init --dry-run如果只想初始化配置文件,普通用户继续使用 uvx:
uvx cc-web-mcp config init
uvx cc-web-mcp config path非 uvx 安装且 cc-web-mcp 已在 PATH 中时,也可以写成:
cc-web-mcp config init
cc-web-mcp config path默认配置路径:
%APPDATA%\cc-web-mcp\config.json~/.config/cc-web-mcp/config.json常用调整:
"allowed_model_patterns": ["deepseek", "qwen", "kimi"]"search_providers": ["bing"]"search_providers": ["duckduckgo", "bing", "mojeek", "bing_cn"]"search_parallel_enabled": true, "search_parallel_max_backends": 2search_providers 中加入 custom:<name>,并在 custom_search_apis 里配置 URL、headers、params 和结果字段路径。cc-web-mcp config test-search custom:zhihu "deepseek" --max-results 3enable_fetch_search_fallback,并把 fetch_search_fallback_providers 指到 custom:<name>。"block_native_web_for_allowed_models": falsecc-web fetch_url:"allow_fetch_url_for_claude": true完整配置说明见 docs/configuration.md。
安装完成后,建议先用第三方模型在 Claude Code 里做一次小范围联网任务:
使用 cc-web 查询 “Claude Code MCP PreToolUse hook permissionDecision”,先用 research_brief 获取资料概览,再总结当前推荐写法。如果模型仍尝试调用原生 WebSearch,先检查 ~\.claude\CLAUDE.md。如果模型尝试调用原生 WebFetch 并被拦截,说明 hook 已生效;模型应根据提示改用 cc-web fetch_url。
py -3.11 -m pip install -e .
py -3.11 -m pytest .\tests -q构建发布包:
py -3.11 -m buildbing_cn 是实用降级,不是全球搜索的等价替代。mojeek 使用公开 HTML 搜索入口,适合轻量 fallback,不等价于付费搜索 API。WebSearch 在部分第三方 Anthropic-compatible API 中会在服务端直接报错,Claude Code 本地 hook 拦截不到;需要依赖 CLAUDE.md 启动指令提前绕开。~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.