weavatrix-seo 0.6.1 → 0.6.2

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
@@ -1,24 +1,147 @@
1
1
  # weavatrix-seo
2
2
 
3
- Native [Weavatrix SEO](https://github.com/Weavatrix/weavatrix-seo) CLI and MCP host.
3
+ [![npm](https://img.shields.io/npm/v/weavatrix-seo.svg)](https://www.npmjs.com/package/weavatrix-seo)
4
+ [![crates.io](https://img.shields.io/crates/v/weavatrix-seo.svg)](https://crates.io/crates/weavatrix-seo)
5
+ [![MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Weavatrix/weavatrix-seo/blob/main/LICENSE)
4
6
 
5
- This package is a zero-dependency Node launcher. It contains prebuilt `weavatrix-seo` binaries for win32, darwin, and linux on x64 and arm64. Installation does not compile, download, or run lifecycle scripts.
7
+ Native [Weavatrix SEO](https://github.com/Weavatrix/weavatrix-seo) **CLI and MCP host**. One binary, two sockets.
8
+
9
+ **Audit the site you shipped, understand the code that produced it, and build the search architecture you are missing.**
10
+
11
+ This npm package is a zero-dependency Node launcher around prebuilt `weavatrix-seo` binaries for Windows, macOS, and Linux on x64 and arm64. Installation does not compile, download, or run lifecycle scripts. `weavatrix-seo-mcp` is the same native binary with `mcp` as the first argument.
12
+
13
+ ## Install
6
14
 
7
15
  ```bash
8
16
  npm install -g weavatrix-seo
17
+ # or
18
+ npx -y weavatrix-seo audit --site https://example.com --json
19
+ ```
20
+
21
+ Rust:
22
+
23
+ ```bash
24
+ cargo install weavatrix-seo-cli --locked
25
+ ```
26
+
27
+ ## 30-second CLI
28
+
29
+ ```bash
9
30
  weavatrix-seo --version
10
31
  weavatrix-seo audit --site https://example.com --json
11
- weavatrix-seo-mcp --allow-root PATH
32
+ weavatrix-seo audit --site https://example.com --html report.html
33
+ weavatrix-seo audit --site https://example.com --ci --baseline previous.json
34
+ weavatrix-seo inventory --site https://example.com --json
35
+ weavatrix-seo opportunities --site https://example.com --json
36
+ weavatrix-seo plan --site https://example.com --json
37
+ weavatrix-seo compare --site https://example.com --competitor https://competitor.example --json
38
+ weavatrix-seo query --site https://example.com --q "FROM urls WHERE inbound_links = 0 AND indexable = true LIMIT 20" --json
39
+ weavatrix-seo retrieve --site https://example.com --q "licensed electrician vancouver" --json
40
+ weavatrix-seo explain WVX-SEO-META-001:abcd1234 --site https://example.com --json
41
+ weavatrix-seo diff --base ./seo-history/a.json --head ./seo-history/b.json --json
12
42
  ```
13
43
 
14
- `weavatrix-seo-mcp` is the same native binary with `mcp` as the first argument.
44
+ | Command | What it does |
45
+ |---|---|
46
+ | `audit` | Crawl + findings by axis, severity, authority |
47
+ | `inventory` | Measured URLs, routes, producers |
48
+ | `opportunities` | Gaps to build, not current errors |
49
+ | `plan` | Target search architecture + Refactor handoff |
50
+ | `compare` | Owned site vs public competitor origins |
51
+ | `query` | Bounded DSL over the last audit |
52
+ | `retrieve` | Candidate pages (lexical, not an embedding API) |
53
+ | `explain` | URL → route → symbol chain |
54
+ | `diff` | Two snapshots, audit JSON files, or worktrees |
55
+ | `mcp` | Same engine over stdio MCP |
15
56
 
16
- Rust install:
57
+ Hybrid (live site vs the repo that should have built it):
17
58
 
18
59
  ```bash
19
- cargo install weavatrix-seo-cli --locked
60
+ weavatrix-seo audit --site https://example.com --repo . --json
61
+ ```
62
+
63
+ ## Add MCP (same binary)
64
+
65
+ MCP is not a second package. Point the agent at `weavatrix-seo mcp`.
66
+
67
+ ### Claude Code
68
+
69
+ ```bash
70
+ claude mcp add weavatrix-seo -- npx -y weavatrix-seo mcp --allow-root .
20
71
  ```
21
72
 
22
- The engine stays read-only. Missing evidence is `unmeasured`, never green.
73
+ ### Codex
74
+
75
+ ```toml
76
+ [mcp_servers.weavatrix-seo]
77
+ command = "npx"
78
+ args = ["-y", "weavatrix-seo", "mcp", "--allow-root", "."]
79
+ ```
80
+
81
+ ### Cursor
82
+
83
+ ```json
84
+ {
85
+ "mcpServers": {
86
+ "weavatrix-seo": {
87
+ "command": "npx",
88
+ "args": ["-y", "weavatrix-seo", "mcp", "--allow-root", "."]
89
+ }
90
+ }
91
+ }
92
+ ```
93
+
94
+ Paths a tool accepts stay inside `--allow-root` (cwd when omitted). MCP crawls are public-only. Missing evidence is `unmeasured`.
95
+
96
+ ## MCP tools (15)
97
+
98
+ | Tool | What the agent gets |
99
+ |---|---|
100
+ | `seo_inventory` | Measured URLs, routes, producers |
101
+ | `seo_audit` | Findings by axis, severity, authority |
102
+ | `seo_opportunities` | Construction gaps |
103
+ | `seo_plan` | Architecture plan + read-only Refactor handoff |
104
+ | `seo_compare` | Structural gaps vs public competitors |
105
+ | `seo_links` | Directed internal-link recommendations (inferred) |
106
+ | `seo_vectors` | Page vectors, lexical model `wvx-seo-lexhash-v1` |
107
+ | `seo_diff` | Snapshot / worktree delta |
108
+ | `seo_gate` | CI verdict (`--ci` / `--baseline`) |
109
+ | `seo_explain` | Evidence chain for one fingerprint |
110
+ | `seo_observations` | Imported GSC / logs / AI citations |
111
+ | `seo_query` | `FROM urls\|findings\|… WHERE … LIMIT n` |
112
+ | `seo_retrieve` | Ranked candidate pages |
113
+ | `seo_similar` | Pages similar to a URL |
114
+ | `seo_chunks` | Chunks that best answer a query |
115
+
116
+ ```json
117
+ { "name": "seo_audit", "arguments": { "site": "https://example.com", "max_pages": 80 } }
118
+ ```
119
+
120
+ ```json
121
+ { "name": "seo_query", "arguments": { "site": "https://example.com", "q": "FROM urls WHERE inbound_links = 0 AND indexable = true LIMIT 20" } }
122
+ ```
123
+
124
+ ```json
125
+ { "name": "seo_retrieve", "arguments": { "site": "https://example.com", "q": "iphone screen repair haifa" } }
126
+ ```
127
+
128
+ What an agent can ask:
129
+
130
+ ```text
131
+ Which indexable URLs have zero internal inlinks?
132
+ Is this canonical target measured, or UNMEASURED because it was off-budget?
133
+ What source symbol emits the missing FAQPage.mainEntity?
134
+ Which competitor locales or schema types are we missing?
135
+ ```
136
+
137
+ ## Why not another crawler
138
+
139
+ - **Code-aware.** Next.js, Nuxt, and Astro families from source. A finding can name the helper that emitted the title.
140
+ - **Evidence-honest.** Google rich-result ≠ schema.org vocabulary. Off-crawl canonicals are `UNMEASURED`. Mixed content is subresources, not navigation links.
141
+ - **Agent-native.** Fifteen MCP tools are the CLI, not a wrapper around a report file.
142
+ - **Read-only.** No page writes, no generated articles, no patches.
143
+ - **No model on the default path.** Lexical vectors, no embedding API, no browser unless you import a WVQ snapshot.
144
+
145
+ Full engine contract, finding families, and crate map: [github.com/Weavatrix/weavatrix-seo](https://github.com/Weavatrix/weavatrix-seo).
23
146
 
24
147
  MIT. See [LICENSE](LICENSE).
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weavatrix-seo",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Native Weavatrix SEO CLI and MCP host: Search Evidence Graph audits, plans, and retrieval for code-driven websites.",
5
5
  "author": "Sergii Ziborov <sergii.ziborov@gmail.com>",
6
6
  "license": "MIT",