@openanysi/website-quality-audit-mcp 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,15 +10,17 @@ English | [简体中文](docs/README.zh-CN.md)
10
10
 
11
11
  ## Overview
12
12
 
13
- Discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. The server provides 3 read-only data tools and three free utility tools over local `stdio`. Your client agent selects calls, interprets evidence and writes reports using its own model. Supply the identifiers and filters listed in Tools Reference; each data call remains independent.
13
+ Use this MCP to discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data.
14
+
15
+ Designed for website owners and technical SEO teams, it supplies evidence your agent can turn into a prioritized page-fix brief with audit evidence and scope notes.
14
16
 
15
17
  **Best For / Not For**
16
18
 
17
- - **Best For:** sourced comparisons within the supported platform and task scope.
18
- - **Best For:** turning available records into an evidence table and research brief in Claude, Cursor or another MCP client.
19
- - **Best For:** analyzing supplied outputs without additional data calls.
20
- - **Not For:** account automation, publishing, purchases or hidden multi-request workflows.
21
- - **Not For:** complete population statistics or claims unsupported by the collected sample.
19
+ - **Best For:** Discover sitemap URLs to select a real HTML page before spending on an audit.
20
+ - **Best For:** Inspect one page to inspect page-specific technical evidence.
21
+ - **Best For:** Run one Lighthouse audit to compare laboratory performance within explicit device context.
22
+ - **Best For:** analyzing supplied material without collecting again merely to write a report.
23
+ - **Not For:** operations or filters absent from Tools Reference, or treating samples as complete coverage; see the scope FAQ.
22
24
 
23
25
  ## Table of Contents
24
26
 
@@ -75,36 +77,35 @@ Store `OPENANY_API_KEY` in private client settings or the inherited environment.
75
77
 
76
78
  ## Key Features
77
79
 
78
- - 3 atomic tools for the operations listed below.
79
- - Current parameters and prices available through `get_tool_info`.
80
- - Two English/Chinese workflow guides for research and evidence briefs.
81
- - A packaged optional companion Skill using the same guide texts.
82
- - Client-controlled pagination, comparisons and supported CSV/Markdown exports.
83
- - Broader capability discovery through the OpenAny catalog.
80
+ - **Discover sitemap URLs:** use `list_sitemap_urls` as an independent operation; inspect its inputs and available fields below.
81
+ - **Inspect one page:** use `inspect_page` as an independent operation; inspect its inputs and available fields below.
82
+ - **Run one Lighthouse audit:** use `run_lighthouse` as an independent operation; inspect its inputs and available fields below.
83
+ - **Comparable evidence:** retain Page URL; Audit / task status; Device / run time; mark missing fields unknown.
84
+ - **Inspect before collection:** read current parameters and pricing before each request; uncertain outcomes are not automatically replayed.
85
+ - **Bilingual task guidance:** collection and reporting guides support analysis and available local exports with your own client model.
84
86
 
85
87
  ## Example Prompts
86
88
 
87
- - "Discover links for my website, choose one relevant HTML page, and compare its technical checks with a desktop Lighthouse audit. Return prioritized fixes with evidence."
88
- - "Compare the records returned by the relevant tools; keep identifiers, dates and missing values."
89
- - "Turn the collected sample into an evidence brief. Separate observations from hypotheses."
90
- - "Use only the results I provide. Make no new data calls; organize them into a comparison table."
89
+ - "Inspect selected website pages and compare technical checks with Lighthouse observations."
90
+ - "Discover links for my website, select one HTML page, and compare its technical checks with a desktop Lighthouse audit."
91
+ - "Keep laboratory Lighthouse results separate from field Core Web Vitals and whole-site coverage."
92
+ - "Use only the records I provide. Make no new data calls. Organize the evidence columns below, mark missing fields and list follow-up questions."
91
93
 
92
94
  ## Why website-quality-audit-mcp?
93
95
 
94
96
  | What You Care About | How We Handle It | Value to You |
95
97
  | --- | --- | --- |
96
- | Focused scope | Read-only tools for one research domain | A small, inspectable tool set |
97
- | Spending control | Read current pricing before individual requests | Explicit decisions about each paid call |
98
- | Evidence quality | Preserve source records and sample limits | Reviewable comparisons and briefs |
99
- | Flexible reporting | Your client performs analysis and writing | Use your chosen model and file tools |
98
+ | Discover sitemap URLs | Use `list_sitemap_urls` with `url` | Select a real HTML page before spending on an audit |
99
+ | Inspect one page | Use `inspect_page` with `tasks` | Inspect page-specific technical evidence |
100
+ | Run one Lighthouse audit | Use `run_lighthouse` with `tasks` | Compare laboratory performance within explicit device context |
100
101
 
101
102
  ## What You Can Build & Deliver
102
103
 
103
104
  | Use Case | How the Agent Runs It | Typical Deliverables |
104
105
  | --- | --- | --- |
105
- | Source collection | Select the relevant tools and request a bounded sample | Linked evidence table |
106
- | Comparative research | Compare matching records and their scope | Comparison table with missing fields |
107
- | Evidence brief | Load `evidence_brief` and analyze existing outputs | Markdown brief and next questions |
106
+ | Discover sitemap URLs | Choose `list_sitemap_urls` with the identifiers and inputs required by its current contract. | Sourced evidence to help select a real HTML page before spending on an audit. |
107
+ | Inspect one page | Choose `inspect_page` with the identifiers and inputs required by its current contract. | Sourced evidence to help inspect page-specific technical evidence. |
108
+ | Website Quality Audit brief | Align object identity, dates and units before interpreting collected records. | Sourced observations, unresolved differences and follow-up checks. |
108
109
 
109
110
  ## Tools Reference
110
111
 
@@ -126,6 +127,29 @@ Each audit `tasks` array must contain exactly one item with a non-empty `url`.
126
127
 
127
128
  `list_sitemap_urls` accepts required `url` and optional `type` (`sitemap` or `all`). Inspect returned links, keep the intended host, and select an HTML page rather than passing a sitemap file into an audit. Audit `tasks` must contain exactly one object with required `url`. `inspect_page` also accepts `enable_javascript`, `browser_preset` and `accept_language` inside that object; `run_lighthouse` accepts `for_mobile`, `categories`, `audits` and `language_code`.
128
129
 
130
+ #### Nested Request Shapes
131
+
132
+ Paths show actual nesting; do not send nested fields at the tool top level. `[]` denotes an array item. Required markers apply within the containing object; inspect `get_tool_info` for conditional alternatives.
133
+
134
+ **`inspect_page`** — `tasks` array item count: 1–1
135
+
136
+ | Nested field | Requirement | Type / constraints |
137
+ | --- | --- | --- |
138
+ | `tasks[].accept_language` | Optional | string / null |
139
+ | `tasks[].browser_preset` | Optional | string / null |
140
+ | `tasks[].enable_javascript` | Optional | boolean / null |
141
+ | `tasks[].url` | Required within parent | string (length 1–…) |
142
+
143
+ **`run_lighthouse`** — `tasks` array item count: 1–1
144
+
145
+ | Nested field | Requirement | Type / constraints |
146
+ | --- | --- | --- |
147
+ | `tasks[].audits` | Optional | array / null |
148
+ | `tasks[].categories` | Optional | array / null |
149
+ | `tasks[].for_mobile` | Optional | boolean / null |
150
+ | `tasks[].language_code` | Optional | string / null |
151
+ | `tasks[].url` | Required within parent | string (length 1–…) |
152
+
129
153
  ### Utility Tools (Free, No API Key Required)
130
154
 
131
155
  | Tool | Parameters | Behavior |
@@ -136,58 +160,66 @@ Each audit `tasks` array must contain exactly one item with a non-empty `url`.
136
160
 
137
161
  ## Built-in Workflow Guides
138
162
 
139
- `get_workflow` returns instructions and templates for your client. It makes no data or model call and does not itself generate a report.
163
+ `get_workflow` returns instructions for your client without calling data tools or a model. Select `language: "en"` for English.
140
164
 
141
165
  | Guide ID | Best For | What It Provides |
142
166
  | --- | --- | --- |
143
- | `research` | Planning and collecting a scoped sample | Call selection, identifier checks and an evidence-table template |
144
- | `evidence_brief` | Reporting from collected or supplied records | Sourced findings, gaps and next questions |
167
+ | `research` | Planning website quality audit | A tool/identifier checklist and a scoped collection method. |
168
+ | `evidence_brief` | Reporting from collected website quality audit records | Source attribution, comparison context, missing information and follow-up questions. |
145
169
 
146
170
  ### Companion Skill (Optional)
147
171
 
148
- The [companion Skill](skills/website-quality-audit/SKILL.md) contains the same bilingual guides. Install that directory only if your client supports Skills. The MCP guides remain usable independently.
172
+ The [companion Skill](skills/website-quality-audit/SKILL.md) contains the same bilingual guides. Install it only if your client supports Skills; MCP guides work independently.
149
173
 
150
174
  ## End-to-End Example
151
175
 
152
- **Prompt:** "Discover links for my website, choose one relevant HTML page, and compare its technical checks with a desktop Lighthouse audit. Return prioritized fixes with evidence."
176
+ **Prompt:** "Discover links for my website, select one HTML page, and compare its technical checks with a desktop Lighthouse audit."
153
177
 
154
178
  **How the Agent Executes:**
155
179
 
156
- 1. Load `research` with `language: "en"` and clarify the question, identifiers and budget.
157
- 2. Inspect `get_tool_info` for each selected data tool.
158
- 3. Make the approved individual calls. Reuse identifiers only after inspecting the actual returned records.
159
- 4. Preserve sources and missing fields, then load `evidence_brief` to summarize observations and hypotheses.
160
- 5. Write Markdown or CSV locally if the client provides file tools.
180
+ 1. Load `research`, establish identifiers, scope and budget, and select the needed tools: `list_sitemap_urls`, `inspect_page`, `run_lighthouse`.
181
+ 2. Inspect `get_tool_info` for current schemas and pricing. Make authorized calls only with confirmed identifiers and required inputs; do not fabricate IDs or append pages automatically.
182
+ 3. Discover URLs, select a same-host HTML page, then submit exactly one page in each audit tasks array. Preserve device/run context and inspect task-level success before interpreting findings.
183
+ 4. Retain evidence using these columns: Page URL | Audit / task status | Device / run time | Observed issue | Evidence | Priority hypothesis. Mark absent fields unknown.
184
+ 5. Load `evidence_brief`, write evidence-linked findings and open questions, and export Markdown/CSV only when client file tools are available.
161
185
 
162
186
  ## FAQ
163
187
 
164
- ### How much does website-quality-audit-mcp cost?
188
+ ### Which inputs should I confirm before starting?
189
+
190
+ `list_sitemap_urls` requires `url`; `inspect_page` requires `tasks`; `run_lighthouse` requires `tasks`. Choose the operation that matches the supplied query or known record; ask for missing identifiers rather than guessing from names.
191
+
192
+ ### How should I compare the returned records?
165
193
 
166
- The Apache-2.0 package is free to use. The 3 utility tools are free and keyless; the 3 data tools follow current OpenAny API pricing. Inspect `get_tool_info` before calling. Your client's model costs are separate.
194
+ Align Page URL; Audit / task status; Device / run time before comparing. Keep supported observations separate from unavailable fields and list the specific follow-up evidence needed.
195
+
196
+ ### What are the domain-specific scope limits?
197
+
198
+ Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
167
199
 
168
- ### Does it work with Cursor, Claude Desktop and Claude Code?
200
+ ### How much does this MCP cost?
169
201
 
170
- Yes, it uses standard local `stdio` MCP. The JSON above applies to hosts using `mcpServers`; other clients register the same launch command through their own settings.
202
+ The Apache-2.0 package has no MCP subscription fee. Three utilities are free and keyless; 3 data tools follow current OpenAny pricing. Inspect `get_tool_info` before calling. Client model costs are separate.
171
203
 
172
- ### Can I try it without an API key?
204
+ ### Do I need a platform account or browser cookies?
173
205
 
174
- Yes. Use the three utility tools to read parameters, guides and capability candidates. Data requests require `OPENANY_API_KEY`.
206
+ Data calls use `OPENANY_API_KEY`. The MCP configuration does not require a personal platform account or browser cookies, and does not grant access to unprovided private account data.
175
207
 
176
- ### Does the MCP write the final report?
208
+ ### Which clients work, and what can I try without a key?
177
209
 
178
- Your client agent writes the report. `get_workflow` supplies instructions and a template; data tools supply the evidence.
210
+ Use a standard local `stdio` MCP client. The configuration JSON applies to hosts using `mcpServers`; other clients register the same command. Without a key, inspect tools, read guides and discover related capabilities.
179
211
 
180
- ### Does it paginate or retry automatically?
212
+ ### Can I treat missing fields as zero or infer complete coverage?
181
213
 
182
- No. The client selects each subsequent page, and uncertain requests are not replayed automatically. Keep cursors within their original operation and query context.
214
+ No. Preserve object identity, source, filters and sample scope. Mark missing values unknown; the returned sample does not represent uncollected records.
183
215
 
184
- ### What if I need another capability?
216
+ ### Who writes the report and exports files?
185
217
 
186
- Use `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/). Discovery does not automatically execute or install another service.
218
+ Your client agent analyzes and writes; Markdown/CSV export requires its file tools. The MCP returns data and guides rather than generating a report. Discover missing capabilities with `search_openany_capabilities` or the general OpenAny MCP.
187
219
 
188
- ### How should I handle timeouts?
220
+ ### What should I do after a timeout or uncertain result?
189
221
 
190
- Keep the request ID and check the original outcome before another call. A missing final response does not prove that the request was uncharged.
222
+ Preserve the original request ID and inspect its outcome before another call. A missing final response does not prove that it was uncharged; do not automatically replay an uncertain request.
191
223
 
192
224
  ## Error Handling & Retries
193
225
 
@@ -1,6 +1,6 @@
1
1
  # website-quality-audit-mcp:网站质量与性能审计 MCP
2
2
 
3
- 通过 OpenAny 为 Claude、Cursor 等客户端提供网站质量与性能审计。本地 stdio 运行,客户端负责分析、写作与导出。
3
+ 通过 OpenAny 为 Claude、Cursor 等客户端提供网站质量与性能审计。本地 `stdio` 运行,客户端负责分析、写作与导出。
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@openanysi/website-quality-audit-mcp.svg)](https://www.npmjs.com/package/@openanysi/website-quality-audit-mcp)
6
6
  [![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](../LICENSE)
@@ -10,15 +10,17 @@
10
10
 
11
11
  ## 概览
12
12
 
13
- 本包包含 3 个只读数据工具和三个免费辅助工具。每个数据工具执行一个独立请求,采样、分页、标识衔接和下一步由客户端决定。
13
+ 本包面向网站负责人及技术 SEO 团队。研究范围包括发现站点 URL、检查单个页面、执行单页 Lighthouse 审计。
14
+
15
+ 可交付的成果包括:含审计证据与范围说明的网页修复优先级简报。
14
16
 
15
17
  **适合 / 不适合**
16
18
 
17
- - 适合指定平台范围内带来源的记录比较。
18
- - 适合使用 Claude、Cursor 等客户端整理证据表和调研简报。
19
- - 适合仅分析用户提供的已有结果。
20
- - 不适合账号运营、发布、购买或隐藏的多请求编排。
21
- - 不适合用小样本推断全平台统计或承诺未经核实的结果。
19
+ - **适合:**发现站点 URL,用于付费审计前选择真实 HTML 页面。
20
+ - **适合:**检查单个页面,用于检查页面专属技术证据。
21
+ - **适合:**执行单页 Lighthouse 审计,用于在明确设备背景下比较实验室性能。
22
+ - **适合:**仅分析用户提供的已有材料,不为写报告新增采集。
23
+ - **不适合:**使用工具未开放的操作或筛选,或将样本当作完整覆盖;具体范围见 FAQ。
22
24
 
23
25
  ## 目录
24
26
 
@@ -41,7 +43,7 @@
41
43
 
42
44
  ### 前置条件
43
45
 
44
- - Node.js 22+ 和支持本地 stdio MCP 的客户端。
46
+ - Node.js 22+ 和支持本地 `stdio` MCP 的客户端。
45
47
  - 数据调用需要 OpenAny Key:[API Keys](https://openany.si/dashboard/?page=api-keys)、[配置指南](https://openany.si/setup.md)、[用量和费用](https://openany.si/dashboard/?page=usage)。
46
48
  - 三个辅助工具免 Key。
47
49
 
@@ -66,7 +68,7 @@
66
68
  }
67
69
  ```
68
70
 
69
- 将 `OPENANY_API_KEY` 保存在私密客户端设置或继承环境中。仅试用辅助工具时可省略 env;不要将真实 Key 写入聊天或仓库。
71
+ 将 `OPENANY_API_KEY` 保存在私密客户端设置或继承环境中。仅试用辅助工具时可省略 `env`;不要将真实 Key 写入聊天或仓库。
70
72
 
71
73
  ### 验证连接
72
74
 
@@ -75,36 +77,35 @@
75
77
 
76
78
  ## 核心特性
77
79
 
78
- - 3 个原子数据工具,具体能力见下表。
79
- - 调用前通过 `get_tool_info` 查看当前参数和价格。
80
- - 调研与证据简报两套中英文指南。
81
- - 附带与指南文本同步的可选 companion Skill。
82
- - 分页、比较及可用的 CSV/Markdown 导出由客户端决定。
83
- - 通过 OpenAny 通用目录发现包外能力。
80
+ - **发现站点 URL:**通过 `list_sitemap_urls` 独立读取;输入和可用字段见工具参考。
81
+ - **检查单个页面:**通过 `inspect_page` 独立读取;输入和可用字段见工具参考。
82
+ - **执行单页 Lighthouse 审计:**通过 `run_lighthouse` 独立读取;输入和可用字段见工具参考。
83
+ - **保留比较口径:**记录页面 URL、审计 / 任务状态、设备 / 运行时间,缺失字段标未知。
84
+ - **一次一决策:**先查当前参数和费用,再决定每个请求;超时或未知状态不自动重放。
85
+ - **双语任务指南:**内置采集和简报指南;客户端使用自己的模型完成分析和可用的本地导出。
84
86
 
85
87
  ## 示例提示词
86
88
 
87
- - “发现我的网站链接,选一个相关HTML页面,结合技术检查与桌面Lighthouse结果,输出有证据的修复优先级。”
88
- - “比较相关工具返回的记录,保留标识、日期和缺失字段。”
89
- - “将已有样本整理成证据简报,区分观察和假设。”
90
- - “仅使用我提供的结果,不新增数据调用,输出比较表。”
89
+ - “检查选定网页,对照技术检查与 Lighthouse 观察。”
90
+ - “发现网站链接,选择一个 HTML 页面,将技术检查与桌面 Lighthouse 审计对照。”
91
+ - “区分 Lighthouse 实验室结果、真实用户 Core Web Vitals 和全站覆盖。”
92
+ - “只使用我提供的记录,不新增数据调用。按下方证据列整理表格,标记缺失字段并提出后续核对问题。”
91
93
 
92
94
  ## 为什么选择本 MCP
93
95
 
94
96
  | 关注点 | 处理方式 | 用户价值 |
95
97
  | --- | --- | --- |
96
- | 明确范围 | 单一调研领域的只读工具 | 工具集合小且可检查 |
97
- | 控制费用 | 每次请求前查价 | 对每次付费调用作明确决定 |
98
- | 可追溯证据 | 保留原记录与样本边界 | 便于复核比较与简报 |
99
- | 灵活交付 | 客户端模型分析和写作 | 使用自己的模型及文件工具 |
98
+ | 发现站点 URL | 使用 `list_sitemap_urls`,按当前契约提供 `url` | 付费审计前选择真实 HTML 页面 |
99
+ | 检查单个页面 | 使用 `inspect_page`,按当前契约提供 `tasks` | 检查页面专属技术证据 |
100
+ | 执行单页 Lighthouse 审计 | 使用 `run_lighthouse`,按当前契约提供 `tasks` | 在明确设备背景下比较实验室性能 |
100
101
 
101
102
  ## 可以构建与交付什么
102
103
 
103
104
  | 场景 | 客户端执行方式 | 交付物 |
104
105
  | --- | --- | --- |
105
- | 来源采集 | 选择相关工具并读取受控样本 | 带链接的证据表 |
106
- | 对比研究 | 对齐记录对象及范围 | 比较表与缺失字段 |
107
- | 证据简报 | 使用 `evidence_brief` 分析已有输出 | Markdown 简报及后续问题 |
106
+ | 发现站点 URL | 选择 `list_sitemap_urls`,按当前契约提供所需标识和输入。 | 用于付费审计前选择真实 HTML 页面的来源证据表。 |
107
+ | 检查单个页面 | 选择 `inspect_page`,按当前契约提供所需标识和输入。 | 用于检查页面专属技术证据的来源证据表。 |
108
+ | 领域比较简报 | 对齐已采集记录的对象、日期和单位,再解释差异。 | 有来源的观察、未解决差异和后续核查问题。 |
108
109
 
109
110
  ## 工具参考
110
111
 
@@ -116,15 +117,38 @@
116
117
 
117
118
  | 工具 | 参数 | 行为 | 返回数据概览 |
118
119
  | --- | --- | --- | --- |
119
- | `list_sitemap_urls` | `url` (string, required); `type` (string, optional; sitemap, all) | Discover sitemap URLs | `links`;字段取决于接口,部分字段可能缺失。 |
120
- | `inspect_page` | `tasks` (array, required) | Inspect one page | `url`, `status_code`, `onpage_score`, `checks`, `meta`, `page_timing`;字段取决于接口,部分字段可能缺失。 |
121
- | `run_lighthouse` | `tasks` (array, required) | Run one Lighthouse audit | `requestedUrl`, `finalUrl`, `categories`, `audits`, `fetchTime`;字段取决于接口,部分字段可能缺失。 |
120
+ | `list_sitemap_urls` | `url` (string, required); `type` (string, optional; sitemap, all) | 发现站点 URL | `links`;字段取决于接口,部分字段可能缺失。 |
121
+ | `inspect_page` | `tasks` (array, required) | 检查单个页面 | `url`, `status_code`, `onpage_score`, `checks`, `meta`, `page_timing`;字段取决于接口,部分字段可能缺失。 |
122
+ | `run_lighthouse` | `tasks` (array, required) | 执行单页 Lighthouse 审计 | `requestedUrl`, `finalUrl`, `categories`, `audits`, `fetchTime`;字段取决于接口,部分字段可能缺失。 |
122
123
 
123
124
  响应按原接口透传,未编造统一业务 Schema。提取字段或串联标识前先检查真实结果;可选字段可能缺失。只有参数表中存在的工具才接受输入游标。
124
125
 
125
- 先发现URL,再逐页检查。tasks数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse是实验室测量,不是真实用户Core Web Vitals,也不自动审计全站。
126
+ 先发现 URL,再逐页检查。tasks 数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse 是实验室测量,不是真实用户 Core Web Vitals,也不自动审计全站。
127
+
128
+ `list_sitemap_urls` 必填 url,可选 type(sitemap/all)。检查返回链接,保持目标域名并选择 HTML 页面,不将 sitemap 文件当作页面审计。审计 tasks 必须恰好包含一个对象且提供 url;`inspect_page` 对象内可选 `enable_javascript`、`browser_preset`、`accept_language`;`run_lighthouse` 对象内可选 `for_mobile`、categories、audits、`language_code`。
129
+
130
+ #### 嵌套请求结构
131
+
132
+ 字段路径表示实际嵌套位置,不应改成顶层参数。数组使用 `[]` 表示元素;必填性按所属对象判断,其他条件以当前 `get_tool_info` 为准。
133
+
134
+ **`inspect_page`** — `tasks` 数组元素数:1–1。
135
+
136
+ | 嵌套字段 | 必填性 | 类型 / 约束 |
137
+ | --- | --- | --- |
138
+ | `tasks[].accept_language` | 可选 | string / null |
139
+ | `tasks[].browser_preset` | 可选 | string / null |
140
+ | `tasks[].enable_javascript` | 可选 | boolean / null |
141
+ | `tasks[].url` | 所属对象内必填 | string (长度 1–…) |
142
+
143
+ **`run_lighthouse`** — `tasks` 数组元素数:1–1。
126
144
 
127
- list_sitemap_urls必填url,可选type(sitemap/all)。检查返回链接,保持目标域名并选择HTML页面,不将sitemap文件当作页面审计。审计tasks必须恰好包含一个对象且提供url;inspect_page对象内可选enable_javascript、browser_preset、accept_language;run_lighthouse对象内可选for_mobile、categories、audits、language_code。
145
+ | 嵌套字段 | 必填性 | 类型 / 约束 |
146
+ | --- | --- | --- |
147
+ | `tasks[].audits` | 可选 | array / null |
148
+ | `tasks[].categories` | 可选 | array / null |
149
+ | `tasks[].for_mobile` | 可选 | boolean / null |
150
+ | `tasks[].language_code` | 可选 | string / null |
151
+ | `tasks[].url` | 所属对象内必填 | string (长度 1–…) |
128
152
 
129
153
  ### 免费辅助工具
130
154
 
@@ -136,56 +160,66 @@ list_sitemap_urls必填url,可选type(sitemap/all)。检查返回链接,
136
160
 
137
161
  ## 内置工作流指南
138
162
 
139
- `get_workflow` 返回客户端使用的说明和模板,本身不调用数据、模型,也不直接生成报告。
163
+ `get_workflow` 返回供客户端使用的说明,本身不调用数据或模型;英文指南传 `language: "en"`。
140
164
 
141
165
  | 指南 ID | 适用任务 | 内容 |
142
166
  | --- | --- | --- |
143
- | `research` | 规划和收集样本 | 工具选择、标识核对与证据表 |
144
- | `evidence_brief` | 根据已有记录撰写简报 | 来源、发现、缺口与后续问题 |
167
+ | `research` | 选择本领域采集路径 | 核对可用工具、输入标识和采样边界。 |
168
+ | `evidence_brief` | 根据已有材料撰写简报 | 保留来源、比较口径、缺失信息与后续问题。 |
145
169
 
146
170
  ### 可选 companion Skill
147
171
 
148
- [领域 Skill](../skills/website-quality-audit/SKILL.md) 包含相同双语指南;仅在客户端支持 Skill 时安装该目录。不安装仍可使用 MCP 内置指南。
172
+ [领域 Skill](../skills/website-quality-audit/SKILL.md) 包含相同双语指南。仅在客户端支持 Skill 时安装;不安装仍可使用 MCP 指南。
149
173
 
150
174
  ## 完整示例
151
175
 
152
- **提示词:**“发现我的网站链接,选一个相关HTML页面,结合技术检查与桌面Lighthouse结果,输出有证据的修复优先级。”
176
+ **提示词:**“发现网站链接,选择一个 HTML 页面,将技术检查与桌面 Lighthouse 审计对照。”
177
+
178
+ **客户端执行方式:**
153
179
 
154
- 1. 加载 `research`,明确问题、标识和预算。
155
- 2. 通过 `get_tool_info` 检查每个目标数据工具。
156
- 3. 执行已批准的独立请求,检查真实结果后再复用标识。
157
- 4. 保留来源和未知字段,使用 `evidence_brief` 整理观察与假设。
158
- 5. 客户端具备文件工具时再导出 Markdown 或 CSV。
180
+ 1. 加载 `research`,明确对象、范围和预算,选择实际需要的工具:`list_sitemap_urls`, `inspect_page`, `run_lighthouse`。
181
+ 2. 通过 `get_tool_info` 核对当前 Schema 和价格。只有标识与必填字段齐全时才发起已获授权的调用;不要编造标识或自动追加页面。
182
+ 3. 发现 URL 后选择同域 HTML 页面,再在每个审计 tasks 数组中提交恰好一页。解读发现前保留设备和运行背景,核对任务级成功状态。
183
+ 4. 按以下列保留证据:页面 URL | 审计 / 任务状态 | 设备 / 运行时间 | 观察问题 | 证据 | 优先级假设。缺失字段标未知。
184
+ 5. 加载 `evidence_brief`,写出有证据支持的发现与后续问题;有文件工具时再导出 Markdown / CSV。
159
185
 
160
186
  ## 常见问题
161
187
 
162
- ### 使用费用是多少?
188
+ ### 开始前需要确认哪些输入?
189
+
190
+ `list_sitemap_urls` 需要 `url`;`inspect_page` 需要 `tasks`;`run_lighthouse` 需要 `tasks`。先按工具表选择查询或已知记录读取;缺少标识时向用户补充,不按相似名称猜测。
163
191
 
164
- Apache-2.0 软件包免费,3 个辅助工具免费免 Key;3 个数据工具按 OpenAny 当前 API 定价计费。调用前用 `get_tool_info` 查价,客户端模型费用另计。
192
+ ### 如何比较本领域的记录?
165
193
 
166
- ### 支持 Cursor、Claude Desktop 和 Claude Code 吗?
194
+ 比较前对齐页面 URL、审计 / 任务状态、设备 / 运行时间。将可比观察与未知字段分别记录,所需证据不足时明确列出后续核查项。
195
+
196
+ ### 有哪些领域范围限制?
197
+
198
+ 先发现 URL,再逐页检查。tasks 数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse 是实验室测量,不是真实用户 Core Web Vitals,也不自动审计全站。
199
+
200
+ ### 使用费用是多少?
167
201
 
168
- 支持标准本地 stdio MCP。上述 JSON 适用于采用 mcpServers 格式的宿主,其他客户端使用各自设置注册相同启动命令。
202
+ Apache-2.0 软件包没有 MCP 订阅费。3 个辅助工具免费免 Key;3 个数据工具按 OpenAny 当前价格计费,调用前通过 `get_tool_info` 查看。客户端模型费用另计。
169
203
 
170
- ### 无 Key 可以体验吗?
204
+ ### 需要目标平台账号或 Cookie 吗?
171
205
 
172
- 可以,三个辅助工具可读取参数、指南和能力候选;数据请求需要 OPENANY_API_KEY。
206
+ 本包的数据调用使用 `OPENANY_API_KEY`,不要求在 MCP 配置中保存个人平台账号或浏览器 Cookie。它不能借此访问未提供的私密账号数据。
173
207
 
174
- ### MCP 会直接撰写最终报告吗?
208
+ ### 支持哪些客户端,无 Key 能做什么?
175
209
 
176
- 报告由客户端 Agent 撰写。get_workflow 提供指南和模板,数据工具提供证据。
210
+ 支持标准本地 `stdio` MCP。配置 JSON 适用于采用 `mcpServers` 的宿主;其他客户端注册相同命令。无 Key 时可查看工具信息、读取指南和发现相关能力。
177
211
 
178
- ### 会自动分页或重试吗?
212
+ ### 可以把缺失字段当作零,或推断全量结果吗?
179
213
 
180
- 不会。客户端选择每一页,执行不明的请求不会自动重放。游标必须与原工具和查询条件匹配。
214
+ 不能。保留对象、来源、筛选和采样范围;缺失值标未知,结果不代表未采集到的记录。
181
215
 
182
- ### 缺少能力怎么办?
216
+ ### 谁负责报告与文件导出?
183
217
 
184
- 使用 search_openany_capabilities 或连接 [OpenAny 通用 MCP](https://mcp.openany.si/)。目录发现不会自动调用或安装另一个服务。
218
+ 客户端 Agent 负责分析和写作,导出 Markdown / CSV 需要其文件工具。MCP 返回数据和指南,不直接生成报告。包外能力可通过 `search_openany_capabilities` 或 OpenAny 通用 MCP 查找。
185
219
 
186
- ### 超时如何处理?
220
+ ### 超时或执行状态不明怎么办?
187
221
 
188
- 保留请求 ID,先核对原请求再决定下一次调用;缺少最终响应不代表未收费。
222
+ 保留原请求 ID,先核查结果再决定后续调用;未收到最终结果不代表未收费,不自动重放未知请求。
189
223
 
190
224
  ## 错误处理与重试
191
225
 
@@ -198,7 +232,7 @@ Apache-2.0 软件包免费,3 个辅助工具免费免 Key;3 个数据工具
198
232
  ## 范围、数据与计费
199
233
 
200
234
  - **执行和计费:**逐次检查并执行;空结果也可能按所选规则收费。
201
- - **采样边界:**先发现URL,再逐页检查。tasks数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse是实验室测量,不是真实用户Core Web Vitals,也不自动审计全站。
235
+ - **采样边界:**先发现 URL,再逐页检查。tasks 数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse 是实验室测量,不是真实用户 Core Web Vitals,也不自动审计全站。
202
236
  - **报告规范:**区分原始数据、观察、假设与草稿;缺失事实标未知。
203
237
  - **网络和隐私:**服务在本地运行,目录查询和业务输入会发送到 OpenAny。
204
238
 
@@ -210,7 +244,7 @@ Apache-2.0 软件包免费,3 个辅助工具免费免 Key;3 个数据工具
210
244
 
211
245
  [OpenAny](https://openany.si/) 是 B2A(Business-to-Agent)市场,提供 AI 模型、数据和业务 API、MCP 工具以及 ready-to-call Runs。一枚 Key 按调用付费,无需强制月费订阅。
212
246
 
213
- 使用 search_openany_capabilities 或连接 [OpenAny 通用 MCP](https://mcp.openany.si/) 扩展能力。
247
+ 使用 `search_openany_capabilities` 或连接 [OpenAny 通用 MCP](https://mcp.openany.si/) 扩展能力。
214
248
 
215
249
  ## 许可证
216
250
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openanysi/website-quality-audit-mcp",
3
- "version": "0.1.0",
4
- "description": "Discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. Powered by OpenAny.",
3
+ "version": "0.1.1",
4
+ "description": "Discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. Bilingual MCP guides for website owners and technical SEO teams; your client analyzes the returned evidence. Powered by OpenAny.",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=22"
@@ -28,20 +28,22 @@
28
28
  "sync:skill": "node scripts/sync-skill.mjs"
29
29
  },
30
30
  "keywords": [
31
+ "mcp",
32
+ "mcp-server",
33
+ "model-context-protocol",
34
+ "openany",
35
+ "ai-agents",
31
36
  "website-audit",
32
37
  "lighthouse",
33
38
  "technical-seo",
34
39
  "sitemap",
35
40
  "web-performance",
36
- "mcp",
37
- "mcp-server",
38
- "model-context-protocol",
39
- "openany",
40
41
  "claude",
41
42
  "cursor",
42
43
  "page-audit",
43
44
  "lighthouse-audit",
44
- "ai-agents"
45
+ "page-performance",
46
+ "sitemap-discovery"
45
47
  ],
46
48
  "repository": {
47
49
  "type": "git",
@@ -58,6 +60,6 @@
58
60
  "devDependencies": {
59
61
  "@modelcontextprotocol/client": "2.4.0"
60
62
  },
61
- "readme": "# website-quality-audit-mcp: Website Quality Audit MCP\n\nMCP server to discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. Built for Claude, Cursor and other AI agents. Powered by [OpenAny](https://openany.si/).\n\n[![npm version](https://img.shields.io/npm/v/@openanysi/website-quality-audit-mcp.svg)](https://www.npmjs.com/package/@openanysi/website-quality-audit-mcp)\n[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)\n[![Node.js](https://img.shields.io/badge/node-%3E%3D22-brightgreen.svg)](https://nodejs.org/)\n\nEnglish | [简体中文](docs/README.zh-CN.md)\n\n## Overview\n\nDiscover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. The server provides 3 read-only data tools and three free utility tools over local `stdio`. Your client agent selects calls, interprets evidence and writes reports using its own model. Supply the identifiers and filters listed in Tools Reference; each data call remains independent.\n\n**Best For / Not For**\n\n- **Best For:** sourced comparisons within the supported platform and task scope.\n- **Best For:** turning available records into an evidence table and research brief in Claude, Cursor or another MCP client.\n- **Best For:** analyzing supplied outputs without additional data calls.\n- **Not For:** account automation, publishing, purchases or hidden multi-request workflows.\n- **Not For:** complete population statistics or claims unsupported by the collected sample.\n\n## Table of Contents\n\n- [Quick Start](#quick-start)\n- [Key Features](#key-features)\n- [Example Prompts](#example-prompts)\n- [Why website-quality-audit-mcp?](#why-website-quality-audit-mcp)\n- [What You Can Build & Deliver](#what-you-can-build--deliver)\n- [Tools Reference](#tools-reference)\n- [Built-in Workflow Guides](#built-in-workflow-guides)\n- [End-to-End Example](#end-to-end-example)\n- [FAQ](#faq)\n- [Error Handling & Retries](#error-handling--retries)\n- [Scope, Data & Billing Notes](#scope-data--billing-notes)\n- [Development](#development)\n- [About OpenAny](#about-openany)\n- [License](#license)\n\n## Quick Start\n\n### Prerequisites\n\n- Node.js 22+ and a client supporting local `stdio` MCP servers.\n- An OpenAny API key for data tools: [API Keys](https://openany.si/dashboard/?page=api-keys), [setup guide](https://openany.si/setup.md), [usage and costs](https://openany.si/dashboard/?page=usage).\n- Utility tools work without a key.\n\n### Configure Your Client\n\nFor clients using `mcpServers`, add this to private settings. Other hosts register the same command, arguments and environment through their MCP settings or CLI.\n\n```json\n{\n \"mcpServers\": {\n \"website-quality-audit-mcp\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@openanysi/website-quality-audit-mcp\"\n ],\n \"env\": {\n \"OPENANY_API_KEY\": \"YOUR_OPENANY_API_KEY\"\n }\n }\n }\n}\n```\n\nStore `OPENANY_API_KEY` in private client settings or the inherited environment. Omit `env` for utility-only use. Keep real keys out of chat and repositories.\n\n### Verify It Works\n\n- **Without an API key:** Inspect `list_sitemap_urls` with `get_tool_info`, then load `get_workflow` with `workflow: \"research\", language: \"en\"`. Explain inputs and pricing without fetching data.\n- **With an API key:** Ask the agent to inspect the relevant tool, request one scoped sample for your question, and preserve sources and missing fields in a research table.\n\n## Key Features\n\n- 3 atomic tools for the operations listed below.\n- Current parameters and prices available through `get_tool_info`.\n- Two English/Chinese workflow guides for research and evidence briefs.\n- A packaged optional companion Skill using the same guide texts.\n- Client-controlled pagination, comparisons and supported CSV/Markdown exports.\n- Broader capability discovery through the OpenAny catalog.\n\n## Example Prompts\n\n- \"Discover links for my website, choose one relevant HTML page, and compare its technical checks with a desktop Lighthouse audit. Return prioritized fixes with evidence.\"\n- \"Compare the records returned by the relevant tools; keep identifiers, dates and missing values.\"\n- \"Turn the collected sample into an evidence brief. Separate observations from hypotheses.\"\n- \"Use only the results I provide. Make no new data calls; organize them into a comparison table.\"\n\n## Why website-quality-audit-mcp?\n\n| What You Care About | How We Handle It | Value to You |\n| --- | --- | --- |\n| Focused scope | Read-only tools for one research domain | A small, inspectable tool set |\n| Spending control | Read current pricing before individual requests | Explicit decisions about each paid call |\n| Evidence quality | Preserve source records and sample limits | Reviewable comparisons and briefs |\n| Flexible reporting | Your client performs analysis and writing | Use your chosen model and file tools |\n\n## What You Can Build & Deliver\n\n| Use Case | How the Agent Runs It | Typical Deliverables |\n| --- | --- | --- |\n| Source collection | Select the relevant tools and request a bounded sample | Linked evidence table |\n| Comparative research | Compare matching records and their scope | Comparison table with missing fields |\n| Evidence brief | Load `evidence_brief` and analyze existing outputs | Markdown brief and next questions |\n\n## Tools Reference\n\nThe server exposes **6 tools**: 3 data tools and 3 free keyless utilities. Each data tool maps to one request. The client decides subsequent calls and pages.\n\n### Data Tools\n\n| Tool | Parameters | Behavior | Typical Returned Fields |\n| --- | --- | --- | --- |\n| `list_sitemap_urls` | `url` (string, required); `type` (string, optional; sitemap, all) | Discover sitemap URLs | `links`; provider-dependent; optional fields may be absent. |\n| `inspect_page` | `tasks` (array, required) | Inspect one page | `url`, `status_code`, `onpage_score`, `checks`, `meta`, `page_timing`; provider-dependent; optional fields may be absent. |\n| `run_lighthouse` | `tasks` (array, required) | Run one Lighthouse audit | `requestedUrl`, `finalUrl`, `categories`, `audits`, `fetchTime`; provider-dependent; optional fields may be absent. |\n\nResponses are passed through rather than normalized into an invented common business schema. Inspect the returned payload before extracting fields or chaining identifiers. Optional fields may be missing. An input cursor is available only where listed above.\n\nDiscover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.\n\nEach audit `tasks` array must contain exactly one item with a non-empty `url`.\n\n`list_sitemap_urls` accepts required `url` and optional `type` (`sitemap` or `all`). Inspect returned links, keep the intended host, and select an HTML page rather than passing a sitemap file into an audit. Audit `tasks` must contain exactly one object with required `url`. `inspect_page` also accepts `enable_javascript`, `browser_preset` and `accept_language` inside that object; `run_lighthouse` accepts `for_mobile`, `categories`, `audits` and `language_code`.\n\n### Utility Tools (Free, No API Key Required)\n\n| Tool | Parameters | Behavior |\n| --- | --- | --- |\n| `get_tool_info` | Required `tool_name` from the data-tool names above | Read current parameters, pricing and limits |\n| `get_workflow` | Required `workflow`; optional `language` (`zh` or `en`, default `zh`) | Return a guide; use `language: \"en\"` for English |\n| `search_openany_capabilities` | Required `query` (1-256 characters); optional `limit` (1-10, default 5) | Search related capabilities without executing them |\n\n## Built-in Workflow Guides\n\n`get_workflow` returns instructions and templates for your client. It makes no data or model call and does not itself generate a report.\n\n| Guide ID | Best For | What It Provides |\n| --- | --- | --- |\n| `research` | Planning and collecting a scoped sample | Call selection, identifier checks and an evidence-table template |\n| `evidence_brief` | Reporting from collected or supplied records | Sourced findings, gaps and next questions |\n\n### Companion Skill (Optional)\n\nThe [companion Skill](skills/website-quality-audit/SKILL.md) contains the same bilingual guides. Install that directory only if your client supports Skills. The MCP guides remain usable independently.\n\n## End-to-End Example\n\n**Prompt:** \"Discover links for my website, choose one relevant HTML page, and compare its technical checks with a desktop Lighthouse audit. Return prioritized fixes with evidence.\"\n\n**How the Agent Executes:**\n\n1. Load `research` with `language: \"en\"` and clarify the question, identifiers and budget.\n2. Inspect `get_tool_info` for each selected data tool.\n3. Make the approved individual calls. Reuse identifiers only after inspecting the actual returned records.\n4. Preserve sources and missing fields, then load `evidence_brief` to summarize observations and hypotheses.\n5. Write Markdown or CSV locally if the client provides file tools.\n\n## FAQ\n\n### How much does website-quality-audit-mcp cost?\n\nThe Apache-2.0 package is free to use. The 3 utility tools are free and keyless; the 3 data tools follow current OpenAny API pricing. Inspect `get_tool_info` before calling. Your client's model costs are separate.\n\n### Does it work with Cursor, Claude Desktop and Claude Code?\n\nYes, it uses standard local `stdio` MCP. The JSON above applies to hosts using `mcpServers`; other clients register the same launch command through their own settings.\n\n### Can I try it without an API key?\n\nYes. Use the three utility tools to read parameters, guides and capability candidates. Data requests require `OPENANY_API_KEY`.\n\n### Does the MCP write the final report?\n\nYour client agent writes the report. `get_workflow` supplies instructions and a template; data tools supply the evidence.\n\n### Does it paginate or retry automatically?\n\nNo. The client selects each subsequent page, and uncertain requests are not replayed automatically. Keep cursors within their original operation and query context.\n\n### What if I need another capability?\n\nUse `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/). Discovery does not automatically execute or install another service.\n\n### How should I handle timeouts?\n\nKeep the request ID and check the original outcome before another call. A missing final response does not prove that the request was uncharged.\n\n## Error Handling & Retries\n\n| Execution State | Typical Indicators | Billed? | Safe to Retry? |\n| --- | --- | --- | --- |\n| **Failed** | Input or credential rejection before dispatch | No | After correcting the input |\n| **Succeeded** | Returned business data | According to the selected API's billing rule | Do not resubmit the same request |\n| **Uncertain / Timeout** | Final result was not received | Unknown | Check the original request first |\n\n## Scope, Data & Billing Notes\n\n- **Execution & Billing:** Each call is inspected and executed separately. Empty results may incur a charge when the selected rule applies.\n- **Sampling & Data Boundaries:** Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.\n- **Reporting Standards:** Separate source data, observations, hypotheses and drafts. Mark unavailable facts as unknown.\n- **Network & Privacy:** The server runs locally; catalog queries and business inputs are sent to OpenAny.\n\n## Development\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide maintenance.\n\n## About OpenAny\n\n[OpenAny](https://openany.si/) is a **B2A (Business-to-Agent) marketplace** for AI models, data and business APIs, tools/MCP servers and ready-to-call Runs. One OpenAny key provides pay-per-call access without a required monthly subscription.\n\nDiscover additional capabilities with `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/).\n\n## License\n\n[Apache-2.0](LICENSE)\n",
63
+ "readme": "# website-quality-audit-mcp: Website Quality Audit MCP\n\nMCP server to discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. Built for Claude, Cursor and other AI agents. Powered by [OpenAny](https://openany.si/).\n\n[![npm version](https://img.shields.io/npm/v/@openanysi/website-quality-audit-mcp.svg)](https://www.npmjs.com/package/@openanysi/website-quality-audit-mcp)\n[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](LICENSE)\n[![Node.js](https://img.shields.io/badge/node-%3E%3D22-brightgreen.svg)](https://nodejs.org/)\n\nEnglish | [简体中文](docs/README.zh-CN.md)\n\n## Overview\n\nUse this MCP to discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data.\n\nDesigned for website owners and technical SEO teams, it supplies evidence your agent can turn into a prioritized page-fix brief with audit evidence and scope notes.\n\n**Best For / Not For**\n\n- **Best For:** Discover sitemap URLs to select a real HTML page before spending on an audit.\n- **Best For:** Inspect one page to inspect page-specific technical evidence.\n- **Best For:** Run one Lighthouse audit to compare laboratory performance within explicit device context.\n- **Best For:** analyzing supplied material without collecting again merely to write a report.\n- **Not For:** operations or filters absent from Tools Reference, or treating samples as complete coverage; see the scope FAQ.\n\n## Table of Contents\n\n- [Quick Start](#quick-start)\n- [Key Features](#key-features)\n- [Example Prompts](#example-prompts)\n- [Why website-quality-audit-mcp?](#why-website-quality-audit-mcp)\n- [What You Can Build & Deliver](#what-you-can-build--deliver)\n- [Tools Reference](#tools-reference)\n- [Built-in Workflow Guides](#built-in-workflow-guides)\n- [End-to-End Example](#end-to-end-example)\n- [FAQ](#faq)\n- [Error Handling & Retries](#error-handling--retries)\n- [Scope, Data & Billing Notes](#scope-data--billing-notes)\n- [Development](#development)\n- [About OpenAny](#about-openany)\n- [License](#license)\n\n## Quick Start\n\n### Prerequisites\n\n- Node.js 22+ and a client supporting local `stdio` MCP servers.\n- An OpenAny API key for data tools: [API Keys](https://openany.si/dashboard/?page=api-keys), [setup guide](https://openany.si/setup.md), [usage and costs](https://openany.si/dashboard/?page=usage).\n- Utility tools work without a key.\n\n### Configure Your Client\n\nFor clients using `mcpServers`, add this to private settings. Other hosts register the same command, arguments and environment through their MCP settings or CLI.\n\n```json\n{\n \"mcpServers\": {\n \"website-quality-audit-mcp\": {\n \"command\": \"npx\",\n \"args\": [\n \"-y\",\n \"@openanysi/website-quality-audit-mcp\"\n ],\n \"env\": {\n \"OPENANY_API_KEY\": \"YOUR_OPENANY_API_KEY\"\n }\n }\n }\n}\n```\n\nStore `OPENANY_API_KEY` in private client settings or the inherited environment. Omit `env` for utility-only use. Keep real keys out of chat and repositories.\n\n### Verify It Works\n\n- **Without an API key:** Inspect `list_sitemap_urls` with `get_tool_info`, then load `get_workflow` with `workflow: \"research\", language: \"en\"`. Explain inputs and pricing without fetching data.\n- **With an API key:** Ask the agent to inspect the relevant tool, request one scoped sample for your question, and preserve sources and missing fields in a research table.\n\n## Key Features\n\n- **Discover sitemap URLs:** use `list_sitemap_urls` as an independent operation; inspect its inputs and available fields below.\n- **Inspect one page:** use `inspect_page` as an independent operation; inspect its inputs and available fields below.\n- **Run one Lighthouse audit:** use `run_lighthouse` as an independent operation; inspect its inputs and available fields below.\n- **Comparable evidence:** retain Page URL; Audit / task status; Device / run time; mark missing fields unknown.\n- **Inspect before collection:** read current parameters and pricing before each request; uncertain outcomes are not automatically replayed.\n- **Bilingual task guidance:** collection and reporting guides support analysis and available local exports with your own client model.\n\n## Example Prompts\n\n- \"Inspect selected website pages and compare technical checks with Lighthouse observations.\"\n- \"Discover links for my website, select one HTML page, and compare its technical checks with a desktop Lighthouse audit.\"\n- \"Keep laboratory Lighthouse results separate from field Core Web Vitals and whole-site coverage.\"\n- \"Use only the records I provide. Make no new data calls. Organize the evidence columns below, mark missing fields and list follow-up questions.\"\n\n## Why website-quality-audit-mcp?\n\n| What You Care About | How We Handle It | Value to You |\n| --- | --- | --- |\n| Discover sitemap URLs | Use `list_sitemap_urls` with `url` | Select a real HTML page before spending on an audit |\n| Inspect one page | Use `inspect_page` with `tasks` | Inspect page-specific technical evidence |\n| Run one Lighthouse audit | Use `run_lighthouse` with `tasks` | Compare laboratory performance within explicit device context |\n\n## What You Can Build & Deliver\n\n| Use Case | How the Agent Runs It | Typical Deliverables |\n| --- | --- | --- |\n| Discover sitemap URLs | Choose `list_sitemap_urls` with the identifiers and inputs required by its current contract. | Sourced evidence to help select a real HTML page before spending on an audit. |\n| Inspect one page | Choose `inspect_page` with the identifiers and inputs required by its current contract. | Sourced evidence to help inspect page-specific technical evidence. |\n| Website Quality Audit brief | Align object identity, dates and units before interpreting collected records. | Sourced observations, unresolved differences and follow-up checks. |\n\n## Tools Reference\n\nThe server exposes **6 tools**: 3 data tools and 3 free keyless utilities. Each data tool maps to one request. The client decides subsequent calls and pages.\n\n### Data Tools\n\n| Tool | Parameters | Behavior | Typical Returned Fields |\n| --- | --- | --- | --- |\n| `list_sitemap_urls` | `url` (string, required); `type` (string, optional; sitemap, all) | Discover sitemap URLs | `links`; provider-dependent; optional fields may be absent. |\n| `inspect_page` | `tasks` (array, required) | Inspect one page | `url`, `status_code`, `onpage_score`, `checks`, `meta`, `page_timing`; provider-dependent; optional fields may be absent. |\n| `run_lighthouse` | `tasks` (array, required) | Run one Lighthouse audit | `requestedUrl`, `finalUrl`, `categories`, `audits`, `fetchTime`; provider-dependent; optional fields may be absent. |\n\nResponses are passed through rather than normalized into an invented common business schema. Inspect the returned payload before extracting fields or chaining identifiers. Optional fields may be missing. An input cursor is available only where listed above.\n\nDiscover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.\n\nEach audit `tasks` array must contain exactly one item with a non-empty `url`.\n\n`list_sitemap_urls` accepts required `url` and optional `type` (`sitemap` or `all`). Inspect returned links, keep the intended host, and select an HTML page rather than passing a sitemap file into an audit. Audit `tasks` must contain exactly one object with required `url`. `inspect_page` also accepts `enable_javascript`, `browser_preset` and `accept_language` inside that object; `run_lighthouse` accepts `for_mobile`, `categories`, `audits` and `language_code`.\n\n#### Nested Request Shapes\n\nPaths show actual nesting; do not send nested fields at the tool top level. `[]` denotes an array item. Required markers apply within the containing object; inspect `get_tool_info` for conditional alternatives.\n\n**`inspect_page`** — `tasks` array item count: 1–1\n\n| Nested field | Requirement | Type / constraints |\n| --- | --- | --- |\n| `tasks[].accept_language` | Optional | string / null |\n| `tasks[].browser_preset` | Optional | string / null |\n| `tasks[].enable_javascript` | Optional | boolean / null |\n| `tasks[].url` | Required within parent | string (length 1–…) |\n\n**`run_lighthouse`** — `tasks` array item count: 1–1\n\n| Nested field | Requirement | Type / constraints |\n| --- | --- | --- |\n| `tasks[].audits` | Optional | array / null |\n| `tasks[].categories` | Optional | array / null |\n| `tasks[].for_mobile` | Optional | boolean / null |\n| `tasks[].language_code` | Optional | string / null |\n| `tasks[].url` | Required within parent | string (length 1–…) |\n\n### Utility Tools (Free, No API Key Required)\n\n| Tool | Parameters | Behavior |\n| --- | --- | --- |\n| `get_tool_info` | Required `tool_name` from the data-tool names above | Read current parameters, pricing and limits |\n| `get_workflow` | Required `workflow`; optional `language` (`zh` or `en`, default `zh`) | Return a guide; use `language: \"en\"` for English |\n| `search_openany_capabilities` | Required `query` (1-256 characters); optional `limit` (1-10, default 5) | Search related capabilities without executing them |\n\n## Built-in Workflow Guides\n\n`get_workflow` returns instructions for your client without calling data tools or a model. Select `language: \"en\"` for English.\n\n| Guide ID | Best For | What It Provides |\n| --- | --- | --- |\n| `research` | Planning website quality audit | A tool/identifier checklist and a scoped collection method. |\n| `evidence_brief` | Reporting from collected website quality audit records | Source attribution, comparison context, missing information and follow-up questions. |\n\n### Companion Skill (Optional)\n\nThe [companion Skill](skills/website-quality-audit/SKILL.md) contains the same bilingual guides. Install it only if your client supports Skills; MCP guides work independently.\n\n## End-to-End Example\n\n**Prompt:** \"Discover links for my website, select one HTML page, and compare its technical checks with a desktop Lighthouse audit.\"\n\n**How the Agent Executes:**\n\n1. Load `research`, establish identifiers, scope and budget, and select the needed tools: `list_sitemap_urls`, `inspect_page`, `run_lighthouse`.\n2. Inspect `get_tool_info` for current schemas and pricing. Make authorized calls only with confirmed identifiers and required inputs; do not fabricate IDs or append pages automatically.\n3. Discover URLs, select a same-host HTML page, then submit exactly one page in each audit tasks array. Preserve device/run context and inspect task-level success before interpreting findings.\n4. Retain evidence using these columns: Page URL | Audit / task status | Device / run time | Observed issue | Evidence | Priority hypothesis. Mark absent fields unknown.\n5. Load `evidence_brief`, write evidence-linked findings and open questions, and export Markdown/CSV only when client file tools are available.\n\n## FAQ\n\n### Which inputs should I confirm before starting?\n\n`list_sitemap_urls` requires `url`; `inspect_page` requires `tasks`; `run_lighthouse` requires `tasks`. Choose the operation that matches the supplied query or known record; ask for missing identifiers rather than guessing from names.\n\n### How should I compare the returned records?\n\nAlign Page URL; Audit / task status; Device / run time before comparing. Keep supported observations separate from unavailable fields and list the specific follow-up evidence needed.\n\n### What are the domain-specific scope limits?\n\nDiscover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.\n\n### How much does this MCP cost?\n\nThe Apache-2.0 package has no MCP subscription fee. Three utilities are free and keyless; 3 data tools follow current OpenAny pricing. Inspect `get_tool_info` before calling. Client model costs are separate.\n\n### Do I need a platform account or browser cookies?\n\nData calls use `OPENANY_API_KEY`. The MCP configuration does not require a personal platform account or browser cookies, and does not grant access to unprovided private account data.\n\n### Which clients work, and what can I try without a key?\n\nUse a standard local `stdio` MCP client. The configuration JSON applies to hosts using `mcpServers`; other clients register the same command. Without a key, inspect tools, read guides and discover related capabilities.\n\n### Can I treat missing fields as zero or infer complete coverage?\n\nNo. Preserve object identity, source, filters and sample scope. Mark missing values unknown; the returned sample does not represent uncollected records.\n\n### Who writes the report and exports files?\n\nYour client agent analyzes and writes; Markdown/CSV export requires its file tools. The MCP returns data and guides rather than generating a report. Discover missing capabilities with `search_openany_capabilities` or the general OpenAny MCP.\n\n### What should I do after a timeout or uncertain result?\n\nPreserve the original request ID and inspect its outcome before another call. A missing final response does not prove that it was uncharged; do not automatically replay an uncertain request.\n\n## Error Handling & Retries\n\n| Execution State | Typical Indicators | Billed? | Safe to Retry? |\n| --- | --- | --- | --- |\n| **Failed** | Input or credential rejection before dispatch | No | After correcting the input |\n| **Succeeded** | Returned business data | According to the selected API's billing rule | Do not resubmit the same request |\n| **Uncertain / Timeout** | Final result was not received | Unknown | Check the original request first |\n\n## Scope, Data & Billing Notes\n\n- **Execution & Billing:** Each call is inspected and executed separately. Empty results may incur a charge when the selected rule applies.\n- **Sampling & Data Boundaries:** Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.\n- **Reporting Standards:** Separate source data, observations, hypotheses and drafts. Mark unavailable facts as unknown.\n- **Network & Privacy:** The server runs locally; catalog queries and business inputs are sent to OpenAny.\n\n## Development\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for setup, verification and guide maintenance.\n\n## About OpenAny\n\n[OpenAny](https://openany.si/) is a **B2A (Business-to-Agent) marketplace** for AI models, data and business APIs, tools/MCP servers and ready-to-call Runs. One OpenAny key provides pay-per-call access without a required monthly subscription.\n\nDiscover additional capabilities with `search_openany_capabilities` or connect the general [OpenAny MCP](https://mcp.openany.si/).\n\n## License\n\n[Apache-2.0](LICENSE)\n",
62
64
  "readmeFilename": "README.md"
63
65
  }
@@ -1,23 +1,19 @@
1
1
  # Website Quality Audit: evidence brief
2
2
 
3
- Use the available outputs of `list_sitemap_urls`, `inspect_page`, `run_lighthouse`. Start from collected evidence and ask before spending beyond the agreed scope. No additional request is required to write this brief.
3
+ Write from existing outputs of `list_sitemap_urls`, `inspect_page`, `run_lighthouse` or supplied material. Do not collect again merely to write.
4
4
 
5
- ## Deliverable
5
+ ## Research scope
6
6
 
7
- 1. Research question, platform/region, collection date and sample coverage.
8
- 2. A table of sources and observed values, retaining identifiers and missing fields.
9
- 3. Three to five observations, each linked to evidence. Separate hypotheses from observed facts.
10
- 4. Limitations and unresolved questions. Avoid population estimates from small samples.
11
- 5. Suggested next steps and the precise additional data needed, if any.
7
+ Discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. State the user's question, the checks actually performed and the remaining coverage gaps.
12
8
 
13
- If drafting content, use confirmed product facts and write original material; sampled opinions are not verified product claims. The client controls writing and local exports.
9
+ ## Contents
14
10
 
15
- ## Domain limits
11
+ 1. Identify the question, objects, sources and collection dates.
12
+ 2. Organize records using these evidence columns: Page URL | Audit / task status | Device / run time | Observed issue | Evidence | Priority hypothesis.
13
+ 3. Align identities and comparison context before linking observations to sources.
14
+ 4. Separate hypotheses, counterexamples, missing fields and the specific follow-up evidence needed.
15
+ 5. Use the client's model for original writing; export Markdown/CSV only with its file tools.
16
16
 
17
- Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
18
-
19
- ## Domain report columns
20
-
21
- URL | audit/device/time | observed issue or score | evidence | suggested action
17
+ ## Domain scope
22
18
 
23
19
  Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
@@ -1,23 +1,19 @@
1
- # 网站质量与性能审计:证据简报
1
+ # website-quality-audit-mcp:证据简报
2
2
 
3
- 使用 `list_sitemap_urls`, `inspect_page`, `run_lighthouse` 的已有输出。先用已采集证据,超过已批准范围的开销需另行确认;撰写本简报无需新增请求。
3
+ 根据 `list_sitemap_urls`, `inspect_page`, `run_lighthouse` 的已有结果或用户提供材料撰写,不为写简报新增取数。
4
4
 
5
- ## 交付结构
5
+ ## 研究范围
6
6
 
7
- 1. 问题、平台或地区、采集日期与样本范围。
8
- 2. 带来源的观察值表,保留标识及缺失字段。
9
- 3. 三到五项有证据支持的观察,明确区分假设与事实。
10
- 4. 局限与未解决问题,不用小样本推断总体规模。
11
- 5. 下一步及所需的具体新增数据。
7
+ 研究范围包括发现站点 URL、检查单个页面、执行单页 Lighthouse 审计。说明用户本次要解决的问题、实际执行的检查和未覆盖项。
12
8
 
13
- 内容草稿只使用已确认的产品事实并保持原创;评论中的意见不是已核实产品承诺。写作及本地导出由客户端控制。
9
+ ## 内容
14
10
 
15
- ## 领域边界
11
+ 1. 标明问题、记录对象、来源和采集日期。
12
+ 2. 按以下证据列整理记录:页面 URL | 审计 / 任务状态 | 设备 / 运行时间 | 观察问题 | 证据 | 优先级假设。
13
+ 3. 对齐对象和比较口径后撰写观察,并逐项关联到来源。
14
+ 4. 分别列出假设、反例、缺失字段及需要补充核查的信息。
15
+ 5. 使用客户端模型完成原创写作;有文件工具时再导出 Markdown / CSV。
16
16
 
17
- 先发现URL,再逐页检查。tasks数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse是实验室测量,不是真实用户Core Web Vitals,也不自动审计全站。
17
+ ## 领域范围
18
18
 
19
- ## 领域报告列
20
-
21
- URL | audit/device/time | observed issue or score | evidence | suggested action
22
-
23
- 先发现URL,再逐页检查。tasks数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse是实验室测量,不是真实用户Core Web Vitals,也不自动审计全站。
19
+ 先发现 URL,再逐页检查。tasks 数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse 是实验室测量,不是真实用户 Core Web Vitals,也不自动审计全站。
@@ -1,29 +1,30 @@
1
- # Website Quality Audit: research
1
+ # Website Quality Audit: research guide
2
2
 
3
- 1. Clarify the question, supplied identifiers, marketplace or jurisdiction, dates, sample limits and spending cap.
4
- 2. Inspect the relevant tools: `list_sitemap_urls`, `inspect_page`, `run_lighthouse`. Select only the calls needed for this question.
5
- 3. Run the discovery tool when available, or ask for the exact identifier required by a lookup. Inspect actual records before reusing an ID or URL. Never substitute account, content and product identifiers for one another.
6
- 4. Request one page or record at a time. Carry a cursor only into the same tool and query context. Do not infer additional input parameters from response metadata.
7
- 5. Compare like-for-like records. Keep source links, dates, sample counts and unavailable fields. Use supplied materials without new calls when the user requests it.
8
- 6. Produce a sourced comparison table and an observation-led brief. The client model performs all analysis and writes local CSV/Markdown only when it has file tools.
3
+ ## Task
9
4
 
10
- ## Evidence table
5
+ Discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. Select the tools and scope needed for the user's actual question.
11
6
 
12
- | Record / source link | Identifier | Collected / source date | Observed facts | Missing fields | Research implication |
13
- | --- | --- | --- | --- | --- | --- |
7
+ ## Method
14
8
 
15
- ## Stop conditions
9
+ Discover URLs, select a same-host HTML page, then submit exactly one page in each audit tasks array. Preserve device/run context and inspect task-level success before interpreting findings.
16
10
 
17
- Stop on missing required input, an unaffordable quote, an uncertain execution or a mismatched identifier. Do not retry to conceal an empty or partial sample. Request missing inputs or use the general OpenAny catalog for capabilities outside this package.
11
+ 1. Establish identifiers, comparison context, sample scope and budget. Available tools: `list_sitemap_urls`, `inspect_page`, `run_lighthouse`; not every question needs all of them.
12
+ 2. Use `get_tool_info` for current parameters, nested inputs and prices. Choose follow-up steps from actual records or user-confirmed identifiers.
13
+ 3. Execute only needed, authorized requests. Continue with an original-query cursor only when that tool accepts it.
14
+ 4. Check object identity, units and timing; retain source records, unknown fields and analysis separately.
18
15
 
19
- ## Package scope
16
+ ## Evidence columns
20
17
 
21
- Discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data.
18
+ Page URL | Audit / task status | Device / run time | Observed issue | Evidence | Priority hypothesis
22
19
 
23
- Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
20
+ ## Deliverable
21
+
22
+ Your agent can prepare a prioritized page-fix brief with audit evidence and scope notes.
24
23
 
25
- ## Task-specific method
24
+ ## Stop conditions
25
+
26
+ Stop on missing required inputs, mismatched identity, unaffordable cost or uncertain execution/billing. Preserve the original request ID rather than replaying an empty or uncertain result.
26
27
 
27
- Start with list_sitemap_urls only when URL discovery is needed. Pick one relevant returned URL and pass a one-item tasks array separately to inspect_page and run_lighthouse. Inspect task-level status before extracting findings. Separate technical checks, laboratory scores and your recommendations.
28
+ ## Domain scope
28
29
 
29
- URL | audit/device/time | observed issue or score | evidence | suggested action
30
+ Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
@@ -1,27 +1,30 @@
1
- # 网站质量与性能审计:调研
1
+ # website-quality-audit-mcp:领域调研
2
2
 
3
- 1. 明确问题、用户提供的标识、平台或地区、时间范围、样本数量和预算。
4
- 2. 检查相关工具:`list_sitemap_urls`, `inspect_page`, `run_lighthouse`。仅选择本次任务需要的调用。
5
- 3. 有搜索工具时先发现记录;详情查询需要准确标识。读取实际结果后再复用 ID 或 URL,账号、内容和商品标识不能混用。
6
- 4. 每次只请求一个页面或一条记录。游标只在相同工具和查询条件下复用,不从返回元数据推导未提供的输入参数。
7
- 5. 同口径比较,保留来源链接、日期、样本量和缺失字段。用户要求仅用已有材料时不发起新调用。
8
- 6. 生成带来源的比较表与简报;分析和写作由客户端模型完成,CSV/Markdown 导出需要客户端文件工具。
3
+ ## 任务
9
4
 
10
- ## 证据表
5
+ 研究范围包括发现站点 URL、检查单个页面、执行单页 Lighthouse 审计。根据用户实际问题选择需要的工具和范围。
11
6
 
12
- | 记录 / 来源链接 | 标识 | 采集 / 来源日期 | 观察事实 | 缺失字段 | 调研启示 |
13
- | --- | --- | --- | --- | --- | --- |
7
+ ## 方法
14
8
 
15
- ## 停止条件
9
+ 发现 URL 后选择同域 HTML 页面,再在每个审计 tasks 数组中提交恰好一页。解读发现前保留设备和运行背景,核对任务级成功状态。
10
+
11
+ 1. 先明确对象标识、比较口径、采样范围与预算,可选工具为 `list_sitemap_urls`, `inspect_page`, `run_lighthouse`,不要求每次全部调用。
12
+ 2. 使用 `get_tool_info` 查看当前参数、嵌套输入和价格;按真实结果或用户确认的标识选择后续步骤。
13
+ 3. 仅执行本任务需要且已获授权的请求;只有对应工具接受游标时才沿原查询的真实游标继续。
14
+ 4. 核对对象、单位和时间背景,将来源记录、未知字段与分析分别保留。
15
+
16
+ ## 证据列
16
17
 
17
- 缺少必填输入、报价超预算、执行状态不明或对象标识不匹配时停止。不要重试来掩盖空样本或部分结果。补充输入或通过 OpenAny 通用目录查找包外能力。
18
+ 页面 URL | 审计 / 任务状态 | 设备 / 运行时间 | 观察问题 | 证据 | 优先级假设
18
19
 
19
- ## 本包边界
20
+ ## 交付
20
21
 
21
- 先发现URL,再逐页检查。tasks数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse是实验室测量,不是真实用户Core Web Vitals,也不自动审计全站。
22
+ 可交付的成果包括:含审计证据与范围说明的网页修复优先级简报。
23
+
24
+ ## 停止条件
22
25
 
23
- ## 本领域方法
26
+ 缺少必填输入、对象不匹配、费用超出预算,或执行/收费状态不明时停止;保留原请求标识,不重试来掩盖空结果。
24
27
 
25
- 需要发现URL时先用list_sitemap_urls,从实际结果选一个相关URL,分别以单元素tasks数组调用inspect_page和run_lighthouse。先核对任务级状态,再提取发现;技术检查、实验室评分与建议分开。
28
+ ## 领域范围
26
29
 
27
- URL | audit/device/time | observed issue or score | evidence | suggested action
30
+ 先发现 URL,再逐页检查。tasks 数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse 是实验室测量,不是真实用户 Core Web Vitals,也不自动审计全站。
@@ -186,7 +186,7 @@
186
186
  "workflows": [
187
187
  {
188
188
  "id": "research",
189
- "version": "0.1.0",
189
+ "version": "0.1.1",
190
190
  "files": {
191
191
  "zh": "workflows/research.zh.md",
192
192
  "en": "workflows/research.en.md"
@@ -194,7 +194,7 @@
194
194
  },
195
195
  {
196
196
  "id": "evidence_brief",
197
- "version": "0.1.0",
197
+ "version": "0.1.1",
198
198
  "files": {
199
199
  "zh": "workflows/evidence-brief.zh.md",
200
200
  "en": "workflows/evidence-brief.en.md"
@@ -1,23 +1,19 @@
1
1
  # Website Quality Audit: evidence brief
2
2
 
3
- Use the available outputs of `list_sitemap_urls`, `inspect_page`, `run_lighthouse`. Start from collected evidence and ask before spending beyond the agreed scope. No additional request is required to write this brief.
3
+ Write from existing outputs of `list_sitemap_urls`, `inspect_page`, `run_lighthouse` or supplied material. Do not collect again merely to write.
4
4
 
5
- ## Deliverable
5
+ ## Research scope
6
6
 
7
- 1. Research question, platform/region, collection date and sample coverage.
8
- 2. A table of sources and observed values, retaining identifiers and missing fields.
9
- 3. Three to five observations, each linked to evidence. Separate hypotheses from observed facts.
10
- 4. Limitations and unresolved questions. Avoid population estimates from small samples.
11
- 5. Suggested next steps and the precise additional data needed, if any.
7
+ Discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. State the user's question, the checks actually performed and the remaining coverage gaps.
12
8
 
13
- If drafting content, use confirmed product facts and write original material; sampled opinions are not verified product claims. The client controls writing and local exports.
9
+ ## Contents
14
10
 
15
- ## Domain limits
11
+ 1. Identify the question, objects, sources and collection dates.
12
+ 2. Organize records using these evidence columns: Page URL | Audit / task status | Device / run time | Observed issue | Evidence | Priority hypothesis.
13
+ 3. Align identities and comparison context before linking observations to sources.
14
+ 4. Separate hypotheses, counterexamples, missing fields and the specific follow-up evidence needed.
15
+ 5. Use the client's model for original writing; export Markdown/CSV only with its file tools.
16
16
 
17
- Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
18
-
19
- ## Domain report columns
20
-
21
- URL | audit/device/time | observed issue or score | evidence | suggested action
17
+ ## Domain scope
22
18
 
23
19
  Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
@@ -1,23 +1,19 @@
1
- # 网站质量与性能审计:证据简报
1
+ # website-quality-audit-mcp:证据简报
2
2
 
3
- 使用 `list_sitemap_urls`, `inspect_page`, `run_lighthouse` 的已有输出。先用已采集证据,超过已批准范围的开销需另行确认;撰写本简报无需新增请求。
3
+ 根据 `list_sitemap_urls`, `inspect_page`, `run_lighthouse` 的已有结果或用户提供材料撰写,不为写简报新增取数。
4
4
 
5
- ## 交付结构
5
+ ## 研究范围
6
6
 
7
- 1. 问题、平台或地区、采集日期与样本范围。
8
- 2. 带来源的观察值表,保留标识及缺失字段。
9
- 3. 三到五项有证据支持的观察,明确区分假设与事实。
10
- 4. 局限与未解决问题,不用小样本推断总体规模。
11
- 5. 下一步及所需的具体新增数据。
7
+ 研究范围包括发现站点 URL、检查单个页面、执行单页 Lighthouse 审计。说明用户本次要解决的问题、实际执行的检查和未覆盖项。
12
8
 
13
- 内容草稿只使用已确认的产品事实并保持原创;评论中的意见不是已核实产品承诺。写作及本地导出由客户端控制。
9
+ ## 内容
14
10
 
15
- ## 领域边界
11
+ 1. 标明问题、记录对象、来源和采集日期。
12
+ 2. 按以下证据列整理记录:页面 URL | 审计 / 任务状态 | 设备 / 运行时间 | 观察问题 | 证据 | 优先级假设。
13
+ 3. 对齐对象和比较口径后撰写观察,并逐项关联到来源。
14
+ 4. 分别列出假设、反例、缺失字段及需要补充核查的信息。
15
+ 5. 使用客户端模型完成原创写作;有文件工具时再导出 Markdown / CSV。
16
16
 
17
- 先发现URL,再逐页检查。tasks数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse是实验室测量,不是真实用户Core Web Vitals,也不自动审计全站。
17
+ ## 领域范围
18
18
 
19
- ## 领域报告列
20
-
21
- URL | audit/device/time | observed issue or score | evidence | suggested action
22
-
23
- 先发现URL,再逐页检查。tasks数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse是实验室测量,不是真实用户Core Web Vitals,也不自动审计全站。
19
+ 先发现 URL,再逐页检查。tasks 数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse 是实验室测量,不是真实用户 Core Web Vitals,也不自动审计全站。
@@ -1,29 +1,30 @@
1
- # Website Quality Audit: research
1
+ # Website Quality Audit: research guide
2
2
 
3
- 1. Clarify the question, supplied identifiers, marketplace or jurisdiction, dates, sample limits and spending cap.
4
- 2. Inspect the relevant tools: `list_sitemap_urls`, `inspect_page`, `run_lighthouse`. Select only the calls needed for this question.
5
- 3. Run the discovery tool when available, or ask for the exact identifier required by a lookup. Inspect actual records before reusing an ID or URL. Never substitute account, content and product identifiers for one another.
6
- 4. Request one page or record at a time. Carry a cursor only into the same tool and query context. Do not infer additional input parameters from response metadata.
7
- 5. Compare like-for-like records. Keep source links, dates, sample counts and unavailable fields. Use supplied materials without new calls when the user requests it.
8
- 6. Produce a sourced comparison table and an observation-led brief. The client model performs all analysis and writes local CSV/Markdown only when it has file tools.
3
+ ## Task
9
4
 
10
- ## Evidence table
5
+ Discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data. Select the tools and scope needed for the user's actual question.
11
6
 
12
- | Record / source link | Identifier | Collected / source date | Observed facts | Missing fields | Research implication |
13
- | --- | --- | --- | --- | --- | --- |
7
+ ## Method
14
8
 
15
- ## Stop conditions
9
+ Discover URLs, select a same-host HTML page, then submit exactly one page in each audit tasks array. Preserve device/run context and inspect task-level success before interpreting findings.
16
10
 
17
- Stop on missing required input, an unaffordable quote, an uncertain execution or a mismatched identifier. Do not retry to conceal an empty or partial sample. Request missing inputs or use the general OpenAny catalog for capabilities outside this package.
11
+ 1. Establish identifiers, comparison context, sample scope and budget. Available tools: `list_sitemap_urls`, `inspect_page`, `run_lighthouse`; not every question needs all of them.
12
+ 2. Use `get_tool_info` for current parameters, nested inputs and prices. Choose follow-up steps from actual records or user-confirmed identifiers.
13
+ 3. Execute only needed, authorized requests. Continue with an original-query cursor only when that tool accepts it.
14
+ 4. Check object identity, units and timing; retain source records, unknown fields and analysis separately.
18
15
 
19
- ## Package scope
16
+ ## Evidence columns
20
17
 
21
- Discover sitemap URLs and inspect individual pages with technical and Lighthouse audit data.
18
+ Page URL | Audit / task status | Device / run time | Observed issue | Evidence | Priority hypothesis
22
19
 
23
- Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
20
+ ## Deliverable
21
+
22
+ Your agent can prepare a prioritized page-fix brief with audit evidence and scope notes.
24
23
 
25
- ## Task-specific method
24
+ ## Stop conditions
25
+
26
+ Stop on missing required inputs, mismatched identity, unaffordable cost or uncertain execution/billing. Preserve the original request ID rather than replaying an empty or uncertain result.
26
27
 
27
- Start with list_sitemap_urls only when URL discovery is needed. Pick one relevant returned URL and pass a one-item tasks array separately to inspect_page and run_lighthouse. Inspect task-level status before extracting findings. Separate technical checks, laboratory scores and your recommendations.
28
+ ## Domain scope
28
29
 
29
- URL | audit/device/time | observed issue or score | evidence | suggested action
30
+ Discover URLs, then audit selected pages individually. Each tasks array contains exactly one page. Check task-level success and retain run/device context. Lighthouse is a laboratory measurement, not field Core Web Vitals or an automatic whole-site audit.
@@ -1,27 +1,30 @@
1
- # 网站质量与性能审计:调研
1
+ # website-quality-audit-mcp:领域调研
2
2
 
3
- 1. 明确问题、用户提供的标识、平台或地区、时间范围、样本数量和预算。
4
- 2. 检查相关工具:`list_sitemap_urls`, `inspect_page`, `run_lighthouse`。仅选择本次任务需要的调用。
5
- 3. 有搜索工具时先发现记录;详情查询需要准确标识。读取实际结果后再复用 ID 或 URL,账号、内容和商品标识不能混用。
6
- 4. 每次只请求一个页面或一条记录。游标只在相同工具和查询条件下复用,不从返回元数据推导未提供的输入参数。
7
- 5. 同口径比较,保留来源链接、日期、样本量和缺失字段。用户要求仅用已有材料时不发起新调用。
8
- 6. 生成带来源的比较表与简报;分析和写作由客户端模型完成,CSV/Markdown 导出需要客户端文件工具。
3
+ ## 任务
9
4
 
10
- ## 证据表
5
+ 研究范围包括发现站点 URL、检查单个页面、执行单页 Lighthouse 审计。根据用户实际问题选择需要的工具和范围。
11
6
 
12
- | 记录 / 来源链接 | 标识 | 采集 / 来源日期 | 观察事实 | 缺失字段 | 调研启示 |
13
- | --- | --- | --- | --- | --- | --- |
7
+ ## 方法
14
8
 
15
- ## 停止条件
9
+ 发现 URL 后选择同域 HTML 页面,再在每个审计 tasks 数组中提交恰好一页。解读发现前保留设备和运行背景,核对任务级成功状态。
10
+
11
+ 1. 先明确对象标识、比较口径、采样范围与预算,可选工具为 `list_sitemap_urls`, `inspect_page`, `run_lighthouse`,不要求每次全部调用。
12
+ 2. 使用 `get_tool_info` 查看当前参数、嵌套输入和价格;按真实结果或用户确认的标识选择后续步骤。
13
+ 3. 仅执行本任务需要且已获授权的请求;只有对应工具接受游标时才沿原查询的真实游标继续。
14
+ 4. 核对对象、单位和时间背景,将来源记录、未知字段与分析分别保留。
15
+
16
+ ## 证据列
16
17
 
17
- 缺少必填输入、报价超预算、执行状态不明或对象标识不匹配时停止。不要重试来掩盖空样本或部分结果。补充输入或通过 OpenAny 通用目录查找包外能力。
18
+ 页面 URL | 审计 / 任务状态 | 设备 / 运行时间 | 观察问题 | 证据 | 优先级假设
18
19
 
19
- ## 本包边界
20
+ ## 交付
20
21
 
21
- 先发现URL,再逐页检查。tasks数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse是实验室测量,不是真实用户Core Web Vitals,也不自动审计全站。
22
+ 可交付的成果包括:含审计证据与范围说明的网页修复优先级简报。
23
+
24
+ ## 停止条件
22
25
 
23
- ## 本领域方法
26
+ 缺少必填输入、对象不匹配、费用超出预算,或执行/收费状态不明时停止;保留原请求标识,不重试来掩盖空结果。
24
27
 
25
- 需要发现URL时先用list_sitemap_urls,从实际结果选一个相关URL,分别以单元素tasks数组调用inspect_page和run_lighthouse。先核对任务级状态,再提取发现;技术检查、实验室评分与建议分开。
28
+ ## 领域范围
26
29
 
27
- URL | audit/device/time | observed issue or score | evidence | suggested action
30
+ 先发现 URL,再逐页检查。tasks 数组只允许一个页面,需检查任务级状态并保留运行环境。Lighthouse 是实验室测量,不是真实用户 Core Web Vitals,也不自动审计全站。