WSG Check
v0.8.1Check websites against the W3C Web Sustainability Guidelines and look up the guidelines
Values you need
| Variable | What it is | |
|---|---|---|
WSG_CHECK_NO_LOCAL | optional | Set to 1 to block localhost and other loopback URLs, which are allowed by default |
WSG_CHECK_ALLOW_PRIVATE | optional | Set to 1 to allow private network URLs (10/8, 172.16/12, 192.168/16) |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add wsg-check -- npx -y @sustainablewebsites/wsg-check@0.8.1 --mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"wsg-check": {
"args": [
"-y",
"@sustainablewebsites/wsg-check@0.8.1",
"--mcp"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"wsg-check": {
"args": [
"-y",
"@sustainablewebsites/wsg-check@0.8.1",
"--mcp"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"wsg-check": {
"args": [
"-y",
"@sustainablewebsites/wsg-check@0.8.1",
"--mcp"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.wsg-check]
command = "npx"
args = ["-y", "@sustainablewebsites/wsg-check@0.8.1", "--mcp"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: check_url, list_guidelines, get_guideline.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json