Gitmem
Persistent institutional memory for AI coding agents.
Connector by gitmem-dev · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying Gitmem?
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/gitmem-dev-gitmem
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
- 19 read · 16 write · 1 delete · 53 not yet classified
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- None found
- Runs as
- Node.js package
Tools by what they do 89
Read from the source code; the running server may list different tools.
Read 19 · Look things up without changing anything.
absorb_observationsanalyzeget_transcriptgitmem-analyzegitmem-cache-healthgitmem-cache-statusgitmem-healthgitmem-searchgm-analyzegm-healthgm-searchhealth
Show 7 more tools
index_docslist_threadslogrecallsearchsearch_docssearch_transcripts
Write 16 · Create, change, send or run things.
archive_learningconfirm_scarscontribute_feedbackcreate_decisioncreate_learningcreate_threadgm-archivegm-closegm-confirmgm-resolverecord_scar_usagerecord_scar_usage_batch
Show 4 more tools
resolve_threadsave_transcriptsession_closesession_start
Delete 1 · Delete, drop, revoke or wipe things.
gitmem-cache-flush
Not yet classified 53 · We could not tell from the name and description.
cleanup_threadsdismiss_suggestiongitmem-algitmem-aogitmem-cdgitmem-clgitmem-cleanupgitmem-csgitmem-ctgitmem-dsgitmem-fbgitmem-graph
Show 41 more tools
gitmem-gtgitmem-helpgitmem-idxgitmem-loggitmem-ltgitmem-pcgitmem-psgitmem-rgitmem-rfgitmem-rsgitmem-rsbgitmem-rtgitmem-scgitmem-sdgitmem-srgitmem-ssgitmem-stgitmem-stxgm-absorbgm-cache-fgm-cache-hgm-cache-sgm-cleanupgm-dismissgm-feedbackgm-graphgm-loggm-opengm-pcgm-promotegm-reflectgm-refreshgm-scargm-stxgm-thread-newgm-threadsgraph_traverseprepare_contextpromote_suggestionreflect_scarssession_refresh
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
SUPABASE_SERVICE_ROLE_KEY
Other settings (environment variables or headers).
SUPABASE_URL
Network hosts it talks to 12
api.openai.com· found in codeapi.supabase.com· found in codecjptxyezuxdiinufgrrm.supabase.co· found in codedatabase.new· found in codeesm.sh· found in codegithub.com· found in codegitmem.ai· found in codegitmem.dev· found in codenpm.pkg.github.com· found in codeopenrouter.ai· found in codescript.google.com· found in codetelemetry.gitmem.ai· found in code
Files it touches
/home/claude/mcp-config.json/home/developer/my-project/home/developer/my-project/docs/home/developer/upgrade-project/home/node/mcp-config.json/private/tmp/claude-501/-Users-chriscrawford-nTEG-Labs-gitmem/484fb581-da80-40bd-a803-ed0f1afba43f/scratchpad/tok/node_modules/gpt-tokenizer/cjs/encoding/o200k_base.js/tmp/gitmem-cache/tmp/gitmem-hooks-plugin-debug.log/usr/local/lib/node_modules/gitmem-mcp/dist/commands/migrate-local.js/usr/local/lib/node_modules/gitmem-mcp/dist/index.js- Your home directory (~)
~/.codeium/windsurf/mcp_config.json- Any path the agent passes to its tools
Tools (89)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
absorb_observationsCapture observations from sub-agents and teammates. The lead agent parses findings from sub-agent responses, then calls this to persist and analyze them. Identifies scar candidates.
analyzeSession analytics and insights engine. Returns formatted markdown by default. Use format=json for raw data.
archive_learningArchives a learning (scar/win/pattern) by setting is_active=false and recording archived_at timestamp. Archived learnings are excluded from recall and search results but preserved for audit trail.
cleanup_threadsTriage open threads by lifecycle health. Groups threads as active/cooling/dormant with vitality scores. Use auto_archive=true to archive threads dormant 30+ days. Review and resolve stale threads to keep your thread list healthy.
confirm_scarsConfirm surfaced scars with APPLYING/N_A/REFUTED decisions and evidence. REQUIRED after recall() before consequential actions. Each recalled scar must be addressed. APPLYING: past-tense evidence of compliance. N_A: explain why scar doesn't apply. REFUTED: acknowledge risk of overriding.
contribute_feedbackSubmit feedback about gitmem — feature requests, bug reports, friction points, or suggestions. Always saved locally to .gitmem/feedback/. If opted in, sent anonymously to improve gitmem. 10/session limit.
create_decisionLog architectural/operational decision to institutional memory
create_learningCreate scar, win, or pattern entry in institutional memory. Frame as 'what we now know' — lead with the factual/architectural discovery, not what went wrong. Good: 'Fine-grained PATs are scoped to one resource owner'. Bad: 'Should have checked PAT type first'.
create_threadCreate an open thread to track unresolved work across sessions. Includes semantic dedup: if a similar open thread exists (cosine similarity > 0.85), returns the existing thread instead. Check the 'deduplicated' field in the response.
dismiss_suggestionDismiss a suggested thread. Incremented dismiss count — suggestions dismissed 3+ times are permanently suppressed.
get_transcriptRetrieve a session transcript from storage
gitmem-algitmem-al (archive_learning) - Archive a scar/win/pattern (sets is_active=false)
gitmem-analyzegitmem-analyze (analyze) - Session analytics. Returns formatted markdown by default.
gitmem-aogitmem-ao (absorb_observations) - Capture sub-agent/teammate observations
gitmem-cache-flushgitmem-cache-flush - Force reload cache from Supabase (use when out of sync)
Show 74 more tools
gitmem-cache-healthgitmem-cache-health - Compare local cache against remote Supabase (detect out-of-sync)
gitmem-cache-statusgitmem-cache-status - Show local search cache status (scar count, age, staleness)
gitmem-cdgitmem-cd (create_decision) - Log architectural/operational decision
gitmem-clgitmem-cl (create_learning) - Create scar/win/pattern. Frame as 'what we now know' — factual discovery, not self-criticism.
gitmem-cleanupgitmem-cleanup (cleanup_threads) - Triage threads by lifecycle health
gitmem-csgitmem-cs (confirm_scars) - Confirm recalled scars with APPLYING/N_A/REFUTED decisions
gitmem-ctgitmem-ct (create_thread) - Create an open thread with semantic dedup (cosine > 0.85 blocks duplicates)
gitmem-dsgitmem-ds (dismiss_suggestion) - Dismiss a suggested thread
gitmem-fbgitmem-fb (contribute_feedback) - Submit feedback about gitmem
gitmem-graphgitmem-graph (graph_traverse) - Traverse knowledge graph over institutional memory triples
gitmem-gtgitmem-gt (get_transcript) - Retrieve session transcript from storage
gitmem-healthgitmem-health (health) - Show write health for fire-and-forget operations this session
gitmem-helpgitmem-help - Show available commands with ASCII art header
gitmem-idxAlias for index_docs. Scan a directory of markdown files and index them for semantic search.
gitmem-loggitmem-log (log) - List recent learnings chronologically
gitmem-ltgitmem-lt (list_threads) - List open threads across sessions
gitmem-pcgitmem-pc (prepare_context) - Generate portable memory payload for sub-agent injection
gitmem-psgitmem-ps (promote_suggestion) - Promote a suggested thread to an open thread
gitmem-rgitmem-r (recall) - Check institutional memory for relevant scars before taking action
gitmem-rfgitmem-rf (reflect_scars) - End-of-session scar reflection (OBEYED/REFUTED with evidence)
gitmem-rsgitmem-rs (record_scar_usage) - Track scar application for effectiveness measurement
gitmem-rsbgitmem-rsb (record_scar_usage_batch) - Track multiple scars in batch (reduces latency)
gitmem-rtgitmem-rt (resolve_thread) - Mark a thread as resolved
gitmem-scgitmem-sc (session_close) - Close session. Two modes: (1) Write payload to closing-payload.json first, or (2) pass closing_reflection directly as param. Both work.
gitmem-sdAlias for search_docs. Search indexed repository documentation.
gitmem-searchgitmem-search (search) - Search institutional memory by query (exploration, no side effects)
gitmem-srgitmem-sr (session_refresh) - Refresh institutional context for the active session without creating a new session. DISPLAY: The result includes a pre-formatted 'display' field. Output the display field verbatim as your response — tool results are collapsed in the CLI.
gitmem-ssgitmem-ss (session_start) - Initialize session with institutional context. DISPLAY: The result includes a pre-formatted 'display' field. Output the display field verbatim as your response — tool results are collapsed in the CLI.
gitmem-stgitmem-st (save_transcript) - Save session transcript to storage
gitmem-stxgitmem-stx (search_transcripts) - Semantic search over transcript chunks
gm-absorbgm-absorb (absorb_observations) - Capture sub-agent observations
gm-analyzegm-analyze (analyze) - Session analytics. Returns formatted markdown by default.
gm-archivegm-archive (archive_learning) - Archive a scar/win/pattern
gm-cache-fgm-cache-f (cache_flush) - Force reload cache from Supabase
gm-cache-hgm-cache-h (cache_health) - Compare local cache against remote Supabase (detect out-of-sync)
gm-cache-sgm-cache-s (cache_status) - Show local search cache status (scar count, age, staleness)
gm-cleanupgm-cleanup (cleanup_threads) - Triage threads by health
gm-closegm-close (session_close) - Close session. Pass closing_reflection directly or write to closing-payload.json first.
gm-confirmgm-confirm (confirm_scars) - Confirm recalled scars with APPLYING/N_A/REFUTED
gm-dismissgm-dismiss (dismiss_suggestion) - Dismiss a suggested thread
gm-feedbackgm-feedback (contribute_feedback) - Submit feedback about gitmem
gm-graphgm-graph (graph_traverse) - Traverse knowledge graph
gm-healthgm-health (health) - Show write health for fire-and-forget operations
gm-loggm-log (log) - List recent learnings chronologically
gm-opengm-open (session_start) - Open a GitMem session and load institutional context. DISPLAY: The result includes a pre-formatted 'display' field. Output the display field verbatim as your response — tool results are collapsed in the CLI.
gm-pcgm-pc (prepare_context) - Generate portable memory payload for sub-agents
gm-promotegm-promote (promote_suggestion) - Promote a suggested thread
gm-reflectgm-reflect (reflect_scars) - End-of-session scar reflection
gm-refreshgm-refresh (session_refresh) - Refresh context for the active session without creating a new one. DISPLAY: The result includes a pre-formatted 'display' field. Output the display field verbatim as your response — tool results are collapsed in the CLI.
gm-resolvegm-resolve (resolve_thread) - Resolve a thread
gm-scargm-scar (create_learning) - Create a scar/win/pattern. Frame as 'what we now know' — factual discovery, not self-criticism.
gm-searchgm-search (search) - Search institutional memory by query
gm-stxgm-stx (search_transcripts) - Semantic search over transcript chunks
gm-thread-newgm-thread-new (create_thread) - Create an open thread with semantic dedup
gm-threadsgm-threads (list_threads) - List open threads
graph_traverseTraverse the knowledge graph over institutional memory triples. Answers: 'show me everything connected to this issue', 'what did this agent produce', 'trace this decision back', 'which issues produced the most learnings'. Four lenses: connected_to, produced_by, provenance, stats.
healthShow write health for the current session. Reports success/failure rates for all tracked fire-and-forget operations (metrics, cache, triple writes, embeddings, scar usage). Use this to diagnose silent failures.
index_docsScan a directory of markdown files, chunk them, embed them, and store them in a local doc index for semantic search. Supports incremental indexing: only re-processes changed files. Use search_docs to query the indexed docs.
list_threadsList open threads across recent sessions. Shows unresolved work items that carry over between sessions. Use resolve_thread to mark threads as done.
logList recent learnings chronologically (like git log). Shows scars, wins, and patterns ordered by creation date.
prepare_contextGenerate portable memory payload for sub-agent injection. Formats institutional memory into compact or gate payloads that fit in Task tool prompts.
promote_suggestionPromote a suggested thread to an open thread. Takes a suggestion_id from session_start's suggested_threads list and creates a real thread from it.
recallCheck institutional memory for relevant scars before taking action. Returns matching scars and their lessons. Integrates variant assignment when issue_id provided.
record_scar_usageTrack scar application for effectiveness measurement
record_scar_usage_batchTrack multiple scar applications in a single batch operation (reduces session close latency)
reflect_scarsEnd-of-session scar reflection — the closing counterpart to confirm_scars. Mirrors CODA-1's [Scar Reflection] protocol. Call BEFORE session_close to provide evidence of how each surfaced scar was handled. OBEYED: concrete evidence of compliance (min 15 chars). REFUTED: why it didn't apply + what was done instead (min 30 chars). Session close uses reflections to set execution_successful accurately.
resolve_threadMark an open thread as resolved. Use thread_id for exact match or text_match for fuzzy matching. Updates session state and .gitmem/threads.json.
save_transcriptSave full session transcript to storage for training data and post-mortems
searchSearch institutional memory by query. Unlike recall (which is action-oriented), search is exploration-oriented — returns matching scars/wins/patterns without side effects.
search_docsSearch indexed repository documentation using semantic similarity (pro/dev tier) or BM25 keyword search (free tier). Returns relevant chunks with file paths for targeted reading. Index docs first with index_docs.
search_transcriptsSemantic search over session transcript chunks. Generates embedding for query and calls match_transcript_chunks RPC to find relevant conversation fragments across all indexed sessions.
session_closePersist session with compliance validation. Two modes: (1) Write closing_reflection and other payload to {gitmem_dir}/closing-payload.json, then call with session_id + close_type. (2) Pass closing_reflection directly as a parameter (simpler). Both work — inline params override file payload. task_completion is auto-generated. DISPLAY: Output the display field verbatim.
session_refreshRe-surface institutional context (threads, decisions) for the current active session without creating a new session. Use mid-session when you need to remember where you left off, after context compaction, or after a long gap. DISPLAY: The result includes a pre-formatted 'display' field visible in the tool result. Output the display field verbatim as your response — tool results are collapsed in the CLI.
session_startInitialize session, detect agent, load institutional context (last session, recent decisions, open threads). Scars surface on-demand via recall(). DISPLAY: The result includes a pre-formatted 'display' field visible in the tool result. Output the display field verbatim as your response — tool results are collapsed in the CLI.
Signals
- Stars
- 9
- Forks
- 1
- Open issues
- 1
- Last commit
- Oct 5, 2026 (26 days ago)
- Last release
- Sep 23, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.gitmem-dev/gitmem- Version
- 1.2.1
- Auth
- API key
- Packages
- npm gitmem-mcp
- License
- MIT
- Repository
- github.com/gitmem-dev/gitmem
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 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 Gitmem 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
Gitmem MCP server. Agent Mart. https://agentmart.dev/connectors/gitmem-dev-gitmem (last updated 2026-10-24)