DocsReference

MCP server

Agents read the same pages you do. The server runs locally over stdio.

Edit on GitHub

Add it to Claude Code

$ claude mcp add canon -- canon mcp

canon mcp starts qmd's MCP server over the knowledge index that canon sync builds.

Tools

Tool What it returns
query the pages that match a search, ranked by keywords, meaning and a rerank
get one page by path or ID, optionally from a line onward
multi_get several pages at once, by glob or a list
status the index: its collections and how many pages each holds

Example

→ query { "searches": [{ "type": "lex", "query": "ad network" }] }
← chess/.context/wiki/entities/ads.md  "Google AdMob only, non-personalised."