WSG Check

v0.8.1
io.github.ivanoats/wsg-check Checked 4 hours ago Published 14 days ago

Check websites against the W3C Web Sustainability Guidelines and look up the guidelines

Values you need

VariableWhat it is
WSG_CHECK_NO_LOCALoptional Set to 1 to block localhost and other loopback URLs, which are allowed by default
WSG_CHECK_ALLOW_PRIVATEoptional 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 --mcp
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: check_url, list_guidelines, get_guideline.
  4. 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