Hivelore
Deterministic gate: blocks any commit whose diff reintroduces a documented team mistake.
Connector by Doucs91 · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying Hivelore?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/doucs91-hivelore
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 14 read · 10 write · 1 delete · 8 not yet classified
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 33
Read from the source code; the running server may list different tools.
Read 14 · Look things up without changing anything.
anti_patterns_checkcode_mapcode_searchget_briefingget_project_contextget_recapmem_diffmem_getmem_listmem_pendingmem_searchmem_suggest_topic
Show 2 more tools
mem_verifyreport_friction
Write 10 · Create, change, send or run things.
bootstrap_project_savemem_approvemem_feedbackmem_rejectmem_resolve_projectmem_savemem_session_endmem_triedmem_updatepre_commit_check
Delete 1 · Delete, drop, revoke or wipe things.
mem_delete
Not yet classified 8 · We could not tell from the name and description.
ingest_findingsmem_conflict_candidatesmem_distillmem_for_filesmem_relevant_tomem_timelinepropose_sensorscaffold_test
Network hosts it talks to 3
api.github.com· found in codegithub.com· found in codeglama.ai· found in code
Files it touches
/dev/null/tmp/hivelore-health.json- Your home directory (~)
- Any path the agent passes to its tools
Tools (33)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
anti_patterns_checkScan a diff (or set of paths) against documented attempt/gotcha memories. [Diff-scan layer: the MEMORY-MATCH component. `pre_commit_check` combines this with sensors + stale checks; `hivelore enforce check` is the gate.] Surfaces 'you are about to repeat a known mistake' warnings BEFORE you commit. USE BEFORE finalizing a non-trivial change. Cheap and high-signal: the only memories scanned are 'attempt' and 'gotcha' types. PARAMETERS: diff — raw unified diff text (or any code snippet) — optional if `paths` provided paths — affected file paths (optional if `diff` provided) limit …
bootstrap_project_savePersist the project context document (.ai/project-context.md) or a module context (.ai/modules/<name>/context.md) analyzed by the AI. USE AFTER the bootstrap_project MCP prompt: the prompt tells you how to analyze the codebase; this tool saves the result. PARAMETERS: content — full Markdown content of the context document module — if provided, saves as a module context (not root project context) RETURNS: { file_path, module? }
code_mapLook up where symbols (classes, functions, interfaces) are defined in the codebase. USE INSTEAD OF grepping when you need to find where something lives. Requires hivelore index code to have been run (done automatically in autopilot mode). TIP: include symbols in get_briefing directly for auto-lookup at session start. PARAMETERS: symbol — name or partial name to search (e.g. 'PaymentService') file — filter by file path substring max_files — cap on results (default 40) RETURNS: { available: bool, files: [{ path, exports: [{ name, kind, line, description }] }] } If available: fals…
code_searchSemantic search over the codebase — finds exported symbols (functions, classes, interfaces) related to a natural-language query. Replaces blind grep when you don't know the exact symbol name. Requires `hivelore index code-search` to have been run (builds embeddings for every exported symbol from the code-map). Falls back to a notice when index is missing. PARAMETERS: query — natural language (e.g. 'function that hashes passwords', 'JWT signing') k — number of top hits (default 5) min_score — minimum cosine similarity (default 0.2; try 0.3+ for stricter) RETURNS: { availabl…
get_briefing⭐ DEFAULT-FIRST for coding agents on any repo where `hivelore init` ran: call this BEFORE changing source or project config for the current goal (unless the developer explicitly opts out). One-shot onboarding: everything relevant in a single call under a token budget. PROGRESSIVE DISCLOSURE — after this, drill down only if needed: mem_relevant_to / mem_search (compact lists) → mem_get (full body + anchors). RETURNS (in order of priority): 0. action_required — ⚠️ HANDLE THIS FIRST if non-empty (see protocol below) 1. last_session — recap of the previous session (goal, what was done, n…
get_project_contextRead .ai/project-context.md (and optionally a module context) directly. USE WHEN you need the full project context without the memory ranking and token budgeting of get_briefing — e.g. for a reference architecture review. For normal task onboarding, use get_briefing instead (more efficient). PARAMETERS: module — also load .ai/modules/<module>/context.md if provided RETURNS: { content: string, module_context?: string }
get_recapReturn ONLY the most recent session_recap. Cheaper than get_briefing when you just want to know 'what was I doing last time?' and don't need project context, modules, or memory ranking. PARAMETERS: scope — 'personal' | 'team' | 'any' (default 'any', returns the most recent across both) RETURNS: { recap: { id, scope, revision_count, created_at, body } | null, notice? }
ingest_findingsTurn scanner findings (SonarQube / SARIF) into proposed, anchored memories with sensors. USE THIS to seed Hivelore from your existing quality tooling: each real defect a scanner found becomes a `gotcha`/`convention` memory anchored to the file, pre-filled with a conservative `warn` sensor — so the next agent is steered away from it before re-writing it. This closes the review↔memory loop and kills the cold-start problem. SAFETY: drafts are status=proposed and sensors are warn-only + autogen. This tool NEVER auto-validates and NEVER auto-blocks. A human reviews (mem_pending) and promotes the …
mem_approveMark a memory as validated (trusted, approved by a human or the team). New projects capture drafts. Approve only after reviewing the claim and its evidence. In manual mode, call this after reviewing a proposed memory to activate it. PARAMETERS: id — full memory id to approve RETURNS: { id, previous_status, new_status: 'validated' }
mem_conflict_candidatesBulk scan for conflict CANDIDATES (not proof): 1. Lexical similarity (Jaccard) on decision/architecture-like pairs 2. Same frontmatter.topic with validated vs rejected — quick human-review signal Advisory only — review the listed candidate ids, then resolve with mem_update/mem_delete. PARAMETERS: since_days, types, min_jaccard, max_pairs, max_scan, max_topic_pairs RETURNS: { pairs, topic_status_pairs, scanned, truncated, notice? }
mem_deletePermanently delete a memory by id. USE WITH CAUTION — prefer mem_reject for outdated memories (preserves history). Use delete only for accidentally created memories or duplicates. PARAMETERS: id — full memory id to delete delete_usage — also delete usage stats (default: true) RETURNS: { deleted: true, id }
mem_diffCompare two memories side-by-side to decide if they should be merged. USE BEFORE merging or deduplicating similar memories. Shows: frontmatter fields that differ + lines unique to each body. PARAMETERS: id_a — first memory id id_b — second memory id RETURNS: { frontmatter_diff: {...}, body_only_in_a: [...], body_only_in_b: [...] }
mem_distillCluster recurring observations / failed attempts so a human can collapse N similar memories into one richer convention/gotcha. Cheap heuristic (anchor path overlap + body keyword overlap) — no embeddings required. USE periodically (e.g. monthly) to prevent memory pollution from agents saving the same observation many times. PARAMETERS: since_days — only consider memories from the last N days (default 30) min_cluster — minimum cluster size to surface (default 3) type_filter — 'gotcha' | 'attempt' | 'all' (default 'gotcha') scope — 'personal' | 'team' | 'module' | 'any' (def…
mem_feedbackRecord whether a memory actually HELPED — the closed-loop utility signal. USE right after a memory changed (or failed to change) what you did: - outcome='applied' → the memory steered your work (strong positive signal) - outcome='rejected' → it was wrong/outdated/unhelpful (negative signal) A read only means a memory was surfaced; 'applied' is a reported utility signal, not independently verified proof. This powers `hivelore memory impact` (impact tiers + prune candidates) and future ranking. PARAMETERS: id — full memory id the feedback is about outcome — applied | rejected | …
mem_for_filesSurface memories relevant to the files you are currently editing. USE WHEN starting work on specific files and you want to know: - What conventions apply to these files - What gotchas are anchored to these paths - What decisions were made about this module Matching strategy (in priority order): 1. Anchor overlap — memories whose paths overlap with your files 2. Module context — .ai/modules/<name>/context.md if module is inferred 3. Domain/tag match — memories whose tags include path segments PARAMETERS: files — list of project-relative file paths you are editing scope — filt…
Show 18 more tools
mem_getFetch a single memory by its full id with all details. USE WHEN get_briefing / mem_relevant_to / mem_search returned a compact hit and you need the full body, or when you know the exact id of a memory. PARAMETERS: id — full memory id (e.g. '2026-04-28-gotcha-flyway-strict-no-ddl') RETURNS: { id, type, scope, status, confidence, body, anchor, tags, usage }
mem_listList memories with optional filters. Use for browsing, not for task onboarding. For task onboarding use get_briefing (ranked + budgeted). For keyword search use mem_search. PARAMETERS: scope — personal | team | module type — convention | decision | gotcha | architecture | glossary status — draft | proposed | validated | stale | rejected tags — filter by tags (AND match) module — filter by module name RETURNS: array of { id, type, scope, status, confidence, tags, created_at }
mem_pendingList memories in 'proposed' status awaiting review, sorted by read count. USE IN MANUAL MODE to see what memories are waiting for human review. New projects disable automatic approval; existing repositories retain their configured policy. High read_count on a proposed memory = many agents found it useful without rejecting it = strong signal to approve. RETURNS: array of { id, type, scope, read_count, created_at, body_preview }
mem_rejectMark a memory as rejected and record a reason. USE WHEN a memory is factually wrong, outdated, or not useful. Rejection blocks auto-promotion and lowers the memory's trust signal. Rejected memories are excluded from get_briefing by default. PARAMETERS: id — full memory id to reject reason — why this memory is being rejected (stored in frontmatter) RETURNS: { id, previous_status, new_status: 'rejected' }
mem_relevant_toOne-shot ranked memories for a task — use instead of get_briefing when project context is already loaded and you only want the relevant memory layer. Second step in progressive disclosure (after get_briefing): narrow here, then mem_get for full text. Reuses the same ranking pipeline (anchor / module / literal / semantic) but skips project_context, modules, action_required, etc. PARAMETERS: task — 1–2 sentences describing what you are about to do (required) files — files you'll edit (surfaces anchored memories) limit — cap on returned memories (default 8) min_semantic_score — …
mem_resolve_projectDiagnostics: resolve which project root Hivelore is using (never throws). USE IN multi-root workspaces or when the agent CWD may not be the repo root — mirrors HAIVE_PROJECT_ROOT, findProjectRoot markers, and presence of .ai/memories. PARAMETERS: cwd — optional directory used for discovery when HAIVE_PROJECT_ROOT is unset RETURNS: { ok: true, info: { cwd, resolved_root, haive_project_root_env, … } }
mem_saveSave a piece of knowledge as a persistent memory that survives across AI sessions. USE THIS WHEN you discover something worth remembering for future sessions: - A project convention (how things are done here) - An architectural decision and its rationale - A gotcha or non-obvious behavior that surprised you - A domain term and what it means in this codebase DO NOT USE for failed approaches → use mem_tried instead (better structure). For reactive code discoveries during exploration, prefer a compact gotcha via mem_save. PARAMETERS: type — convention | decision | gotcha | archit…
mem_searchSearch memories by keyword or semantic similarity. USE WHEN you need to find a specific memory and don't know its id. For session onboarding, use get_briefing instead (richer, ranked, budgeted). SEARCH MODES: Literal (default): AND search across id, tags, and body — all tokens must match. Falls back to OR automatically if no AND results (partial match). Lexical rank (lexical_rank: true, semantic: false): Okapi-BM25-style scoring on the filtered corpus — good for phrase-like queries without embeddings. Semantic (semantic: true): embedding-based similarity — finds related memories …
mem_session_endSave an end-of-session recap so the NEXT session starts with fresh context. CALL THIS before closing any significant working session. In autopilot mode, the MCP server saves a minimal recap automatically on exit — but calling this manually produces a richer, more useful recap. HOW IT WORKS: uses topic-upsert — one recap per scope is kept and updated in-place (revision_count increments). get_briefing surfaces the latest recap at the very top of the next session's briefing, before project context. PARAMETERS: goal — what you were trying to accomplish (1–2 sentences) accomplished —…
mem_suggest_topicPropose a stable `topic` key (topic-upsert) from type + short title. USE BEFORE mem_save when you want deterministic updates to the same memory over time; families mimic Engram-style grouping (architecture/*, bug/*, decision/*, …). PARAMETERS: type — convention | decision | gotcha | architecture | glossary | attempt | session_recap title — phrase to slugify under the suggested family prefix RETURNS: { topic_key, family, type }
mem_timelineChronological view of related memories: by shared frontmatter.topic OR expanded from a seed id (related_ids, same topic, overlapping anchor paths — one extra hop on related_ids). PARAMETERS: memory_id — optional seed memory id topic — optional topic key (required if memory_id omitted) limit — max entries (default 30) RETURNS: { entries: [{ id, type, scope, created_at, one_line, topic? }], total, notice? }
mem_triedRecord a FAILED approach so future agents don't repeat the same mistake. USE THIS IMMEDIATELY when you try something and it doesn't work. This is the most valuable type of negative knowledge — it saves hours of debugging for future agents working on the same codebase. Auto-validated (no approval cycle). Surfaced FIRST in future get_briefing calls so it's impossible to miss. PARAMETERS: what — short title of what you tried (e.g. 'importing X with ESM dynamic import') why_failed — the exact error or reason it failed instead — what to do instead (the correct approach) scope …
mem_updateUpdate the body, tags, or anchor of an existing memory in-place. USE WHEN a memory exists but its content has become outdated or incomplete. This preserves the memory's id, usage history, and read_count. For evolving memories that you will update repeatedly, use mem_save with a topic key instead (topic-upsert pattern). PARAMETERS: id — full memory id to update body — new Markdown content (replaces existing body) tags — new tag list (replaces existing tags) paths — new anchor paths (replaces existing paths) symbols — new anchor symbols (replaces existing symbols) RETU…
mem_verifyCheck whether memory anchor paths and symbols still exist in the current code. USE WHEN you want to know if a specific memory is still valid after a refactor, or to check all memories for staleness (hivelore sync does this automatically). PARAMETERS: id — check a single memory (omit to check all) update — write 'stale' or 'validated' status back to disk RETURNS: { results: [{ id, status: 'fresh'|'stale'|'anchorless', reason? }] } Stale means the anchored file/symbol no longer exists at that path. Anchorless means the memory has no paths/symbols — staleness is undetectable.
pre_commit_checkOne-shot 'should I block this commit?' check. Combines three signals, all run internally by this one call — you do not invoke them separately: 1. anti_patterns_check — known gotchas/attempts that match the diff 2. mem_for_files — conventions/decisions anchored to touched files 3. mem_verify — memories whose anchors are stale (knowledge may be wrong) This is the COMBINED diff-scan layer — sensors, anti-patterns and stale anchors in a single call. `hivelore enforce check` is the git-hook gate that runs the same combination at commit time. USE FROM A GIT HOOK or before fin…
propose_sensorPropose a discriminating sensor for a gotcha/attempt — YOU write the pattern (you understand the code), Hivelore validates it before trusting it to block. This is how a captured lesson becomes a RELIABLE block instead of an advisory note. USE THIS right after mem_tried / mem_save on a gotcha whose mistake is detectable in code, to upgrade the auto-suggested (warn) sensor into a precise, promotable one. Write a pattern that matches the FAULTY usage, and — crucially — an `absent` regex for the CORRECT-usage marker so it fires on the bug only, not every call (e.g. pattern=the API call, absent=t…
report_frictionTell Hivelore's maintainer that HIVELORE ITSELF got in your way — a bug in a Hivelore tool, a misleading message, wrong docs, or an improvement idea. USE THIS WHEN the friction is with Hivelore, not with the project you are working on: - a Hivelore tool or command errored, or did something other than what it documented - a message or return value misled you into a wrong action - the docs/description for a tool were wrong, missing, or contradictory - you can see a concrete improvement to how a Hivelore tool behaves DO NOT USE for anything about the project's own code → that is mem_tri…
scaffold_testGenerate a PENDING post-incident test from a lesson (attempt/gotcha) — the on-ramp to a command sensor. A command sensor routes YOUR test as its oracle, but someone has to write it; this writes the skeleton so you only fill in the assertion. USE THIS right after mem_tried when the mistake is behavioural (a regex can't express it): it writes a stub carrying the incident's provenance and returns the exact `sensors propose --kind test` command to arm it. It DOES NOT arm a sensor — propose_sensor stays the sole validated writer, and the stub is left PENDING (todo/skip) so the suite stays green u…
Signals
- Stars
- 4
- Forks
- 0
- Open issues
- 1
- Weekly downloads
- 171
- Last commit
- Oct 6, 2026 (25 days ago)
- Last release
- Oct 6, 2026 (25 days ago)
- Last package publish
- Oct 6, 2026 (25 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.Doucs91/hivelore- Version
- 0.53.1
- Auth
- No auth
- Packages
- npm @hivelore/mcp
- License
- Apache-2.0
- Repository
- github.com/Doucs91/hivelore
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get Hivelore running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
Hivelore MCP server. Agent Mart. https://agentmart.dev/connectors/doucs91-hivelore (last updated 2026-10-25)