@automatelab/citation-intelligence 0.8.1 → 0.9.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 +88 -59
- package/dist/index.js +53 -53
- package/dist/index.js.map +1 -1
- package/dist/prompts.js +21 -21
- package/dist/prompts.js.map +1 -1
- package/dist/resources.js +5 -5
- package/dist/resources.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -36,44 +36,73 @@ The AI citation tracking market is dominated by VC-funded dashboards starting at
|
|
|
36
36
|
|
|
37
37
|
## Tools
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
Tools are grouped into six namespaces: `citations.*`, `domain.*`, `signals.*`, `panel.*`, `competitors.*`, `audit.*`. Names form a navigable tree — pick a namespace by the question you're asking.
|
|
40
|
+
|
|
41
|
+
**Start with `citations.provenance` or `domain.am_i_cited`.** Single-engine results (`citations.check` with a pinned engine) are directional; multi-engine consensus is the honest signal. A URL cited by 4 of 5 engines is a very different finding than one cited by 1.
|
|
42
|
+
|
|
43
|
+
### `citations.*` — query-level: who cites what, with what evidence
|
|
44
|
+
|
|
45
|
+
| Tool | Purpose |
|
|
46
|
+
|---|---|
|
|
47
|
+
| `citations.provenance` | **Recommended first tool.** Fan a query across engines; per-URL cross-engine consensus matrix. Returns `interpretation_note` per engine. |
|
|
48
|
+
| `citations.check` | URLs cited by Perplexity / Claude / ChatGPT / Gemini / Google AI Mode for a query; or web rank via bing_serp / brave_serp |
|
|
49
|
+
| `citations.evidence` | Extract the cited snippet from `raw_answer` for each citation (why, not just that) |
|
|
50
|
+
| `citations.predict` | Citation likelihood from public signals - no LLM fired |
|
|
51
|
+
| `citations.trend` | Time-series report of citation rate + per-query gained/lost deltas |
|
|
52
|
+
| `citations.freshness` | Recency score (halflife=365d) for the pages an engine cites |
|
|
53
|
+
|
|
54
|
+
### `domain.*` — domain-level: am I cited, what for
|
|
55
|
+
|
|
56
|
+
| Tool | Purpose |
|
|
57
|
+
|---|---|
|
|
58
|
+
| `domain.am_i_cited` | Domain citation check. With `engine=auto` (default): fans across all available LLM engines, returns per-engine breakdown + cross-engine consensus. Pin `engine=` to reduce cost. |
|
|
59
|
+
| `domain.cited_for` | Queries the domain has been cited for, from local cache |
|
|
60
|
+
| `domain.cited_for_diff` | Diff of `domain.cited_for` between two time windows for a domain |
|
|
61
|
+
|
|
62
|
+
### `signals.*` — external signals: AI Overview, Wikipedia, GSC, answer-box position
|
|
63
|
+
|
|
64
|
+
| Tool | Purpose |
|
|
65
|
+
|---|---|
|
|
66
|
+
| `signals.ai_overview` | Google AI Overview presence + cited sources |
|
|
67
|
+
| `signals.wikipedia` | List Wikipedia articles referencing a domain (zero keys) |
|
|
68
|
+
| `signals.gsc_gap` | Join Google Search Console performance with AI citation status |
|
|
69
|
+
| `signals.answer_box` | Bin each citation's first mention in `raw_answer` into early/middle/late thirds |
|
|
70
|
+
|
|
71
|
+
### `panel.*` — saved query panels (editorial watchlists)
|
|
72
|
+
|
|
73
|
+
| Tool | Purpose |
|
|
74
|
+
|---|---|
|
|
75
|
+
| `panel.track` | Save / load / list named query panels (editorial watchlists) |
|
|
76
|
+
| `panel.run` | Run a panel through `domain.am_i_cited` and snapshot to disk |
|
|
77
|
+
|
|
78
|
+
### `competitors.*` — competitive landscape per query
|
|
79
|
+
|
|
80
|
+
| Tool | Purpose |
|
|
81
|
+
|---|---|
|
|
82
|
+
| `competitors.canonical_set` | Top cited domains per query, aggregated across engines |
|
|
83
|
+
| `competitors.compete` | End-to-end competitive snapshot: your URL vs top cited competitors |
|
|
84
|
+
| `competitors.compare` | Side-by-side `citations.predict` across 2-10 URLs |
|
|
85
|
+
|
|
86
|
+
### `audit.*` — fixable on-page / on-site checks
|
|
40
87
|
|
|
41
88
|
| Tool | Purpose |
|
|
42
89
|
|---|---|
|
|
43
|
-
| `
|
|
44
|
-
| `
|
|
45
|
-
| `
|
|
46
|
-
| `
|
|
47
|
-
| `
|
|
48
|
-
| `
|
|
49
|
-
| `track_queries` | Save / load / list named query panels (editorial watchlists) |
|
|
50
|
-
| `run_panel` | Run a panel through `am_i_cited` and snapshot to disk |
|
|
51
|
-
| `citation_trend` | Time-series report of citation rate + per-query gained/lost deltas |
|
|
52
|
-
| `compare_domains` | Side-by-side `predict_citation` across 2-10 URLs |
|
|
53
|
-
| `wikipedia_mentions` | List Wikipedia articles referencing a domain (zero keys) |
|
|
54
|
-
| `audit_sitemap` | Bulk `predict_citation` across every URL in a sitemap, worst-first |
|
|
55
|
-
| `gsc_citation_gap` | Join Google Search Console performance with AI citation status |
|
|
56
|
-
| `compete_for_query` | End-to-end competitive snapshot: your URL vs top cited competitors |
|
|
57
|
-
| `citation_freshness_score` | Recency score (halflife=365d) for the pages an engine cites |
|
|
58
|
-
| `cited_for_diff` | Diff of `cited_for` between two time windows for a domain |
|
|
59
|
-
| `schema_audit` | Deep schema.org validation - required fields per `@type`, malformed JSON-LD |
|
|
60
|
-
| `llms_txt_generator` | Generate an `llms.txt` (https://llmstxt.org) from a sitemap |
|
|
61
|
-
| `answer_box_position` | Bin each citation's first mention in `raw_answer` into early/middle/late thirds |
|
|
62
|
-
| `citation_provenance` | Fan a query across engines, report per-URL cross-engine consensus |
|
|
63
|
-
| `citation_evidence` | Extract the cited snippet from `raw_answer` for each citation (why, not just that) |
|
|
64
|
-
| `crawler_access_audit` | Verify GPTBot / ClaudeBot / PerplexityBot / CCBot / Google-Extended etc. can fetch a URL |
|
|
65
|
-
| `sitemap_citation_map` | Cross-reference sitemap URLs with cached citations (inverse of audit_sitemap) |
|
|
66
|
-
| `canonical_competitor_set` | Top cited domains per query, aggregated across engines |
|
|
90
|
+
| `audit.schema` | Deep schema.org validation - required fields per `@type`, malformed JSON-LD |
|
|
91
|
+
| `audit.structured_data` | Repair-oriented schema.org diagnostics + suggested patches |
|
|
92
|
+
| `audit.crawler_access` | Verify GPTBot / ClaudeBot / PerplexityBot / CCBot / Google-Extended etc. can fetch a URL |
|
|
93
|
+
| `audit.sitemap` | Bulk `citations.predict` across every URL in a sitemap, worst-first |
|
|
94
|
+
| `audit.sitemap_map` | Cross-reference sitemap URLs with cached citations (inverse of `audit.sitemap`) |
|
|
95
|
+
| `audit.llms_txt` | Generate an `llms.txt` (https://llmstxt.org) from a sitemap |
|
|
67
96
|
|
|
68
97
|
### Prompts
|
|
69
98
|
|
|
70
99
|
Server-side prompt templates the client can offer end users (call via the MCP prompt list):
|
|
71
100
|
|
|
72
|
-
- `
|
|
73
|
-
- `competitor_snapshot(query, your_url?)` - chains `
|
|
74
|
-
- `
|
|
75
|
-
- `
|
|
76
|
-
- `
|
|
101
|
+
- `audit.citation_readiness(url)` - chains `citations.predict` + `audit.schema`
|
|
102
|
+
- `audit.competitor_snapshot(query, your_url?)` - chains `competitors.canonical_set` + `competitors.compete`
|
|
103
|
+
- `audit.crawler_checkup(url)` - runs `audit.crawler_access` and writes a remediation list
|
|
104
|
+
- `audit.gap_analysis(domain, days?)` - drives `signals.gsc_gap` and suggests next moves
|
|
105
|
+
- `audit.sitemap_coverage(sitemap_url)` - runs `audit.sitemap_map` and recommends priorities
|
|
77
106
|
|
|
78
107
|
### Resources
|
|
79
108
|
|
|
@@ -94,7 +123,7 @@ Every response includes a `surface` field that tells you exactly how the data wa
|
|
|
94
123
|
| `consumer_scrape` | `perplexity`, `google_ai_mode` | Proxied through a real consumer-facing AI search product. Closest to what your users see. |
|
|
95
124
|
| `api_proxy` | `claude`, `openai`, `gemini` | API call to a search-enabled LLM. **May differ from consumer product behavior** — different model versions, no UI-level ranking logic, no personalization. Use as a directional proxy, not as ground truth. |
|
|
96
125
|
| `web_rank` | `bing_serp`, `brave_serp` | Traditional web search rank (not LLM citation). Measures whether a URL appears in SERP results, not whether an LLM cites it. |
|
|
97
|
-
| `static_signal` | `
|
|
126
|
+
| `static_signal` | `citations.predict`, `signals.wikipedia` | Offline signal computed from public data. No live LLM query. |
|
|
98
127
|
|
|
99
128
|
### Per-engine notes
|
|
100
129
|
|
|
@@ -108,7 +137,7 @@ Every response includes a `surface` field that tells you exactly how the data wa
|
|
|
108
137
|
|
|
109
138
|
**`google_ai_mode` (consumer_scrape)** — Google AI Mode results via SerpAPI. Closest to what users see in Google Search. Requires `SERPAPI_KEY`.
|
|
110
139
|
|
|
111
|
-
**`bing_serp` / `brave_serp` (web_rank)** — Traditional SERP rank. Does NOT measure LLM citations. Use `
|
|
140
|
+
**`bing_serp` / `brave_serp` (web_rank)** — Traditional SERP rank. Does NOT measure LLM citations. Use `citations.check` with these engines to compare organic web rank against LLM citation rank. `domain.am_i_cited` refuses these engines — it only measures LLM behavior.
|
|
112
141
|
|
|
113
142
|
The proxy nature of `api_proxy` engines is a feature, not a bug: it lets you run citation checks without consuming expensive consumer-product quota. Just don't report API-proxy numbers as "ChatGPT cites you" without the caveat.
|
|
114
143
|
|
|
@@ -154,7 +183,7 @@ Set only the keys you have. Any MCP client that supports stdio transport works -
|
|
|
154
183
|
- **Free tier first.** SerpAPI gives 100 free Google AI Overview lookups/month. Bing Web Search has a free tier. Perplexity offers free Sonar access on signup.
|
|
155
184
|
- **Bring your own paid keys** if you want the premium engines (Claude, ChatGPT, Gemini). Keys pass through to the vendor and never touch any third party.
|
|
156
185
|
- **Local cache** at `~/.config/citation-intelligence/cache.json`. Repeated queries hit cache, not API. Default TTL: 7 days.
|
|
157
|
-
-
|
|
186
|
+
- **`citations.predict` runs with zero keys** - it scores citation likelihood from public signals (Wikipedia, schema.org, llms.txt, GitHub) without firing any LLM.
|
|
158
187
|
|
|
159
188
|
## Privacy
|
|
160
189
|
|
|
@@ -167,15 +196,15 @@ Set only the keys you have. Any MCP client that supports stdio transport works -
|
|
|
167
196
|
|
|
168
197
|
| Var | Purpose | Free tier? |
|
|
169
198
|
|---|---|---|
|
|
170
|
-
| `PERPLEXITY_API_KEY` |
|
|
171
|
-
| `SERPAPI_KEY` | ai_overview +
|
|
172
|
-
| `ANTHROPIC_API_KEY` |
|
|
173
|
-
| `OPENAI_API_KEY` |
|
|
174
|
-
| `GEMINI_API_KEY` |
|
|
175
|
-
| `BING_API_KEY` |
|
|
176
|
-
| `BRAVE_API_KEY` |
|
|
177
|
-
| `CITATION_CACHE_TTL_DAYS` | Cache TTL for
|
|
178
|
-
| `CITATION_AI_OVERVIEW_TTL_DAYS` | Cache TTL for ai_overview entries (default 1) | n/a |
|
|
199
|
+
| `PERPLEXITY_API_KEY` | `citations.check` (perplexity — consumer_scrape) | Yes |
|
|
200
|
+
| `SERPAPI_KEY` | `signals.ai_overview` + `citations.check` (google_ai_mode — consumer_scrape) | 100/month free |
|
|
201
|
+
| `ANTHROPIC_API_KEY` | `citations.check` (claude — api_proxy) | Paid only |
|
|
202
|
+
| `OPENAI_API_KEY` | `citations.check` (openai — api_proxy) | Paid only |
|
|
203
|
+
| `GEMINI_API_KEY` | `citations.check` (gemini — api_proxy) | Yes |
|
|
204
|
+
| `BING_API_KEY` | `citations.check` (bing_serp — web_rank) | Yes |
|
|
205
|
+
| `BRAVE_API_KEY` | `citations.check` (brave_serp — web_rank) | Yes (2000/month) |
|
|
206
|
+
| `CITATION_CACHE_TTL_DAYS` | Cache TTL for `citations.check` entries (default 7) | n/a |
|
|
207
|
+
| `CITATION_AI_OVERVIEW_TTL_DAYS` | Cache TTL for `signals.ai_overview` entries (default 1) | n/a |
|
|
179
208
|
| `CITATION_CONFIG_DIR` | Override config dir (default `~/.config/citation-intelligence`) | n/a |
|
|
180
209
|
|
|
181
210
|
## Example: am I cited?
|
|
@@ -184,7 +213,7 @@ Set only the keys you have. Any MCP client that supports stdio transport works -
|
|
|
184
213
|
You: For the queries "best AI citation tracker", "MCP for AI search", "self-hosted GEO tool",
|
|
185
214
|
is automatelab.tech cited?
|
|
186
215
|
|
|
187
|
-
(agent invokes am_i_cited)
|
|
216
|
+
(agent invokes `domain.am_i_cited`)
|
|
188
217
|
|
|
189
218
|
Result:
|
|
190
219
|
{
|
|
@@ -209,7 +238,7 @@ Result:
|
|
|
209
238
|
```
|
|
210
239
|
You: How likely is https://example.com/blog/post to be cited by AI?
|
|
211
240
|
|
|
212
|
-
(agent invokes
|
|
241
|
+
(agent invokes `citations.predict`)
|
|
213
242
|
|
|
214
243
|
Result:
|
|
215
244
|
{
|
|
@@ -249,7 +278,7 @@ The Wikipedia signal is measured (it correlates with citation) but no "go get a
|
|
|
249
278
|
|
|
250
279
|
## Workflow recipes
|
|
251
280
|
|
|
252
|
-
Concrete patterns that compose the
|
|
281
|
+
Concrete patterns that compose the 24 tools into something useful. Costs assume ChatGPT or Perplexity at ~$0.01-0.03/query.
|
|
253
282
|
|
|
254
283
|
### 1. Weekly citation tracker
|
|
255
284
|
|
|
@@ -257,17 +286,17 @@ The single highest-ROI pattern. Pick 20-30 queries from your editorial backlog,
|
|
|
257
286
|
|
|
258
287
|
```
|
|
259
288
|
# One-time setup
|
|
260
|
-
|
|
261
|
-
|
|
289
|
+
panel.track name="editorial-watchlist" domain="example.com" action="save"
|
|
290
|
+
queries=["best widget tutorial", "how to set up X", ...]
|
|
262
291
|
|
|
263
292
|
# Weekly cron (5 min, ~$0.20-0.60 per run)
|
|
264
|
-
|
|
293
|
+
panel.run name="editorial-watchlist"
|
|
265
294
|
|
|
266
295
|
# Anytime
|
|
267
|
-
|
|
296
|
+
citations.trend panel="editorial-watchlist"
|
|
268
297
|
```
|
|
269
298
|
|
|
270
|
-
`
|
|
299
|
+
`citations.trend` returns per-query deltas: which queries flipped from `cited: false` to `cited: true` since the first snapshot. That's your real editorial-impact metric.
|
|
271
300
|
|
|
272
301
|
### 2. Pre-publish gate
|
|
273
302
|
|
|
@@ -275,23 +304,23 @@ Before publishing a post, find out who owns the citation slot and whether the sl
|
|
|
275
304
|
|
|
276
305
|
```
|
|
277
306
|
# 1. Is there an AI Overview to compete for?
|
|
278
|
-
ai_overview query="<target query>"
|
|
307
|
+
signals.ai_overview query="<target query>"
|
|
279
308
|
|
|
280
309
|
# 2. Who is cited today?
|
|
281
|
-
|
|
310
|
+
citations.check query="<target query>"
|
|
282
311
|
|
|
283
312
|
# 3. After publish + 14 days: did the post break in?
|
|
284
|
-
am_i_cited domain="example.com" queries=["<target query>"]
|
|
313
|
+
domain.am_i_cited domain="example.com" queries=["<target query>"]
|
|
285
314
|
```
|
|
286
315
|
|
|
287
|
-
If `
|
|
316
|
+
If `citations.check` returns 5+ strong incumbents on a low-volume query, pick a different angle. If `ai_overview_present: false`, the query has no AI surface - reconsider.
|
|
288
317
|
|
|
289
318
|
### 3. Bulk site audit
|
|
290
319
|
|
|
291
320
|
Catch site-wide structural issues across every page in one pass. Zero API spend.
|
|
292
321
|
|
|
293
322
|
```
|
|
294
|
-
|
|
323
|
+
audit.sitemap sitemap_url="https://example.com/sitemap.xml" limit=200
|
|
295
324
|
```
|
|
296
325
|
|
|
297
326
|
Returns `worst_first` sorted by citation-likelihood score. Surfaces missing schema, conflicting canonicals, missing `/llms.txt`, broken HTTPS.
|
|
@@ -302,10 +331,10 @@ You're not cited; they are. Why?
|
|
|
302
331
|
|
|
303
332
|
```
|
|
304
333
|
# 1. Find the top-cited URLs for your target query
|
|
305
|
-
|
|
334
|
+
citations.check query="<query>"
|
|
306
335
|
|
|
307
336
|
# 2. Compare your URL to theirs signal-by-signal
|
|
308
|
-
|
|
337
|
+
competitors.compare urls=[
|
|
309
338
|
"https://example.com/your-post",
|
|
310
339
|
"https://competitor-1.com/their-post",
|
|
311
340
|
"https://competitor-2.com/their-post"
|
|
@@ -319,7 +348,7 @@ compare_domains urls=[
|
|
|
319
348
|
The closest editorial wins are queries where you already rank in Google's top 10 but are invisible to AI. Requires a GCP service account with `webmasters.readonly` scope.
|
|
320
349
|
|
|
321
350
|
```
|
|
322
|
-
|
|
351
|
+
signals.gsc_gap
|
|
323
352
|
domain="example.com"
|
|
324
353
|
queries=["...editorial watchlist..."]
|
|
325
354
|
start_date="2026-04-01"
|
|
@@ -333,7 +362,7 @@ gsc_citation_gap
|
|
|
333
362
|
Wikipedia is the top-correlation signal but the advice "get on Wikipedia" is useless. So instead: watch when it happens organically.
|
|
334
363
|
|
|
335
364
|
```
|
|
336
|
-
|
|
365
|
+
signals.wikipedia domain="example.com" limit=50
|
|
337
366
|
```
|
|
338
367
|
|
|
339
368
|
Returns Wikipedia article URLs that already link to the domain. Re-run quarterly; the diff is your "we got a Wikipedia citation" alert.
|
package/dist/index.js
CHANGED
|
@@ -64,7 +64,7 @@ function wrapHandler(handler) {
|
|
|
64
64
|
return toolError({ type: "fetch_error", url: "", message });
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
|
-
server.registerTool("
|
|
67
|
+
server.registerTool("citations.check", {
|
|
68
68
|
description: "Return URLs cited by an AI engine (Perplexity, Claude, ChatGPT, Gemini, or Bing) for a query. Use this when an agent or user wants to see what sources an AI search engine grounds answers on. Requires at least one engine API key; auto-picks the first available.",
|
|
69
69
|
inputSchema: checkCitationsInputSchema,
|
|
70
70
|
outputSchema: checkCitationsOutputShape,
|
|
@@ -76,7 +76,7 @@ server.registerTool("check_citations", {
|
|
|
76
76
|
openWorldHint: true,
|
|
77
77
|
},
|
|
78
78
|
}, (args) => wrapHandler(() => checkCitations(args)));
|
|
79
|
-
server.registerTool("am_i_cited", {
|
|
79
|
+
server.registerTool("domain.am_i_cited", {
|
|
80
80
|
description: "Check whether a domain is cited by an AI engine across a cluster of queries. Returns per-query presence, rank, and a citation-rate summary. Use to measure visibility for a brand, product, or content site in AI search.",
|
|
81
81
|
inputSchema: amICitedInputSchema,
|
|
82
82
|
outputSchema: amICitedOutputShape,
|
|
@@ -88,7 +88,7 @@ server.registerTool("am_i_cited", {
|
|
|
88
88
|
openWorldHint: true,
|
|
89
89
|
},
|
|
90
90
|
}, (args) => wrapHandler(() => amICited(args)));
|
|
91
|
-
server.registerTool("ai_overview", {
|
|
91
|
+
server.registerTool("signals.ai_overview", {
|
|
92
92
|
description: "Check whether Google shows an AI Overview for a query, and which URLs it cites. Uses SerpAPI (free tier: 100/month). Set SERPAPI_KEY.",
|
|
93
93
|
inputSchema: aiOverviewInputSchema,
|
|
94
94
|
outputSchema: aiOverviewOutputShape,
|
|
@@ -100,7 +100,7 @@ server.registerTool("ai_overview", {
|
|
|
100
100
|
openWorldHint: true,
|
|
101
101
|
},
|
|
102
102
|
}, (args) => wrapHandler(() => aiOverview(args)));
|
|
103
|
-
server.registerTool("cited_for", {
|
|
103
|
+
server.registerTool("domain.cited_for", {
|
|
104
104
|
description: "List queries that the given domain has been cited for, served from the local cache. Build up a corpus by calling check_citations or am_i_cited first; cited_for queries it without spending API budget.",
|
|
105
105
|
inputSchema: citedForInputSchema,
|
|
106
106
|
outputSchema: citedForOutputShape,
|
|
@@ -112,7 +112,7 @@ server.registerTool("cited_for", {
|
|
|
112
112
|
openWorldHint: false,
|
|
113
113
|
},
|
|
114
114
|
}, (args) => wrapHandler(() => citedFor(args)));
|
|
115
|
-
server.registerTool("
|
|
115
|
+
server.registerTool("citations.predict", {
|
|
116
116
|
description: "Score citation likelihood for a URL from public signals (Wikipedia link presence, schema.org markup, /llms.txt, GitHub and Reddit references, canonical hygiene, HTTPS). No LLM fired - all heuristic. Returns 0-100 score, grade, signal breakdown, and ranked fixes.",
|
|
117
117
|
inputSchema: predictCitationInputSchema,
|
|
118
118
|
outputSchema: predictCitationOutputShape,
|
|
@@ -124,7 +124,7 @@ server.registerTool("predict_citation", {
|
|
|
124
124
|
openWorldHint: true,
|
|
125
125
|
},
|
|
126
126
|
}, (args) => wrapHandler(() => predictCitation(args)));
|
|
127
|
-
server.registerTool("
|
|
127
|
+
server.registerTool("panel.track", {
|
|
128
128
|
description: "Save, load, or list named query panels. A panel is a persisted set of queries you want to monitor over time (e.g. editorial-watchlist). Use action=save with queries[] to create, action=load to read, action=list to enumerate. Panels live under <config>/panels/<name>.json.",
|
|
129
129
|
inputSchema: trackQueriesInputSchema,
|
|
130
130
|
outputSchema: trackQueriesOutputShape,
|
|
@@ -136,7 +136,7 @@ server.registerTool("track_queries", {
|
|
|
136
136
|
openWorldHint: false,
|
|
137
137
|
},
|
|
138
138
|
}, (args) => wrapHandler(() => trackQueries(args)));
|
|
139
|
-
server.registerTool("
|
|
139
|
+
server.registerTool("panel.run", {
|
|
140
140
|
description: "Run a saved panel through am_i_cited and append a timestamped snapshot. Snapshots live under <config>/snapshots/<panel>/<iso>.json. Feeds citation_trend.",
|
|
141
141
|
inputSchema: runPanelInputSchema,
|
|
142
142
|
outputSchema: runPanelOutputShape,
|
|
@@ -148,7 +148,7 @@ server.registerTool("run_panel", {
|
|
|
148
148
|
openWorldHint: true,
|
|
149
149
|
},
|
|
150
150
|
}, (args) => wrapHandler(() => runPanel(args)));
|
|
151
|
-
server.registerTool("
|
|
151
|
+
server.registerTool("citations.trend", {
|
|
152
152
|
description: "Report citation rate over time for a panel from stored snapshots. Returns the series of citation_rate per snapshot plus per-query deltas (gained/lost/unchanged) between first and last snapshot.",
|
|
153
153
|
inputSchema: citationTrendInputSchema,
|
|
154
154
|
outputSchema: citationTrendOutputShape,
|
|
@@ -160,7 +160,7 @@ server.registerTool("citation_trend", {
|
|
|
160
160
|
openWorldHint: false,
|
|
161
161
|
},
|
|
162
162
|
}, (args) => wrapHandler(() => citationTrend(args)));
|
|
163
|
-
server.registerTool("
|
|
163
|
+
server.registerTool("competitors.compare", {
|
|
164
164
|
description: "Run predict_citation on 2-10 URLs and return a side-by-side signal table plus a list of signals where the URLs diverge. Use to compare your URL to top-cited competitors for the same query.",
|
|
165
165
|
inputSchema: compareDomainsInputSchema,
|
|
166
166
|
outputSchema: compareDomainsOutputShape,
|
|
@@ -172,7 +172,7 @@ server.registerTool("compare_domains", {
|
|
|
172
172
|
openWorldHint: true,
|
|
173
173
|
},
|
|
174
174
|
}, (args) => wrapHandler(() => compareDomains(args)));
|
|
175
|
-
server.registerTool("
|
|
175
|
+
server.registerTool("signals.wikipedia", {
|
|
176
176
|
description: "List Wikipedia articles that reference the given domain. Wikipedia citation is the highest-lift signal for LLM training corpora. Zero keys required.",
|
|
177
177
|
inputSchema: wikipediaMentionsInputSchema,
|
|
178
178
|
outputSchema: wikipediaMentionsOutputShape,
|
|
@@ -184,7 +184,7 @@ server.registerTool("wikipedia_mentions", {
|
|
|
184
184
|
openWorldHint: true,
|
|
185
185
|
},
|
|
186
186
|
}, (args) => wrapHandler(() => wikipediaMentions(args)));
|
|
187
|
-
server.registerTool("
|
|
187
|
+
server.registerTool("audit.sitemap", {
|
|
188
188
|
description: "Fetch a sitemap.xml (or sitemap index) and run predict_citation on every URL. Returns results sorted worst-score-first. Surfaces systemic issues across a whole site in one pass. Zero engine keys needed.",
|
|
189
189
|
inputSchema: auditSitemapInputSchema,
|
|
190
190
|
outputSchema: auditSitemapOutputShape,
|
|
@@ -196,7 +196,7 @@ server.registerTool("audit_sitemap", {
|
|
|
196
196
|
openWorldHint: true,
|
|
197
197
|
},
|
|
198
198
|
}, (args) => wrapHandler(() => auditSitemap(args)));
|
|
199
|
-
server.registerTool("
|
|
199
|
+
server.registerTool("competitors.compete", {
|
|
200
200
|
description: "End-to-end competitive snapshot for a single query. Calls check_citations to get the cited URLs, then runs compare_domains on your_url vs the top cited competitors. Returns your score, the average competitor score, and the gap.",
|
|
201
201
|
inputSchema: competeForQueryInputSchema,
|
|
202
202
|
outputSchema: competeForQueryOutputShape,
|
|
@@ -208,7 +208,7 @@ server.registerTool("compete_for_query", {
|
|
|
208
208
|
openWorldHint: true,
|
|
209
209
|
},
|
|
210
210
|
}, (args) => wrapHandler(() => competeForQuery(args)));
|
|
211
|
-
server.registerTool("
|
|
211
|
+
server.registerTool("citations.freshness", {
|
|
212
212
|
description: "Score how recent the pages cited for a query are. Calls check_citations, then collects dateModified for each cited URL, returns a 0-100 recency_score (halflife=365d) plus per-URL freshness bucket (fresh/current/stale/ancient/unknown). Surfaces queries where AI cites old content - opportunity to ship fresher.",
|
|
213
213
|
inputSchema: citationFreshnessScoreInputSchema,
|
|
214
214
|
outputSchema: citationFreshnessScoreOutputShape,
|
|
@@ -220,7 +220,7 @@ server.registerTool("citation_freshness_score", {
|
|
|
220
220
|
openWorldHint: true,
|
|
221
221
|
},
|
|
222
222
|
}, (args) => wrapHandler(() => citationFreshnessScore(args)));
|
|
223
|
-
server.registerTool("cited_for_diff", {
|
|
223
|
+
server.registerTool("domain.cited_for_diff", {
|
|
224
224
|
description: "Diff cited_for between two time windows for a domain. Returns queries gained (cited now, not before baseline_until) and queries lost (cited before, not since current_since). Cache-only, no API spend. Use to track citation drift over time after publishing or migrating content.",
|
|
225
225
|
inputSchema: citedForDiffInputSchema,
|
|
226
226
|
outputSchema: citedForDiffOutputShape,
|
|
@@ -232,7 +232,7 @@ server.registerTool("cited_for_diff", {
|
|
|
232
232
|
openWorldHint: false,
|
|
233
233
|
},
|
|
234
234
|
}, (args) => wrapHandler(() => citedForDiff(args)));
|
|
235
|
-
server.registerTool("
|
|
235
|
+
server.registerTool("signals.gsc_gap", {
|
|
236
236
|
description: "Join Google Search Console performance with am_i_cited per query. Surfaces queries where the domain ranks well in Google but is not cited in AI - the closest editorial wins. Requires GCP service account creds (credentials_path or GOOGLE_APPLICATION_CREDENTIALS env).",
|
|
237
237
|
inputSchema: gscCitationGapInputSchema,
|
|
238
238
|
outputSchema: gscCitationGapOutputShape,
|
|
@@ -244,7 +244,7 @@ server.registerTool("gsc_citation_gap", {
|
|
|
244
244
|
openWorldHint: true,
|
|
245
245
|
},
|
|
246
246
|
}, (args) => wrapHandler(() => gscCitationGap(args)));
|
|
247
|
-
server.registerTool("
|
|
247
|
+
server.registerTool("audit.schema", {
|
|
248
248
|
description: "Deep schema.org validation for a URL. Parses every JSON-LD block and microdata node, checks required fields per @type (Article needs headline+author+datePublished, FAQPage needs mainEntity, HowTo needs step, etc.), and flags missing fields and malformed JSON-LD. Returns issues list and a valid/invalid verdict. Use to fix structured-data bugs that predict_citation flags but can't explain.",
|
|
249
249
|
inputSchema: schemaAuditInputSchema,
|
|
250
250
|
outputSchema: schemaAuditOutputShape,
|
|
@@ -256,7 +256,7 @@ server.registerTool("schema_audit", {
|
|
|
256
256
|
openWorldHint: true,
|
|
257
257
|
},
|
|
258
258
|
}, (args) => wrapHandler(() => schemaAudit(args)));
|
|
259
|
-
server.registerTool("
|
|
259
|
+
server.registerTool("audit.llms_txt", {
|
|
260
260
|
description: "Generate an llms.txt file (https://llmstxt.org spec) from a sitemap. Parses sitemap.xml + nested indexes, groups URLs by top-level path, and emits a Markdown document with H1+description+sectioned link lists. Set fetch_titles=true to pull <title> per URL (slower, richer output).",
|
|
261
261
|
inputSchema: llmsTxtGeneratorInputSchema,
|
|
262
262
|
outputSchema: llmsTxtGeneratorOutputShape,
|
|
@@ -268,7 +268,7 @@ server.registerTool("llms_txt_generator", {
|
|
|
268
268
|
openWorldHint: true,
|
|
269
269
|
},
|
|
270
270
|
}, (args) => wrapHandler(() => llmsTxtGenerator(args)));
|
|
271
|
-
server.registerTool("
|
|
271
|
+
server.registerTool("signals.answer_box", {
|
|
272
272
|
description: "Locate where each cited URL appears in the AI's raw answer text. Calls check_citations, finds the first mention of each citation's URL (or hostname) in raw_answer, and bins by char position into early/middle/late thirds. Surfaces whether your URL is cited up-front or buried near the end. Returns 'unknown' for engines without raw_answer (Bing, Brave).",
|
|
273
273
|
inputSchema: answerBoxPositionInputSchema,
|
|
274
274
|
outputSchema: answerBoxPositionOutputShape,
|
|
@@ -280,7 +280,7 @@ server.registerTool("answer_box_position", {
|
|
|
280
280
|
openWorldHint: true,
|
|
281
281
|
},
|
|
282
282
|
}, (args) => wrapHandler(() => answerBoxPosition(args)));
|
|
283
|
-
server.registerTool("
|
|
283
|
+
server.registerTool("citations.provenance", {
|
|
284
284
|
description: "Fan a query out across multiple AI engines and report per-URL cross-engine consensus. Returns each unique cited URL with the list of engines that cited it, plus a consensus_urls list (URLs cited by ALL engines). High engine_count = strong cross-engine citation signal; engine_count=1 = engine-specific.",
|
|
285
285
|
inputSchema: citationProvenanceInputSchema,
|
|
286
286
|
outputSchema: citationProvenanceOutputShape,
|
|
@@ -292,7 +292,7 @@ server.registerTool("citation_provenance", {
|
|
|
292
292
|
openWorldHint: true,
|
|
293
293
|
},
|
|
294
294
|
}, (args) => wrapHandler(() => citationProvenance(args)));
|
|
295
|
-
server.registerTool("
|
|
295
|
+
server.registerTool("citations.evidence", {
|
|
296
296
|
description: "Extract the cited snippet from the AI engine's raw answer for each citation. Calls check_citations, then for each returned URL finds the first mention in raw_answer and returns a context window plus the nearest quoted span or containing sentence. Use to see *why* an engine cited a URL, not just *that* it did. Returns 'not found' for engines without raw_answer (Bing, Brave).",
|
|
297
297
|
inputSchema: citationEvidenceInputSchema,
|
|
298
298
|
outputSchema: citationEvidenceOutputShape,
|
|
@@ -304,7 +304,7 @@ server.registerTool("citation_evidence", {
|
|
|
304
304
|
openWorldHint: true,
|
|
305
305
|
},
|
|
306
306
|
}, (args) => wrapHandler(() => citationEvidence(args)));
|
|
307
|
-
server.registerTool("
|
|
307
|
+
server.registerTool("audit.crawler_access", {
|
|
308
308
|
description: "Verify that major AI crawlers (GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, CCBot, Google-Extended, Applebot-Extended, Bytespider, Meta-ExternalAgent, plus real-time fetch UAs) can fetch a URL. Parses robots.txt and does a live GET with each bot's User-Agent. Surfaces robots.txt blocks AND UA-based gating that breaks AI citation.",
|
|
309
309
|
inputSchema: crawlerAccessAuditInputSchema,
|
|
310
310
|
outputSchema: crawlerAccessAuditOutputShape,
|
|
@@ -316,7 +316,7 @@ server.registerTool("crawler_access_audit", {
|
|
|
316
316
|
openWorldHint: true,
|
|
317
317
|
},
|
|
318
318
|
}, (args) => wrapHandler(() => crawlerAccessAudit(args)));
|
|
319
|
-
server.registerTool("
|
|
319
|
+
server.registerTool("audit.sitemap_map", {
|
|
320
320
|
description: "Cross-reference a sitemap with the citation cache. For each sitemap URL, reports whether it appears in cached citations (and how many queries/engines cited it). Inverse of audit_sitemap: not 'how citable is each URL', but 'has each URL actually been cited yet'. Cache must be primed via check_citations or run_panel first.",
|
|
321
321
|
inputSchema: sitemapCitationMapInputSchema,
|
|
322
322
|
outputSchema: sitemapCitationMapOutputShape,
|
|
@@ -328,7 +328,7 @@ server.registerTool("sitemap_citation_map", {
|
|
|
328
328
|
openWorldHint: false,
|
|
329
329
|
},
|
|
330
330
|
}, (args) => wrapHandler(() => sitemapCitationMap(args)));
|
|
331
|
-
server.registerTool("
|
|
331
|
+
server.registerTool("competitors.canonical_set", {
|
|
332
332
|
description: "Fan a query across engines and aggregate citations by registered domain (not URL). Returns top competitor domains ranked by cross-engine consensus, with per-engine breakdown and top URLs per domain. Use to identify the canonical competitor set for a query - the domains every engine treats as authoritative.",
|
|
333
333
|
inputSchema: canonicalCompetitorSetInputSchema,
|
|
334
334
|
outputSchema: canonicalCompetitorSetOutputShape,
|
|
@@ -340,7 +340,7 @@ server.registerTool("canonical_competitor_set", {
|
|
|
340
340
|
openWorldHint: true,
|
|
341
341
|
},
|
|
342
342
|
}, (args) => wrapHandler(() => canonicalCompetitorSet(args)));
|
|
343
|
-
server.registerTool("
|
|
343
|
+
server.registerTool("audit.structured_data", {
|
|
344
344
|
description: "Suggest missing JSON-LD additions for a URL. Fetches the page, detects existing schema types, and returns ready-to-paste templates for types that are missing but signalled by page content (BlogPosting from og:type=article or bylines, FAQPage from Q&A pairs, HowTo from numbered steps, BreadcrumbList from nested paths, Organization on homepages). Templates are pre-filled from page metadata where possible; fields marked FILL: require manual completion.",
|
|
345
345
|
inputSchema: structuredDataRepairInputSchema,
|
|
346
346
|
outputSchema: structuredDataRepairOutputShape,
|
|
@@ -360,37 +360,37 @@ log.info("server ready on stdio", {
|
|
|
360
360
|
version: SERVER_VERSION,
|
|
361
361
|
log_level: log.level(),
|
|
362
362
|
tools: [
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
-
"
|
|
366
|
-
"
|
|
367
|
-
"
|
|
368
|
-
"
|
|
369
|
-
"
|
|
370
|
-
"
|
|
371
|
-
"
|
|
372
|
-
"
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
"
|
|
381
|
-
"
|
|
382
|
-
"
|
|
383
|
-
"
|
|
384
|
-
"
|
|
385
|
-
"
|
|
386
|
-
"
|
|
363
|
+
"citations.check",
|
|
364
|
+
"citations.predict",
|
|
365
|
+
"citations.trend",
|
|
366
|
+
"citations.provenance",
|
|
367
|
+
"citations.evidence",
|
|
368
|
+
"citations.freshness",
|
|
369
|
+
"domain.am_i_cited",
|
|
370
|
+
"domain.cited_for",
|
|
371
|
+
"domain.cited_for_diff",
|
|
372
|
+
"panel.track",
|
|
373
|
+
"panel.run",
|
|
374
|
+
"competitors.compare",
|
|
375
|
+
"competitors.compete",
|
|
376
|
+
"competitors.canonical_set",
|
|
377
|
+
"signals.ai_overview",
|
|
378
|
+
"signals.answer_box",
|
|
379
|
+
"signals.wikipedia",
|
|
380
|
+
"signals.gsc_gap",
|
|
381
|
+
"audit.sitemap",
|
|
382
|
+
"audit.sitemap_map",
|
|
383
|
+
"audit.crawler_access",
|
|
384
|
+
"audit.schema",
|
|
385
|
+
"audit.llms_txt",
|
|
386
|
+
"audit.structured_data",
|
|
387
387
|
],
|
|
388
388
|
prompts: [
|
|
389
|
-
"
|
|
390
|
-
"competitor_snapshot",
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
"
|
|
389
|
+
"audit.citation_readiness",
|
|
390
|
+
"audit.competitor_snapshot",
|
|
391
|
+
"audit.crawler_checkup",
|
|
392
|
+
"audit.gap_analysis",
|
|
393
|
+
"audit.sitemap_coverage",
|
|
394
394
|
],
|
|
395
395
|
resources: [
|
|
396
396
|
"citation://cache/summary",
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,0CAA0C;AAC1C,yEAAyE;AAEzE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EA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CAAC,CAAC;AAChC,GAAG,CAAC,IAAI,CACN,uBAAuB,EACvB;IACE,OAAO,EAAE,cAAc;IACvB,SAAS,EAAE,GAAG,CAAC,KAAK,EAAE;IACtB,KAAK,EAAE;QACL,iBAAiB;QACjB,mBAAmB;QACnB,iBAAiB;QACjB,sBAAsB;QACtB,oBAAoB;QACpB,qBAAqB;QACrB,mBAAmB;QACnB,kBAAkB;QAClB,uBAAuB;QACvB,aAAa;QACb,WAAW;QACX,qBAAqB;QACrB,qBAAqB;QACrB,2BAA2B;QAC3B,qBAAqB;QACrB,oBAAoB;QACpB,mBAAmB;QACnB,iBAAiB;QACjB,eAAe;QACf,mBAAmB;QACnB,sBAAsB;QACtB,cAAc;QACd,gBAAgB;QAChB,uBAAuB;KACxB;IACD,OAAO,EAAE;QACP,0BAA0B;QAC1B,2BAA2B;QAC3B,uBAAuB;QACvB,oBAAoB;QACpB,wBAAwB;KACzB;IACD,SAAS,EAAE;QACT,0BAA0B;QAC1B,mBAAmB;QACnB,0BAA0B;QAC1B,6BAA6B;QAC7B,sCAAsC;KACvC;CACF,CACF,CAAC"}
|
package/dist/prompts.js
CHANGED
|
@@ -6,9 +6,9 @@ function userMessage(text) {
|
|
|
6
6
|
return { role: "user", content: { type: "text", text } };
|
|
7
7
|
}
|
|
8
8
|
export function registerPrompts(server) {
|
|
9
|
-
server.registerPrompt("
|
|
9
|
+
server.registerPrompt("audit.citation_readiness", {
|
|
10
10
|
title: "Audit citation readiness",
|
|
11
|
-
description: "Score a URL's citation likelihood across public signals, then deep-validate its schema.org markup, then list the top fixes. Uses
|
|
11
|
+
description: "Score a URL's citation likelihood across public signals, then deep-validate its schema.org markup, then list the top fixes. Uses citations.predict + audit.schema.",
|
|
12
12
|
argsSchema: {
|
|
13
13
|
url: z.string().describe("The page URL to audit."),
|
|
14
14
|
},
|
|
@@ -18,20 +18,20 @@ export function registerPrompts(server) {
|
|
|
18
18
|
userMessage([
|
|
19
19
|
`Audit the citation readiness of ${url}.`,
|
|
20
20
|
``,
|
|
21
|
-
`1. Call
|
|
22
|
-
`2. Call
|
|
21
|
+
`1. Call citations.predict with url="${url}" to get the public-signal score, grade, and ranked fixes.`,
|
|
22
|
+
`2. Call audit.schema with url="${url}" to deep-validate any JSON-LD / microdata and surface missing required fields.`,
|
|
23
23
|
`3. Summarize the result as:`,
|
|
24
24
|
` - one-sentence verdict`,
|
|
25
25
|
` - top 3 fixes (by impact)`,
|
|
26
26
|
` - quick-wins (anything cheap that lifts score by >=5)`,
|
|
27
27
|
``,
|
|
28
|
-
`Do not call any other tools. Do not invent fixes that
|
|
28
|
+
`Do not call any other tools. Do not invent fixes that citations.predict didn't surface.`,
|
|
29
29
|
].join("\n")),
|
|
30
30
|
],
|
|
31
31
|
}));
|
|
32
|
-
server.registerPrompt("competitor_snapshot", {
|
|
32
|
+
server.registerPrompt("audit.competitor_snapshot", {
|
|
33
33
|
title: "Competitor citation snapshot",
|
|
34
|
-
description: "Build a cross-engine competitor map for a query and compare your own URL to the top-cited competitors. Uses
|
|
34
|
+
description: "Build a cross-engine competitor map for a query and compare your own URL to the top-cited competitors. Uses competitors.canonical_set + competitors.compete.",
|
|
35
35
|
argsSchema: {
|
|
36
36
|
query: z.string().describe("The search query to analyze."),
|
|
37
37
|
your_url: z
|
|
@@ -45,9 +45,9 @@ export function registerPrompts(server) {
|
|
|
45
45
|
userMessage([
|
|
46
46
|
`Build a competitor citation snapshot for the query: "${query}".`,
|
|
47
47
|
``,
|
|
48
|
-
`1. Call
|
|
48
|
+
`1. Call competitors.canonical_set with query="${query}" to get the top cited domains across engines (sorted by cross-engine consensus).`,
|
|
49
49
|
your_url
|
|
50
|
-
? `2. Call
|
|
50
|
+
? `2. Call competitors.compete with query="${query}" and your_url="${your_url}" to score your URL against the top competitors.`
|
|
51
51
|
: `2. (Skipped - no your_url provided.) If you want a head-to-head score, ask the user for the URL to benchmark.`,
|
|
52
52
|
`3. Report:`,
|
|
53
53
|
` - 3-5 sentence narrative: who dominates this query, how much consensus, where the gaps are`,
|
|
@@ -56,13 +56,13 @@ export function registerPrompts(server) {
|
|
|
56
56
|
? ` - your URL's score vs the competitor average, and the largest signal gap`
|
|
57
57
|
: ` - n/a (no your_url)`,
|
|
58
58
|
``,
|
|
59
|
-
`Do not call
|
|
59
|
+
`Do not call citations.check directly - the two tools above already fan out.`,
|
|
60
60
|
].join("\n")),
|
|
61
61
|
],
|
|
62
62
|
}));
|
|
63
|
-
server.registerPrompt("
|
|
63
|
+
server.registerPrompt("audit.crawler_checkup", {
|
|
64
64
|
title: "AI crawler access checkup",
|
|
65
|
-
description: "Verify that all major AI crawlers (GPTBot, ClaudeBot, PerplexityBot, CCBot, Google-Extended, etc.) can fetch a URL and aren't being blocked at robots.txt or the server. Uses
|
|
65
|
+
description: "Verify that all major AI crawlers (GPTBot, ClaudeBot, PerplexityBot, CCBot, Google-Extended, etc.) can fetch a URL and aren't being blocked at robots.txt or the server. Uses audit.crawler_access.",
|
|
66
66
|
argsSchema: {
|
|
67
67
|
url: z.string().describe("The page URL to check crawler access for."),
|
|
68
68
|
},
|
|
@@ -72,7 +72,7 @@ export function registerPrompts(server) {
|
|
|
72
72
|
userMessage([
|
|
73
73
|
`Check whether AI crawlers can fetch ${url}.`,
|
|
74
74
|
``,
|
|
75
|
-
`1. Call
|
|
75
|
+
`1. Call audit.crawler_access with url="${url}" (default bot list, fetch_with_ua=true).`,
|
|
76
76
|
`2. Report:`,
|
|
77
77
|
` - which bots are 'allowed' vs 'blocked'`,
|
|
78
78
|
` - any robots.txt rules that block citation-relevant bots`,
|
|
@@ -83,9 +83,9 @@ export function registerPrompts(server) {
|
|
|
83
83
|
].join("\n")),
|
|
84
84
|
],
|
|
85
85
|
}));
|
|
86
|
-
server.registerPrompt("
|
|
86
|
+
server.registerPrompt("audit.gap_analysis", {
|
|
87
87
|
title: "Find queries with high Google rank but no AI citation",
|
|
88
|
-
description: "Surface queries where a domain ranks well on Google but isn't cited by AI engines - the closest editorial wins. Uses
|
|
88
|
+
description: "Surface queries where a domain ranks well on Google but isn't cited by AI engines - the closest editorial wins. Uses signals.gsc_gap.",
|
|
89
89
|
argsSchema: {
|
|
90
90
|
domain: z.string().describe("Your domain, e.g. 'automatelab.tech'."),
|
|
91
91
|
days: z
|
|
@@ -99,20 +99,20 @@ export function registerPrompts(server) {
|
|
|
99
99
|
userMessage([
|
|
100
100
|
`Find queries where ${domain} ranks well on Google but isn't cited by AI.`,
|
|
101
101
|
``,
|
|
102
|
-
`1. Call
|
|
102
|
+
`1. Call signals.gsc_gap with domain="${domain}"${days ? ` and days=${days}` : ""}.`,
|
|
103
103
|
`2. Report the top 10 gap queries (rank <=10 on Google AND not cited by AI), with:`,
|
|
104
104
|
` - the query`,
|
|
105
105
|
` - Google rank + impressions`,
|
|
106
106
|
` - the AI engine that should have cited it but didn't`,
|
|
107
|
-
`3. For the top 3, suggest the page-level fix most likely to flip the AI citation (refer to
|
|
107
|
+
`3. For the top 3, suggest the page-level fix most likely to flip the AI citation (refer to citations.predict signals).`,
|
|
108
108
|
``,
|
|
109
109
|
`These are the highest-leverage editorial targets: traffic interest already proven, citation just missing.`,
|
|
110
110
|
].join("\n")),
|
|
111
111
|
],
|
|
112
112
|
}));
|
|
113
|
-
server.registerPrompt("
|
|
113
|
+
server.registerPrompt("audit.sitemap_coverage", {
|
|
114
114
|
title: "Sitemap citation coverage review",
|
|
115
|
-
description: "Map a sitemap against the citation cache to see which URLs have been cited and which haven't. Identifies systemic visibility gaps. Uses
|
|
115
|
+
description: "Map a sitemap against the citation cache to see which URLs have been cited and which haven't. Identifies systemic visibility gaps. Uses audit.sitemap_map.",
|
|
116
116
|
argsSchema: {
|
|
117
117
|
sitemap_url: z.string().describe("Sitemap URL (sitemap.xml or sitemap index)."),
|
|
118
118
|
},
|
|
@@ -122,14 +122,14 @@ export function registerPrompts(server) {
|
|
|
122
122
|
userMessage([
|
|
123
123
|
`Review citation coverage across the sitemap at ${sitemap_url}.`,
|
|
124
124
|
``,
|
|
125
|
-
`1. Call
|
|
125
|
+
`1. Call audit.sitemap_map with sitemap_url="${sitemap_url}".`,
|
|
126
126
|
`2. Report:`,
|
|
127
127
|
` - coverage_pct (mapped/total)`,
|
|
128
128
|
` - top 5 most-cited URLs (by engine_count + citation_count)`,
|
|
129
129
|
` - top 10 unmapped URLs that look high-value (judge by URL slug)`,
|
|
130
130
|
`3. Recommend 3 unmapped URLs to prioritize for citation-readiness audits next.`,
|
|
131
131
|
``,
|
|
132
|
-
`Cache must be primed first - if citations_in_cache is 0, tell the user to run
|
|
132
|
+
`Cache must be primed first - if citations_in_cache is 0, tell the user to run citations.check or run_panel for representative queries before re-running this.`,
|
|
133
133
|
].join("\n")),
|
|
134
134
|
],
|
|
135
135
|
}));
|
package/dist/prompts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,yEAAyE;AACzE,0EAA0E;AAE1E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,SAAS,WAAW,CAAC,IAAY;IAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,MAAiB;IAC/C,MAAM,CAAC,cAAc,CACnB,0BAA0B,EAC1B;QACE,KAAK,EAAE,0BAA0B;QACjC,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAAA,yEAAyE;AACzE,yEAAyE;AACzE,0EAA0E;AAE1E,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,SAAS,WAAW,CAAC,IAAY;IAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EA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,EAAE;YACR,WAAW,CACT;gBACE,sBAAsB,MAAM,8CAA8C;gBAC1E,EAAE;gBACF,wCAAwC,MAAM,IAAI,IAAI,CAAC,CAAC,CAAC,aAAa,IAAI,EAAE,CAAC,CAAC,CAAC,EAAE,GAAG;gBACpF,mFAAmF;gBACnF,gBAAgB;gBAChB,gCAAgC;gBAChC,yDAAyD;gBACzD,wHAAwH;gBACxH,EAAE;gBACF,2GAA2G;aAC5G,CAAC,IAAI,CAAC,IAAI,CAAC,CACb;SACF;KACF,CAAC,CACH,CAAC;IAEF,MAAM,CAAC,cAAc,CACnB,wBAAwB,EACxB;QACE,KAAK,EAAE,kCAAkC;QACzC,WAAW,EACT,4JAA4J;QAC9J,UAAU,EAAE;YACV,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,6CAA6C,CAAC;SAChF;KACF,EACD,CAAC,EAAE,WAAW,EAAE,EAAmB,EAAE,CAAC,CAAC;QACrC,WAAW,EAAE,iCAAiC,WAAW,EAAE;QAC3D,QAAQ,EAAE;YACR,WAAW,CACT;gBACE,kDAAkD,WAAW,GAAG;gBAChE,EAAE;gBACF,+CAA+C,WAAW,IAAI;gBAC9D,YAAY;gBACZ,kCAAkC;gBAClC,+DAA+D;gBAC/D,oEAAoE;gBACpE,gFAAgF;gBAChF,EAAE;gBACF,+JAA+J;aAChK,CAAC,IAAI,CAAC,IAAI,CAAC,CACb;SACF;KACF,CAAC,CACH,CAAC;AACJ,CAAC"}
|
package/dist/resources.js
CHANGED
|
@@ -172,8 +172,8 @@ const CRAWLERS_PRIMER = [
|
|
|
172
172
|
"",
|
|
173
173
|
"## Audit",
|
|
174
174
|
"",
|
|
175
|
-
"Use `
|
|
176
|
-
"`
|
|
175
|
+
"Use `audit.crawler_access` to verify these can each fetch a URL. Use the",
|
|
176
|
+
"`audit.crawler_checkup` prompt for an LLM-driven write-up.",
|
|
177
177
|
].join("\n");
|
|
178
178
|
export function registerResources(server) {
|
|
179
179
|
server.registerResource("cache_summary", "citation://cache/summary", {
|
|
@@ -186,7 +186,7 @@ export function registerResources(server) {
|
|
|
186
186
|
});
|
|
187
187
|
server.registerResource("panels_list", "citation://panels", {
|
|
188
188
|
title: "Saved panels",
|
|
189
|
-
description: "List of saved query panels and per-panel snapshot counts. Mirrors
|
|
189
|
+
description: "List of saved query panels and per-panel snapshot counts. Mirrors panel.track action=list with snapshot context.",
|
|
190
190
|
mimeType: "application/json",
|
|
191
191
|
}, async (uri) => {
|
|
192
192
|
const panels = await loadPanelsList();
|
|
@@ -207,7 +207,7 @@ export function registerResources(server) {
|
|
|
207
207
|
}));
|
|
208
208
|
server.registerResource("crawlers_primer", "citation://docs/ai-crawlers", {
|
|
209
209
|
title: "AI crawlers cheatsheet",
|
|
210
|
-
description: "Quick reference for the AI crawlers `
|
|
210
|
+
description: "Quick reference for the AI crawlers `audit.crawler_access` checks, grouped by training vs real-time fetch.",
|
|
211
211
|
mimeType: "text/markdown",
|
|
212
212
|
}, (uri) => ({
|
|
213
213
|
contents: [
|
|
@@ -222,7 +222,7 @@ export function registerResources(server) {
|
|
|
222
222
|
list: undefined,
|
|
223
223
|
}), {
|
|
224
224
|
title: "Citations for a domain",
|
|
225
|
-
description: "Cached citations for {domain}. Returns the most recent 200 entries. Same source as cited_for tool, surfaced as a resource for clients that subscribe.",
|
|
225
|
+
description: "Cached citations for {domain}. Returns the most recent 200 entries. Same source as domain.cited_for tool, surfaced as a resource for clients that subscribe.",
|
|
226
226
|
mimeType: "application/json",
|
|
227
227
|
}, async (uri, variables) => {
|
|
228
228
|
const domainVar = variables.domain;
|
package/dist/resources.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../src/resources.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,iEAAiE;AAEjE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC3D,OAAO,EAAE,IAA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C,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;QACtD,MAAM,OAAO,GAAG,IAAI;YAClB,CAAC,CAAC,MAAM,cAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,CAAC;YACvD,CAAC,CAAC,EAAE,CAAC;QACP,OAAO,MAAM,CAAC,GAAG,CAAC,QAAQ,EAAE,EAAE;YAC5B,MAAM,EAAE,IAAI;YACZ,OAAO;YACP,KAAK,EAAE,OAAO,CAAC,MAAM;YACrB,MAAM,EAAE,aAAa;SACtB,CAAC,CAAC;IACL,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automatelab/citation-intelligence",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1",
|
|
4
4
|
"mcpName": "io.github.AutomateLab-tech/citation-intelligence",
|
|
5
5
|
"description": "What LLMs cite, for agents. MCP server: check what Perplexity, Claude, ChatGPT, Gemini, Bing, and Google AI Overviews cite for any query. Self-hosted, BYO API key.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "automatelab.tech",
|
|
8
|
-
"homepage": "https://
|
|
8
|
+
"homepage": "https://automatelab.tech/products/mcp/citation-intelligence/",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/AutomateLab-tech/citation-intelligence.git"
|