Change velocity
Analyze git history for a period: which pages change most, which don’t change at all, which are suddenly busy, and which have a single author.Window as a number followed by
d (days), w (weeks), or m (months, counted as 30 days).500 if git log fails, for example when versioning is off.
Pages whose change rate over the last 7 days is more than three times their average for the period.
Graph analytics
Summarize the wiki link graph: size, connected components, orphans, and the highest PageRank pages.Centrality
Return PageRank, betweenness, and degree for every page, highest PageRank first.Communities
Group pages into topic clusters with Louvain community detection. Links are treated as undirected.Shortest path
Return the shortest chain of wiki links from one page to another, following link direction.400 if either parameter is missing, and 404 if a page isn’t in the graph or no path exists.
Graph walk
Return one page’s immediate neighborhood: outgoing links, backlinks, and pages in the same folder or with a shared tag.Set to
false to skip folder and tag siblings, which requires scanning every page.404 if the page does not exist.
Link suggestions
Find pages that are semantically close to a page but not yet linked to or from it. Use this to discover missing wiki links.400 if path is missing, 404 if the page does not exist, and 503 if vector search is off. suggestions is null when nothing qualifies.
Similar pages
Rank pages by how similar their frontmatter is, using Gower distance over the fields in a similarity profile. Query by a page, or by an inline set of field values for a case that isn’t in the knowledge base yet..kiwi/config.toml
400 when neither path nor vector is given, the profile is unknown, k isn’t a positive integer, or vector isn’t a JSON object.
Embeddings
Return the stored text chunks and embedding vectors for a page.400 if path is missing, 404 if the page has no embeddings, and 503 if vector search is off.
Search evaluation
Score full-text, semantic, and hybrid search against questions with known answers. Reports hit rate, MRR, precision, and nDCG attop_k. Same as kiwifs eval.
Golden set name. Loads
<set>.topics and <set>.qrels from .kiwi/eval/. Use either set or queries.Path prefixes hidden from retrieval before ranking. Use this for leave-one-out evaluation.
400 when both or neither of set and queries are given or the set can’t be loaded, and 500 if every search failed.
Full-text search metrics.
semantic and hybrid have the same shape; hybrid only has data when vector search is on.Per question:
question, relevant, and for each engine its rank (fts_rank, semantic_rank, hybrid_rank; 0 means not found), hits, and nDCG.MCP equivalents
kiwi_velocity, kiwi_graph_analytics, kiwi_graph_centrality, kiwi_graph_communities, kiwi_graph_path, kiwi_graph_walk, kiwi_suggestions, kiwi_similar, kiwi_embeddings, and kiwi_eval. The kiwi_eligible task-ranking tool is MCP-only; there is no REST endpoint for it.
Related
Analytics and health
Page views, failed searches, and health checks.
Search
Full-text, semantic, and hybrid search.