Browser Use
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
作者提供的说明(英文原文)
Check websites against the W3C Web Sustainability Guidelines and look up the guidelines
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
WSG_CHECK_NO_LOCAL, WSG_CHECK_ALLOW_PRIVATE你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"wsg-check": {
"command": "npx",
"args": [
"-y",
"@sustainablewebsites/wsg-check",
"--mcp"
],
"env": {
"WSG_CHECK_NO_LOCAL": "your-value",
"WSG_CHECK_ALLOW_PRIVATE": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add wsg-check --env WSG_CHECK_NO_LOCAL=your-value --env WSG_CHECK_ALLOW_PRIVATE=your-value -- npx -y @sustainablewebsites/wsg-check --mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"wsg-check": {
"command": "npx",
"args": [
"-y",
"@sustainablewebsites/wsg-check",
"--mcp"
],
"env": {
"WSG_CHECK_NO_LOCAL": "your-value",
"WSG_CHECK_ALLOW_PRIVATE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"wsg-check": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sustainablewebsites/wsg-check",
"--mcp"
],
"env": {
"WSG_CHECK_NO_LOCAL": "your-value",
"WSG_CHECK_ALLOW_PRIVATE": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
WSG_CHECK_NO_LOCAL envWSG_CHECK_ALLOW_PRIVATE env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 ivanoats 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.6.2)于25天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Browser Use, Chrome DevTools MCP, MCP Server Browser
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Check a website against automated heuristics based on the W3C Web Sustainability Guidelines. Get a weighted score, recommendations, and reports in terminal, JSON, Markdown, or HTML format through a CLI or a Next.js web app.
The latest release is v0.7.0.
Source on main targets WSG September-2026, the 24 September 2026 Group Note Draft; v0.6.1 and earlier target July-2026. It includes an MCP server for AI assistants, with the check_url, list_guidelines, and get_guideline tools, listed in the MCP Registry as io.github.ivanoats/wsg-check. The server first shipped in v0.4.0; v0.3.0 was tagged on GitHub but not published to npm. See the changelog and spec versioning policy.
Scores from different spec versions should not be treated as directly comparable. The package version and check selection also matter when comparing reports.
Requires Node.js 22 or later. Pin the released CLI for reproducible usage:
npx @sustainablewebsites/wsg-check@0.7.0 https://example.com # x-release-please-version
npm install -g @sustainablewebsites/wsg-check@0.7.0 # x-release-please-version wsg-check https://example.com --format json --output report.json
To run the current source, including unreleased features, use Node.js 22.22.1 or later (required by development tooling):
git clone https://github.com/ivanoats/wsg-check.git
cd wsg-check npm ci # prepare also generates Panda CSS tokens npm run dev # http://localhost:3000
npm run build:cli node dist/cli/index.js https://example.com
See CONTRIBUTING.md for environment configuration and development commands.
false.WSG-Check ships with a command-line tool that lets you check any website directly from your terminal or integrate checks into CI pipelines.
# Check a website with default (terminal) output
npx @sustainablewebsites/wsg-check https://example.com
npx @sustainablewebsites/wsg-check https://example.com --format json
npx @sustainablewebsites/wsg-check https://example.com --format markdown --output report.md
npx @sustainablewebsites/wsg-check https://example.com --fail-threshold 70
| Option | Alias | Description | Default |
|---|---|---|---|
--format | -f | Output format: terminal, json, markdown, html | terminal |
--output | -o | Write report to a file instead of stdout | _(stdout)_ |
--categories | -c | Comma-separated categories: ux,web-dev,hosting (business planned — no automated checks yet) | all |
--guidelines | -g | Comma-separated guideline slugs to run, e.g. minify-and-remove-unused-code (numeric IDs such as 3.3 are deprecated) | all |
--fail-threshold | Exit code 1 if overall score < _n_ (0–100) | 0 | |
--verbose | -v | Enable verbose logging | false |
--ignore-robots | Skip robots.txt for a site you operate; adds (ignore-robots) to the User-Agent | false | |
--config | Path to wsg-check.config.json or .wsgcheckrc.json | _(auto-discover)_ | |
--header | -H | Send a request header (Name: value, repeatable) to the start URL's host only; never to robots.txt or other hosts | _(none)_ |
--version | Print version and exit | ||
--help | Print help and exit |
--header values land in shell history and CI logs, and a malformed one is echoed in the error. For a secret, set "headers": {"Cookie": "..."} in a wsg-check.config.json kept out of version control. Header names in the config file are checked when it loads, and an error names the bad header without printing its value. --header replaces the config file's headers entirely. Headers are not sent over plain http after an https hop. To change the user agent, use WSG_USER_AGENT or the config's userAgent. The web API and MCP server do not accept request headers.
Use --fail-threshold to fail your pipeline when a site's sustainability score drops:
# .github/workflows/sustainability.yml
| Code | Meaning |
|---|---|
0 | Check completed and score is at or above --fail-threshold |
1 | Fetch/parse error, or score is below --fail-threshold |
The package includes wsg-check-mcp, a Model Context Protocol server for Claude Code, Claude Desktop, VS Code, Cursor, and other MCP clients. It runs on your machine over stdio, with no account, port, or hosted service. Your assistant can then check a deployed site or your local dev server, look up guidelines, and fix what it finds.
# Claude Code
claude mcp add wsg-check -- npx -y -p @sustainablewebsites/wsg-check wsg-check-mcp
Claude Desktop (claude_desktop_config.json) and Cursor (.cursor/mcp.json):
{
"mcpServers": { "wsg-check": { "command": "npx", "args": ["-y", "-p", "@sustainablewebsites/wsg-check", "wsg-check-mcp"] } } }
npx -y @sustainablewebsites/wsg-check --mcp starts the same server; it's the command the MCP Registry listing, io.github.ivanoats/wsg-check, uses.
VS Code (.vscode/mcp.json) uses a servers key:
{
"servers": { "wsg-check": { "type": "stdio", "command": "npx", "args": ["-y", "-p", "@sustainablewebsites/wsg-check", "wsg-check-mcp"] } } }
Try prompts such as "Check http://localhost:3000 against the WSG and fix the top three issues" or "Which WSG guidelines cover web fonts?"
| Tool | What it does |
|---|---|
check_url | Checks a page and returns the score, grade, and each failed or warned check with a recommended fix. detail: "full" adds the complete report. |
list_guidelines | Lists the WSG guidelines, filtered by category, testability, or text, with how many automated checks implement each one. |
get_guideline | Returns one guideline's description and W3C specification link. |
http://localhost:3000 and other loopback addresses work without setup. The trade-off: text the assistant reads, such as a web page or a file in your project, could try to steer it into requesting a service on your machine. Requests are GET-only and the results go back to the assistant. If you don't check a local dev server, add --no-local after wsg-check-mcp in the arguments, or set WSG_CHECK_NO_LOCAL=1.--allow-private-network or set WSG_CHECK_ALLOW_PRIVATE=1.check_url makes is a green-hosting lookup: it sends the hostname to the Green Web Foundation. Local hostnames are never sent.The repository also ships an Agent Skill, wsg-sustainability-review. It walks an assistant through checking a site, fixing the issues in your codebase in priority order, and checking again. It uses the MCP tools when they are configured and falls back to the CLI otherwise. Install it into Claude Code, Cursor, Copilot, and other agents with:
npx skills add ivanoats/wsg-check
The web app exposes Next.js Route Handlers:
| Endpoint | Purpose |
|---|---|
POST /api/check | Run a check and return the completed report and ID |
GET /api/check/:id | Retrieve a report from the process-local result store |
GET /api/guidelines | List guidelines; current source includes pinned spec provenance in spec |
GET /api/guidelines/:id | Look up a guideline; current source accepts slugs and legacy numeric aliases |
| GET /api/health | Health st
只显示了开头部分;其余内容请在仓库中阅读