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

Swarmvault

The local-first LLM Wiki: open-source knowledge graph builder, RAG knowledge base, and agent memory store. Built on Andrej Karpathy's pattern. An Obsidian alternative for personal knowledge management, AI second brain, and durable Claude Code / Codex / OpenClaw memory.

75Good

Scored 7 hours ago · breakdown

About Swarmvault

Swarmvault is an MCP server published by swarmclawai in the RAG category: the local-first LLM Wiki: open-source knowledge graph builder, RAG knowledge base, and agent memory store. Built on Andrej Karpathy's pattern. An Obsidian alternative for personal knowledge management, AI second brain, and durable Claude Code / Codex / OpenClaw memory. Conduid read 51 tools from its source: archive_candidate, auto_promote_candidates, blast_radius, build_context_pack, cluster_graph, compile_vault and 45 more. No package is published for it, so it installs from a source checkout.

The repository has 741 stars and 86 forks, is licensed MIT, and its last commit was on 30 Jun 2026. The latest release is v3.20.0 (12 Jun 2026): Added declaration line ranges to code symbols: the TypeScript/JavaScript analyzer records startLine/endLine for functions, classes, and variables, the ranges travel thro… It follows v3.19.0 (12 Jun 2026), and the 5 most recent releases go back to v3.16.1 (11 Jun 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include claude-skills, codex-skills, karpathy, knowledge-graph, llm-wiki and local-first.

Install

From source
git clone https://github.com/swarmclawai/swarmvault

Tools (51)

archive_candidateArchive a staged candidate without promoting it.
ParameterTypeDescription
target *stringCandidate page id or wiki/candidates path
auto_promote_candidatesApply configured auto-promotion rules to staged candidates. Requires candidate.autoPromote.enabled in config.
ParameterTypeDescription
dryRunbooleanScore candidates without moving files
blast_radiusAnalyze the impact of changing a file or module by tracing reverse import edges.
ParameterTypeDescription
maxDepthnumberMaximum traversal depth (default 3)
target *stringFile path, module label, or module id
build_context_packBuild a cited, token-bounded context pack for an agent task.
ParameterTypeDescription
budgetTokensnumberApproximate token budget for included context
formatstringPreferred rendered output format
goal *stringTask, question, or goal the agent needs context for
targetstringOptional page, node, path, project, or label to anchor the pack
cluster_graphRecompute graph communities, node degrees, god-node flags, and graph report artifacts from the existing compiled graph.
ParameterTypeDescription
resolutionnumberOptional Louvain community resolution override
compile_vaultCompile source manifests into wiki pages, graph data, and search index.
ParameterTypeDescription
approvebooleanStage a review bundle without applying active page changes
maxTokensnumberMaximum token budget for wiki output
consolidateRun the LLM Wiki v2 consolidation pass, rolling working-tier insight pages into episodic, semantic, and procedural tiers.
ParameterTypeDescription
dryRunbooleanReturn decisions without writing any files
doctor_retrievalDiagnose retrieval index problems and optionally repair them.
ParameterTypeDescription
repairbooleanRebuild stale or missing retrieval artifacts
doctor_vaultDiagnose vault health across graph, retrieval, review queues, watch state, and migrations.
ParameterTypeDescription
repairbooleanRun safe repairs such as rebuilding stale retrieval artifacts
finish_memory_taskFinish a SwarmVault memory task with an outcome and optional follow-up.
ParameterTypeDescription
followUpstringFollow-up to preserve for the next agent
id *stringMemory task id
outcome *stringOutcome to record
finish_taskFinish a SwarmVault task with an outcome and optional follow-up.
ParameterTypeDescription
followUpstringFollow-up to preserve for the next agent
id *stringTask id
outcome *stringOutcome to record
get_communityReturn members, pages, and top evidence edges for a graph community by id or label.
ParameterTypeDescription
limitnumberMaximum evidence edges to return
target *stringCommunity id or label
get_hyperedgesList graph hyperedges, optionally filtered to a node or page target.
ParameterTypeDescription
limitnumberMaximum hyperedges to return
targetstringOptional node/page label or id to filter by
get_neighborsReturn the neighbors of a graph node or page target.
ParameterTypeDescription
target *stringNode or page label/id
get_nodeExplain a graph node, its page, community, neighbors, and group patterns.
ParameterTypeDescription
target *stringNode or page label/id
god_nodesList the highest-connectivity graph nodes.
ParameterTypeDescription
limitnumberMaximum nodes to return
graph_callersList the callers of a symbol with file:line call-site evidence derived from graph call edges.
ParameterTypeDescription
target *stringSymbol label or node id
graph_reportReturn the machine-readable graph report and trust artifact.
graph_statsReturn lightweight counts for graph nodes, evidence classes, source classes, communities, pages, and edges.
graph_statusRead-only graph freshness check: graph/report presence, tracked repo changes since the last refresh, and the recommended refresh command.
ParameterTypeDescription
repoRootsarrayOptional repo roots to check instead of configured/tracked roots
ingest_inputIngest a local file path or URL into the SwarmVault workspace.
ParameterTypeDescription
input *stringLocal path or URL to ingest
lint_vaultRun anti-drift and vault health checks.
list_approvalsList staged approval bundles awaiting review.
list_context_packsList saved SwarmVault context packs.
list_memory_tasksList saved SwarmVault agent memory tasks.
list_sourcesList source manifests in the current workspace.
ParameterTypeDescription
limitnumberMaximum number of manifests to return
list_tasksList saved SwarmVault agent tasks.
migrateDetect the vault's version and preview the migration plan to the current SwarmVault version.
ParameterTypeDescription
targetstringOptional target version cap (migrations with toVersion above this are skipped)
preview_candidate_scoresScore staged candidates against the configured auto-promotion rules without promoting.
promote_candidatePromote a staged candidate into its active concept or entity page.
ParameterTypeDescription
target *stringCandidate page id or wiki/candidates path
query_graphTraverse the local graph from search seeds without calling a model provider.
ParameterTypeDescription
budgetnumberMaximum nodes to summarize
contextarrayRelation group filters for common code/evidence contexts
evidenceClassesarrayOnly traverse these evidence classes
languagesarrayPrefer traversal around nodes with these code languages
nodeTypesarrayPrefer traversal around these graph node types
question *stringQuestion or graph search seed
relationsarrayOnly traverse edges with these relation names
traversalstringTraversal strategy
query_vaultAsk a question against the compiled vault and optionally save the answer.
ParameterTypeDescription
formatstringOutput format
question *stringQuestion to ask the vault
savebooleanPersist the answer to wiki/outputs
read_approvalRead the details and structured diffs for an approval bundle.
ParameterTypeDescription
approvalId *stringApproval bundle id
diffbooleanInclude the textual unified diff alongside the structured diff
read_context_packRead a saved SwarmVault context pack by id.
ParameterTypeDescription
id *stringContext pack id
read_memory_taskRead a saved SwarmVault agent memory task by id.
ParameterTypeDescription
id *stringMemory task id
read_pageRead a generated wiki page by its path relative to wiki/.
ParameterTypeDescription
path *stringPath relative to wiki/, for example sources/example.md
read_taskRead a saved SwarmVault agent task by id.
ParameterTypeDescription
id *stringTask id
rebuild_retrievalRebuild the local retrieval index from the current graph.
resume_memory_taskRender a saved SwarmVault memory task as a next-agent handoff.
ParameterTypeDescription
formatstringRendered output format
id *stringMemory task id
resume_taskRender a saved SwarmVault task as a next-agent handoff.
ParameterTypeDescription
formatstringRendered output format
id *stringTask id
retrieval_statusRead SwarmVault retrieval index health and configuration.
review_decisionAccept or reject approval bundle entries from a staged compile.
ParameterTypeDescription
approvalId *stringApproval bundle id as reported by list_approvals or read_approval
decision *stringAction to apply to the selected entries
notesstringFree-form reviewer notes, surfaced in the session log
targetsarraySpecific entry page ids to act on (defaults to all pending)
search_pagesSearch compiled wiki pages using the local full-text index.
ParameterTypeDescription
limitnumberMaximum number of results
query *stringSearch query
shortest_pathFind the shortest graph path between two targets.
ParameterTypeDescription
from *stringStart node/page label or id
to *stringEnd node/page label or id
start_memory_taskStart a durable SwarmVault agent memory task and build its initial context pack.
ParameterTypeDescription
agentstringAgent name to record on the task
budgetTokensnumberApproximate token budget for the initial context pack
contextPackIdstringExisting context pack id to attach instead of building a new one
goal *stringTask goal to preserve in agent memory
targetstringOptional page, node, path, project, or label to anchor the initial context pack
start_taskStart a durable SwarmVault agent task and build its initial context pack.
ParameterTypeDescription
agentstringAgent name to record on the task
budgetTokensnumberApproximate token budget for the initial context pack
contextPackIdstringExisting context pack id to attach instead of building a new one
goal *stringTask goal to preserve
targetstringOptional page, node, path, project, or label to anchor the initial context pack
update_graphCode-only graph refresh. With files, refreshes just those files (fast path used after edits); otherwise walks tracked repo roots.
ParameterTypeDescription
filesarrayRefresh only these files instead of walking every tracked repo root
forcebooleanAllow updates even when node or edge counts shrink sharply
update_memory_taskAppend a note, decision, path, context pack, or status change to a SwarmVault memory task.
ParameterTypeDescription
changedPathstringChanged file or wiki path to attach
contextPackIdstringContext pack id to attach
decisionstringDecision to append
gitRefstringGit ref to attach
id *stringMemory task id
nodeIdstringGraph node id to attach
notestringTask note to append
pageIdstringPage id to attach
sessionIdstringSession id to attach
sourceIdstringSource id to attach
statusstringTask status
update_taskAppend a note, decision, path, context pack, or status change to a SwarmVault task.
ParameterTypeDescription
changedPathstringChanged file or wiki path to attach
contextPackIdstringContext pack id to attach
decisionstringDecision to append
gitRefstringGit ref to attach
id *stringTask id
nodeIdstringGraph node id to attach
notestringTask note to append
pageIdstringPage id to attach
sessionIdstringSession id to attach
sourceIdstringSource id to attach
statusstringTask status
watch_statusReturn the current watch-mode status: watched repos, last run summary, and pending semantic refreshes.
workspace_infoReturn the current SwarmVault workspace paths and high-level counts.

Security 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 6.4K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
  • ✓No dynamic code executionScanned 145 source files and found no eval, dynamic Function or shell execution.

1 check has not been run yet.

What the source scan found

Transport
stdiopackages/engine/src/mcp.ts:5
Starts other programs
7 callspackages/engine/src/extraction.ts:335, packages/engine/src/hooks/claude.ts:54, packages/engine/src/orchestration.ts:119
Outbound network calls
25 callspackages/engine/src/ingest.ts:1141, packages/engine/src/ingest.ts:1150, packages/engine/src/ingest.ts:1232
Writes or deletes files
93 callspackages/engine/src/agents.ts:630, packages/engine/src/agents.ts:638, packages/engine/src/agents.ts:642
Lockfile
pnpm-lock.yaml

Pattern matches on the source text of 145 files: places to read, not proof of what the code does at run time.

Releases

v3.20.0SwarmVault 3.20.0 · 12 Jun 2026Added declaration line ranges to code symbols: the TypeScript/JavaScript analyzer records `startLine`/`endLine` for functions, classes, and variables, the ranges travel through `CodeSymbol` onto graph symbol nodes, and `graph callers`…
v3.19.0SwarmVault 3.19.0 · 12 Jun 2026Added `swarmvault graph callers <symbol>` (CLI) and `graph_callers` (MCP): lists every caller of a symbol from graph call edges with exact file:line call-site evidence, scanning only the files the graph identifies as callers. Live token…
v3.18.0SwarmVault 3.18.0 · 12 Jun 2026Made graph-first search enforcement opt-in: installed agent hooks now default to advisory mode (`context`), and `swarmvault install --agent <agent> --hook --graph-first [deny|context|off]` persists the chosen mode as `hooks.graphFirst` in…
v3.17.0SwarmVault 3.17.0 · 11 Jun 2026Added graph-first read enforcement for agent integrations: the Claude Code hook now intercepts the first broad Grep/Glob/Bash search per session with a guided redirect to `swarmvault graph query|explain|blast` and `wiki/graph/report.md`…
v3.16.1SwarmVault 3.16.1 · 11 Jun 2026Fixed `provider remove` corrupting `swarmvault.config.json` when the last configured provider was removed: required task assignments were deleted, leaving a config the CLI could no longer parse. Removal is now refused with a clear error…

README

The repository's README runs to about 6.4K words, fetched 2 days ago. The original in the repository is authoritative.

Read full README
Questions

About Swarmvault

How do I install Swarmvault?

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

Is Swarmvault safe to use with an AI agent?

Its trust score is 75 out of 100 (good). It passes all 5 static checks Conduid ran on the repository. Conduid's scan of 145 source files found that it serves MCP over stdio, starts other programs (7 calls), makes outbound network calls (25 calls) and writes or deletes files (93 calls). Its dependencies are pinned by pnpm-lock.yaml. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Swarmvault still maintained?

Yes — the latest release is v3.20.0 (12 Jun 2026), and the last commit was 5 months ago. The repository has 741 stars and 9 open issues.

What tools does Swarmvault provide?

Conduid read 51 tools from the source: archive_candidate, auto_promote_candidates, blast_radius, build_context_pack, cluster_graph, compile_vault, consolidate, doctor_retrieval and 43 more. 39 of them publish their parameters, listed under Tools above.

What license is Swarmvault released under?

The repository declares the MIT license. That applies to the latest release, v3.20.0, as well.