About Cq
Cq is an MCP server published by mozilla-ai in the Documentation category: an open standard for shared agent learning. Agents persist, share, and query collective knowledge so they stop rediscovering the same failures independently. Conduid read 7 tools from its source: confirm, flag, list, propose, query, revoke and 1 more. No package is published for it, so it installs from a source checkout.
The repository has 1.3K stars and 76 forks, is licensed Apache-2.0, and its last commit was on 1 Dec 2026. The latest release is cli/v0.20.1 (17 Nov 2026). It follows sdk/go/stores/postgres/v0.1.2 (17 Nov 2026), and the 5 most recent releases go back to sdk/go/stores/postgres/v0.1.1 (17 Nov 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include docs.
Install
git clone https://github.com/mozilla-ai/cqTools (7)
confirmEndorse an existing KU that proved correct| Parameter | Type | Description |
|---|---|---|
| unit_id * | string | ID of the knowledge unit to confirm (returned by query). |
flagMark a KU as wrong or stale| Parameter | Type | Description |
|---|---|---|
| detail | string | |
| duplicate_of | string | ID of the original unit when reason is "duplicate". |
| reason * | string | Why this unit is problematic: "stale" (behavior no longer exists), "incorrect" (guidance is wrong), or "duplicate" (another unit covers it). |
| unit_id * | string | ID of the knowledge unit to flag (returned by query). |
listList your own KUs and their review state| Parameter | Type | Description |
|---|---|---|
| cursor | string | Cursor from a previous call's next_cursor, to fetch the following page. |
| domains | array | Limit to units carrying any of these subject tags (e.g. "api", "payments"). |
| frameworks | array | Limit to units carrying any of these frameworks (e.g. "fastapi", "react"). |
| languages | array | Limit to units carrying any of these languages (e.g. "python", "go"). |
| limit | number | |
| pattern | string | Limit to units carrying this cross-cutting concern (e.g. "shell-quoting"). |
| search | string | Limit to units whose summary, detail or action matches this text. |
| status | string |
proposeSubmit a new knowledge unit| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| detail * | string | |
| domains * | array | |
| extensions | object | Implementation-specific fields. Keys MUST use namespace:key format (e.g., myimpl:severity). |
| frameworks | array | |
| languages | array | |
| pattern | string | |
| summary * | string |
querySearch the knowledge store before acting| Parameter | Type | Description |
|---|---|---|
| domains * | array | Subject-area tags capturing what the query is about (e.g. "api", "payments", "connection-pooling"). Use 2-3 specific tags. |
| frameworks | array | Libraries or frameworks involved (e.g. "webpack", "react", "fastapi"). Do not repeat in domains. |
| languages | array | Programming languages the query applies to (e.g. "python", "go"). Do not repeat in domains. |
| limit | number | Maximum results to return (default 5, max 50). Increase for broad exploratory queries. |
| pattern | string | Cross-cutting concern useful as a search axis independent of specific technology (e.g. "shell-quoting", "ci-pipeline"). |
revokeWithdraw a knowledge unit you proposed| Parameter | Type | Description |
|---|---|---|
| unit_id * | string | ID of the knowledge unit to revoke (returned by propose or query). |
statusShow store statisticsSecurity checks
Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by cli/go.sum and 5 more.
- ✓No dynamic code executionScanned 196 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
What the source scan found
- Transport
- stdiocli/cmd/mcp.go:42
- Starts other programs
- 2 callscli/internal/auth/browser.go:19, cli/internal/install/claude.go:234
- Outbound network calls
- 23 callscli/internal/auth/http_client.go:275, cli/internal/auth/platform_client.go:89, sdk/go/discovery/discovery.go:186
- Writes or deletes files
- 40 callscli/internal/credstore/file.go:66, cli/internal/credstore/file.go:97, cli/internal/credstore/file.go:125
- Lockfile
- cli/go.sum and 5 more
Pattern matches on the source text of 196 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 1.1K words, fetched 2 days ago. The original in the repository is authoritative.
Read full README