1. Conduid
  2. RAG
  3. Caveat
MCP server · RAG

Caveat

Long-term memory layer for Claude Code and Codex — markdown-in-git knowledge base, SQLite FTS5 retrieval, MCP, and native agent hooks.

48Fair

Scored 5 hours ago · breakdown

About Caveat

Caveat is an MCP server published by kitepon in the RAG category: long-term memory layer for Claude Code and Codex — markdown-in-git knowledge base, SQLite FTS5 retrieval, MCP, and native agent hooks. Conduid read 7 tools from its source: caveat_get, caveat_list_recent, caveat_pull, caveat_record, caveat_search, caveat_sync and 1 more. No package is published for it, so it installs from a source checkout.

The repository has 3 stars and 0 forks, and its last commit was on 2 Dec 2026. Conduid has no tagged release on record for it. Its topics include agent-tools, cli, coding-agents, devtools, fts5 and knowledge-base.

Install

From source
git clone https://github.com/kitepon/Caveat

Tools (7)

caveat_getFetch the full body (frontmatter + H2 sections + text) of a caveat by id. For an oversized/deep entry, returns raw_entry and diagnostics with explicit UTF-8 byte offsets; follow next_offset_bytes with offsetBytes (limitBytes 4..65536). A relative path from caveat entry-diagnostics can read an unindexed entry. IMPORTANT: when the id came from caveat_search, you MUST pass the `source` field from that same result (e.g., "community/Caveat"). The default source is "own" only; omitting source for a community entry returns not-found.
caveat_list_recentList caveats ordered by updated_at DESC. Use for browsing recent additions — e.g., showing the user what is new after caveat_pull. Not for search; use caveat_search when you have a query.
caveat_pullgit-pull every subscribed community caveat repo (added via `caveat community add`) and re-index. Call when: (a) the user explicitly asks about others' knowledge on a topic, or (b) caveat_search returned empty for a query that feels like it should have hits and a subscribed repo might be stale. Do NOT call reflexively at session start — it is cheap but not free, and stale-by-minutes is acceptable. Safe and idempotent.
caveat_recordArguments JSON UTF-8 is limited to 1MiB; the final Markdown to 1MiB, frontmatter to 64KiB, expanded graph to 10000 nodes/edges and depth128. Refusals are typed and do not mutate data. Create a new caveat: a reusable record of a time-wasting trap (wrong driver, version mismatch, platform bug, IDE quirk, native-module issue, or repo-specific context) so future sessions can find it via caveat_search. REQUIRED BEFORE CALLING: run caveat_search first to avoid duplicates. Set visibility using this binary criterion: `public` if a third party could reproduce it; `private` if it is repo/workflow-specific or depends on intentional local design; when unclear, prefer `private`; follow an explicit user visibility choice. Qualifies: specific symptom + diagnosed cause (or `outcome: impossible` verdict) + environment fingerprint. Does NOT qualify: ordinary project-internal logic bugs, user preferences, session summaries, or ephemeral task notes; reusable repo-specific traps may be `private`. Auto-fills source_session and environment defaults; source_project is left null by design (shared knowledge must not leak per-user project names).
caveat_searchSearch the "caveats" knowledge base — records of time-wasting traps someone already diagnosed, including external-spec issues (GPU/driver/CUDA versions, native-module builds, IDE/shell quirks, platform-specific behavior, library version incompatibilities) and reusable repo-specific context. Call this FIRST when a problem smells like a known trap — before reading stack traces top-to-bottom or trying fixes. Query: 3+ chars, plain tokens only (no OR/NEAR/other FTS5 operators). If it returns 0 hits, retry with synonyms and Japanese/English paraphrases. Returns summary rows including `{id, source}` — pass BOTH to caveat_get for the full body.
caveat_syncSync this client context own private knowledge repository: inspect, commit, pull --rebase, push and reindex through the configured githubUser policy. May send private knowledge to its existing remote. Does not initialize a repository or change authentication. On NOT_A_REPO confirm the intended repository and client context before configuring it; never initialize or infer a remote automatically. On SYNC_BUSY retry later. Client timeout/cancellation does not cancel an in-progress sync: inspect deployment status ownSync before retrying; no fallback to a PATH CLI or another context.
caveat_updateArguments JSON UTF-8 is limited to 1MiB; final Markdown to 1MiB and frontmatter to 64KiB. Oversized final results are refused before mutation. Patch an existing caveat — use when newer evidence extends or corrects one that already exists. Frontmatter shallow-merges, but array fields (tags etc.) REPLACE rather than append — to add one tag, read the current list first, then patch with the full new array. Sections match by case-insensitive H2 heading. When changing `Symptom`, preserve raw errors verbatim and add stable Japanese/English symptom keywords when known; do not force or guess translations. Immutable keys: id, created_at, source_session, source_project. Common uses: bump `last_verified` after re-confirming, add a resolution when it was `tentative`, flip `outcome` to `impossible`.

Security checks

6 checks have not been run yet.

Questions

About Caveat

How do I install Caveat?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Caveat safe to use with an AI agent?

Its trust score is 48 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Caveat still maintained?

Yes — the last commit was 10 hours ago. The repository has 3 stars and 0 forks.

What tools does Caveat provide?

Conduid read 7 tools from the source: caveat_get, caveat_list_recent, caveat_pull, caveat_record, caveat_search, caveat_sync and caveat_update.