Web Validator by DigestSEO

io.github.AKzar1el由 GitHub 帳號 AKzar1el 發布v1.3.47更新於 Oct 29, 2026

Audit public webpages and supplied markup for HTML, CSS, SEO, JSON-LD, and link issues.

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取開發者工具

概覽

AI 產生的概覽

驗證貼上的標記或獲授權的公開網頁中的 HTML、CSS、SEO 中繼資料、JSON-LD 與連結,提供託管端點與本機 npm 伺服器兩種形式。

可以做什麼
  • 驗證提供的 HTML 與 CSS,並檢查貼上標記中的 JSON-LD 語法
  • 稽核所提供 HTML 的頁面 SEO、robots noindex 與無障礙訊號
  • 檢查所提供 HTML 中最多 20 個公開連結是否失效
  • 將 HTML、CSS、SEO、JSON-LD 與連結檢查合併為一份驗證報告
  • 擷取並稽核一個公開網頁,或對最多 8 個同源頁面做有界的 sitemap 優先稽核
  • 僅本機套件:驗證工作區 HTML/CSS 檔案並擷取響應式截圖
適用情境
適合在發布前檢查標記、排查自己擁有或獲授權頁面及小型網站的 HTML、SEO 與結構化資料問題,或確認片段中的連結是否仍可連線。託管端點適合遠端用戶端,本機套件另外提供檔案存取與截圖。
執行需求
託管端點:支援 Streamable HTTP 的用戶端,使用已發布端點,無需金鑰或環境變數。本機:Node.js 22.12.0 或更新版本,以及支援 stdio 的 MCP 用戶端;截圖工具首次使用時會下載固定版本的無頭瀏覽器,可選擇設定快取目錄變數。HTML 驗證與連結檢查需要網路存取。
安裝前請注意
HTML 驗證會把標記送到外部 Nu HTML Checker,貼上的程式碼與擷取的頁面會離開本服務。只稽核自己擁有或獲授權的頁面,並從 URL 移除權杖與私人識別資訊。不要提交憑證、付款、健康或其他敏感個人資料。本機伺服器以用戶端的檔案權限執行,可讀取所選檔案,截圖可能覆寫既有 PNG 檔案。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Web Validator by DigestSEO,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.AKzar1el%2Fmcp-web-validator/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "web-validator-by-digestseo": {
      "type": "http",
      "url": "https://web-validator-mcp.digestseo.com/mcp"
    }
  }
}

README

Web Validator by DigestSEO

[npm version] [CI] [License: MIT] [Indexed on TensorBlock MCP Index] [mcp-web-validator MCP server]

An MCP server for HTML and CSS validation, technical SEO and accessibility checks, JSON-LD syntax validation, broken-link checks, and responsive screenshots. It is part of the DigestSEO suite of open-source SEO tools.

Choose the right surface

This repository contains two deliberately separate MCP surfaces:

SurfaceTransportBest forAccess and side effects
Local npm serverstdioClaude Desktop, Cursor, and other local MCP clientsCan read user-selected workspace files, contact validation and link targets, and write screenshot files.
Hosted appStreamable HTTPChatGPT and remote MCP clientsCan fetch one authorized public HTML page, run a bounded sitemap-first site audit, or process supplied markup. It cannot access local files, authenticate, recursively crawl links, execute page JavaScript, or create screenshots.

Local installation:

bash
npx -y mcp-web-validator

Hosted endpoint:

text
https://web-validator-mcp.digestseo.com/mcp

Requirements

  • Node.js 22.12.0 or newer
  • An MCP client that supports stdio, or a client that supports Streamable HTTP for the hosted endpoint

The validation, SEO, schema, link, and report tools do not download a browser during installation. The local screenshot.capture tool installs its pinned headless browser into Puppeteer's cache on first use, then reuses that browser for later screenshots. Set PUPPETEER_CACHE_DIR if you need a custom cache location.

Tools

The npm package exposes these exact runtime tool names:

ToolPurposeNetwork or filesystem behavior
html.localValidate a local HTML or XHTML file.Reads the selected file and submits its markup to the external W3C Nu HTML Checker at validator.w3.org/nu/; .xhtml paths use application/xhtml+xml parsing semantics.
html.urlValidate the markup returned by a public URL.Fetches the URL, then submits the returned markup to the external Nu checker.
css.localValidate a local CSS file.Reads the selected file and submits its CSS to the external W3C Jigsaw CSS Validator.
seo.metadataAudit titles, descriptions, canonical tags, robots noindex directives, headings, viewport metadata, image alt attributes, and Open Graph metadata.Processes supplied HTML locally.
links.brokenCheck links extracted from supplied HTML.Sends bounded HTTP requests to eligible public links.
schema.markupParse JSON-LD blocks and report JSON syntax errors.Processes supplied HTML locally.
report.validationCombine HTML/XHTML, optional CSS, SEO, JSON-LD, and bounded link checks in a Markdown report.Reads selected files, contacts the validators, and checks eligible public links found in the markup; .xhtml inputs use XHTML parsing semantics for Nu validation.
screenshot.captureCapture desktop, tablet, mobile, or custom viewport screenshots.Opens a selected local file or eligible public URL and writes PNG files to the selected output directory; existing matching files may be replaced.

Hosted app tools

The hosted app exposes eight tools:

ToolPurpose
audit_public_webpageFetch one authorized public HTML page and run the combined HTML, SEO/accessibility-signal, and JSON-LD syntax audit. Link checks are optional.
audit_public_siteRun a bounded sitemap-first audit of up to eight authorized, same-origin public pages. It respects robots.txt, returns compact page coverage and deduplicated findings, and does not run site-wide link checks.
validate_htmlValidate raw HTML markup already supplied in the conversation.
validate_cssParse supplied CSS for syntax errors inside the Worker.
audit_seo_metadataAudit supplied HTML for covered on-page SEO, robots noindex, and accessibility signals.
validate_schema_markupCheck JSON-LD blocks in supplied HTML for JSON syntax errors.
check_broken_linksCheck up to 20 authorized public links extracted from supplied HTML.
generate_validation_reportCombine the checks for supplied markup; base_url resolves relative links but does not fetch a page.

audit_public_webpage follows at most three validated redirects, accepts a bounded text/html response, and records the final URL. It does not crawl additional pages, execute JavaScript, authenticate, or fetch linked stylesheets and assets. audit_public_site first locks the final public origin, then reads bounded robots.txt plus same-origin XML Sitemap, RSS 2.0, Atom 1.0, and plain-text sitemap representations before auditing at most eight eligible sitemap pages in one call. Robots discovery may follow up to five validated public redirects across authorities, as defined by the robots protocol; the resulting rules and relative Sitemap directives are still interpreted for the originally audited authority. Sitemap entries and audited pages remain same-origin, and private/reserved destinations, credentials, custom ports, service self-fetches, and HTTPS-to-HTTP redirect downgrades are rejected. The tool never follows HTML links or external sitemap entries; use page_offset when the response says more eligible pages remain. The fetched HTML is sent to https://html5.validator.nu/, the same external Nu HTML Checker used by validate_html and the report tool. CSS parsing, SEO analysis, and JSON-LD parsing run inside the DigestSEO Worker. Optional link checks make capped HEAD requests, with a bounded GET fallback where necessary, to eligible public HTTP(S) URLs; link redirects are reported but not followed. The site tool intentionally does not perform site-wide link checking. The hosted app does not retain tool inputs, fetched HTML, or results.

Privacy Policy

Only validate files, markup, and public webpages that you own or are authorized to inspect. Public page URLs can contain sensitive query values, so remove tokens and private identifiers before submitting them. Do not submit passwords, API keys, access tokens, payment data, health data, private source code, or other sensitive personal data.

The local server runs with the same operating-system permissions as its MCP client. Review tool inputs before approving file access, outbound validation, link checking, or screenshot creation. The hosted app has no access to your local filesystem.

See the published privacy policy for data-handling details and SECURITY.md for private vulnerability reporting.

Configure a local client

Claude Desktop

Add the server to claude_desktop_config.json:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
json
{  "mcpServers": {    "mcp-web-validator": {      "command": "npx",      "args": ["-y", "mcp-web-validator"]    }  }}

Restart Claude Desktop after saving the configuration.

Cursor and compatible clients

Create a command/stdio MCP server with:

text
npx -y mcp-web-validator

This repository also includes a Cursor Marketplace plugin manifest. After the plugin is published, install Web Validator by DigestSEO from Cursor's Marketplace or add the repository from Cursor's plugin UI. The plugin bundles the same local stdio server and does not require API keys or environment variables.

Visual Studio Code with GitHub Copilot

In VS Code, run MCP: Add Server from the Command Palette and choose Command (stdio) with npx -y mcp-web-validator. Or add the following to your own workspace's .vscode/mcp.json (VS Code format):

json
{  "servers": {    "mcp-web-validator": {      "type": "stdio",      "command": "npx",      "args": ["-y", "mcp-web-validator"]    }  }}

For a remote-only connection, use this server entry instead (no local Node.js required, but local-file and screenshot tools are unavailable):

json
{  "servers": {    "mcp-web-validator-hosted": {      "type": "http",      "url": "https://web-validator-mcp.digestseo.com/mcp"    }  }}

Open MCP: List Servers to start/check the connection. In Copilot Agent chat, ask it to run seo.metadata on an HTML snippet you provide (input field htmlContent) and report its metadata issues. This is an offline, no-network smoke test of the local stdio server; it should return structured issues and totalIssues without contacting W3C or fetching a webpage. Use the local server for this check, since the hosted surface has different tool names.

The repository also contains a portable root .mcp.json for compatible Copilot harness clients. Its top-level key is mcpServers, not servers; do not copy that object unchanged into .vscode/mcp.json. VS Code's MCP configuration reference explains the file formats and supported scopes. Review tool permissions before allowing outbound validation or filesystem-writing screenshot calls.

OpenAI Codex

Codex CLI can add the published local stdio package directly:

bash
codex mcp add mcp-web-validator -- npx -y mcp-web-validator

Or add the existing hosted Streamable HTTP surface instead:

bash
codex mcp add mcp-web-validator-hosted --url https://web-validator-mcp.digestseo.com/mcp

Verify either configuration with:

bash
codex mcp list

The local package includes workspace-file validation and responsive screenshot capture. The hosted surface is remote-only and cannot access local files or create screenshots.

Gemini CLI

Gemini CLI supports local stdio MCP servers. Add the published package with:

bash
gemini mcp add mcp-web-validator npx -y mcp-web-validator

This writes the server definition to Gemini CLI's MCP configuration. No API keys or environment variables are required by Web Validator.

GitHub Copilot CLI

Add the published local stdio server with:

bash
copilot mcp add mcp-web-validator -- npx -y mcp-web-validator

When Copilot CLI is started inside a clone of this repository, it can also discover the checked-in root .mcp.json, which already points mcp-web-validator at npx -y mcp-web-validator.

Kiro

[Add to Kiro]

This installs the local stdio package, preserving its workspace-file and screenshot capabilities. Node.js 22.12.0+ is required.

Development

Clone the repository and install the locked dependencies:

bash
git clone https://github.com/AKzar1el/mcp-web-validator.gitcd mcp-web-validatornpm ci

Run the local quality gates:

bash
npm run checknpm testnpm run buildnpm pack --dry-run

Run the local stdio server:

bash
npm start

Validate the hosted Worker separately:

bash
cd chatgpt-pluginnpm cinpm run checknpm testnpm run deploy:dry-run

See CONTRIBUTING.md for contribution expectations. Deployment and marketplace-review notes live in chatgpt-plugin/SUBMISSION.md. For agent-assisted installation, see llms-install.md. For a copy-ready, zero-paid-provider GitHub Actions metadata gate, see examples/github-actions.

Ecosystem

[LightNow capabilities]

License

Licensed under the MIT License.

來源:README.md,提交 49e1692

工具

8

validate_html

Validate HTML

Use this when raw HTML markup is supplied. Sends that markup to the Nu HTML Checker hosted at validator.nu and returns validation messages. For a live URL, use audit_public_webpage.

輸入參數html必填

validate_css

Validate CSS

Use this when raw CSS source is supplied. Parses it inside the Worker and returns syntax messages without contacting an external service.

輸入參數css必填

audit_seo_metadata

Audit SEO metadata

Use this for a focused SEO/accessibility-signal check of supplied HTML. It does not fetch a live webpage; use audit_public_webpage for a URL.

輸入參數html必填

validate_schema_markup

Validate JSON-LD syntax

Use this for a focused JSON-LD syntax check of supplied HTML. It parses JSON only and does not validate Schema.org vocabulary semantics.

輸入參數html必填

generate_validation_report

Generate validation report

Use this when HTML markup is already supplied. Combines Nu HTML validation with local CSS, SEO, accessibility-signal, and JSON-LD syntax checks. It does not fetch a webpage from base_url; use audit_public_webpage for a live URL.

輸入參數csshtml必填base_urlmax_linkscheck_links

audit_public_webpage

Audit public webpage

Use this when the user provides one live public webpage URL. Fetches one bounded static HTML response, then runs HTML validation, SEO/accessibility-signal, and JSON-LD syntax checks. It checks links only when requested and does not crawl, execute JavaScript, authenticate, or fetch linked stylesheets. Use only URLs the user owns or is authorized to inspect.

輸入參數url必填max_linkscheck_links

audit_public_site

Audit public site

Use this for a bounded, sitemap-first audit of a public website the user owns or is authorized to inspect. It fetches at most 8 same-origin HTML pages per call, respects robots.txt, and returns compact page summaries plus deduplicated findings. It does not recursively follow HTML links, authenticate, execute JavaScript, fetch assets, or run site-wide link checks. Use page_offset to continue when more sitemap pages remain.

輸入參數site_url必填max_pagespage_offset

版本歷史

23
  1. v1.3.47最新Oct 29, 2026
  2. v1.3.46Oct 26, 2026
  3. v1.3.45Oct 25, 2026
  4. v1.3.44Oct 25, 2026
  5. v1.3.42Sep 24, 2026
  6. v1.3.40Sep 24, 2026
  7. v1.3.37Sep 24, 2026
  8. v1.3.32Sep 23, 2026
  9. v1.3.28Sep 23, 2026
  10. v1.3.27Sep 23, 2026
  11. v1.3.26Sep 23, 2026
  12. v1.3.23Sep 23, 2026
  13. v1.3.19Sep 22, 2026
  14. v1.3.17Sep 22, 2026
  15. v1.3.14Sep 22, 2026
  16. v1.3.13Sep 21, 2026
  17. v1.3.12Sep 21, 2026
  18. v1.3.9Sep 21, 2026
  19. v1.3.7Sep 21, 2026
  20. v1.3.5Sep 20, 2026
  21. v1.3.3Sep 20, 2026
  22. v1.3.2Sep 20, 2026
  23. v1.1.1-registry.1Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分