Skip to content
Agentmart
Submit a tool

Gitmem

Persistent institutional memory for AI coding agents.

Connector by gitmem-dev · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 9
Write a review

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.

Book a call

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.

We use your email only for this newsletter. Privacy

About

Persistent institutional memory for AI coding agents. Memory that compounds.

No 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_observations
  • analyze
  • get_transcript
  • gitmem-analyze
  • gitmem-cache-health
  • gitmem-cache-status
  • gitmem-health
  • gitmem-search
  • gm-analyze
  • gm-health
  • gm-search
  • health
Show 7 more tools
  • index_docs
  • list_threads
  • log
  • recall
  • search
  • search_docs
  • search_transcripts

Write 16 · Create, change, send or run things.

  • archive_learning
  • confirm_scars
  • contribute_feedback
  • create_decision
  • create_learning
  • create_thread
  • gm-archive
  • gm-close
  • gm-confirm
  • gm-resolve
  • record_scar_usage
  • record_scar_usage_batch
Show 4 more tools
  • resolve_thread
  • save_transcript
  • session_close
  • session_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_threads
  • dismiss_suggestion
  • gitmem-al
  • gitmem-ao
  • gitmem-cd
  • gitmem-cl
  • gitmem-cleanup
  • gitmem-cs
  • gitmem-ct
  • gitmem-ds
  • gitmem-fb
  • gitmem-graph
Show 41 more tools
  • gitmem-gt
  • gitmem-help
  • gitmem-idx
  • gitmem-log
  • gitmem-lt
  • gitmem-pc
  • gitmem-ps
  • gitmem-r
  • gitmem-rf
  • gitmem-rs
  • gitmem-rsb
  • gitmem-rt
  • gitmem-sc
  • gitmem-sd
  • gitmem-sr
  • gitmem-ss
  • gitmem-st
  • gitmem-stx
  • gm-absorb
  • gm-cache-f
  • gm-cache-h
  • gm-cache-s
  • gm-cleanup
  • gm-dismiss
  • gm-feedback
  • gm-graph
  • gm-log
  • gm-open
  • gm-pc
  • gm-promote
  • gm-reflect
  • gm-refresh
  • gm-scar
  • gm-stx
  • gm-thread-new
  • gm-threads
  • graph_traverse
  • prepare_context
  • promote_suggestion
  • reflect_scars
  • session_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 code
  • api.supabase.com · found in code
  • cjptxyezuxdiinufgrrm.supabase.co · found in code
  • database.new · found in code
  • esm.sh · found in code
  • github.com · found in code
  • gitmem.ai · found in code
  • gitmem.dev · found in code
  • npm.pkg.github.com · found in code
  • openrouter.ai · found in code
  • script.google.com · found in code
  • telemetry.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_observations

    Capture 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.

  • analyze

    Session analytics and insights engine. Returns formatted markdown by default. Use format=json for raw data.

  • archive_learning

    Archives 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_threads

    Triage 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_scars

    Confirm 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_feedback

    Submit 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_decision

    Log architectural/operational decision to institutional memory

  • create_learning

    Create 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_thread

    Create 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_suggestion

    Dismiss a suggested thread. Incremented dismiss count — suggestions dismissed 3+ times are permanently suppressed.

  • get_transcript

    Retrieve a session transcript from storage

  • gitmem-al

    gitmem-al (archive_learning) - Archive a scar/win/pattern (sets is_active=false)

  • gitmem-analyze

    gitmem-analyze (analyze) - Session analytics. Returns formatted markdown by default.

  • gitmem-ao

    gitmem-ao (absorb_observations) - Capture sub-agent/teammate observations

  • gitmem-cache-flush

    gitmem-cache-flush - Force reload cache from Supabase (use when out of sync)

Show 74 more tools
  • gitmem-cache-health

    gitmem-cache-health - Compare local cache against remote Supabase (detect out-of-sync)

  • gitmem-cache-status

    gitmem-cache-status - Show local search cache status (scar count, age, staleness)

  • gitmem-cd

    gitmem-cd (create_decision) - Log architectural/operational decision

  • gitmem-cl

    gitmem-cl (create_learning) - Create scar/win/pattern. Frame as 'what we now know' — factual discovery, not self-criticism.

  • gitmem-cleanup

    gitmem-cleanup (cleanup_threads) - Triage threads by lifecycle health

  • gitmem-cs

    gitmem-cs (confirm_scars) - Confirm recalled scars with APPLYING/N_A/REFUTED decisions

  • gitmem-ct

    gitmem-ct (create_thread) - Create an open thread with semantic dedup (cosine > 0.85 blocks duplicates)

  • gitmem-ds

    gitmem-ds (dismiss_suggestion) - Dismiss a suggested thread

  • gitmem-fb

    gitmem-fb (contribute_feedback) - Submit feedback about gitmem

  • gitmem-graph

    gitmem-graph (graph_traverse) - Traverse knowledge graph over institutional memory triples

  • gitmem-gt

    gitmem-gt (get_transcript) - Retrieve session transcript from storage

  • gitmem-health

    gitmem-health (health) - Show write health for fire-and-forget operations this session

  • gitmem-help

    gitmem-help - Show available commands with ASCII art header

  • gitmem-idx

    Alias for index_docs. Scan a directory of markdown files and index them for semantic search.

  • gitmem-log

    gitmem-log (log) - List recent learnings chronologically

  • gitmem-lt

    gitmem-lt (list_threads) - List open threads across sessions

  • gitmem-pc

    gitmem-pc (prepare_context) - Generate portable memory payload for sub-agent injection

  • gitmem-ps

    gitmem-ps (promote_suggestion) - Promote a suggested thread to an open thread

  • gitmem-r

    gitmem-r (recall) - Check institutional memory for relevant scars before taking action

  • gitmem-rf

    gitmem-rf (reflect_scars) - End-of-session scar reflection (OBEYED/REFUTED with evidence)

  • gitmem-rs

    gitmem-rs (record_scar_usage) - Track scar application for effectiveness measurement

  • gitmem-rsb

    gitmem-rsb (record_scar_usage_batch) - Track multiple scars in batch (reduces latency)

  • gitmem-rt

    gitmem-rt (resolve_thread) - Mark a thread as resolved

  • gitmem-sc

    gitmem-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-sd

    Alias for search_docs. Search indexed repository documentation.

  • gitmem-search

    gitmem-search (search) - Search institutional memory by query (exploration, no side effects)

  • gitmem-sr

    gitmem-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-ss

    gitmem-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-st

    gitmem-st (save_transcript) - Save session transcript to storage

  • gitmem-stx

    gitmem-stx (search_transcripts) - Semantic search over transcript chunks

  • gm-absorb

    gm-absorb (absorb_observations) - Capture sub-agent observations

  • gm-analyze

    gm-analyze (analyze) - Session analytics. Returns formatted markdown by default.

  • gm-archive

    gm-archive (archive_learning) - Archive a scar/win/pattern

  • gm-cache-f

    gm-cache-f (cache_flush) - Force reload cache from Supabase

  • gm-cache-h

    gm-cache-h (cache_health) - Compare local cache against remote Supabase (detect out-of-sync)

  • gm-cache-s

    gm-cache-s (cache_status) - Show local search cache status (scar count, age, staleness)

  • gm-cleanup

    gm-cleanup (cleanup_threads) - Triage threads by health

  • gm-close

    gm-close (session_close) - Close session. Pass closing_reflection directly or write to closing-payload.json first.

  • gm-confirm

    gm-confirm (confirm_scars) - Confirm recalled scars with APPLYING/N_A/REFUTED

  • gm-dismiss

    gm-dismiss (dismiss_suggestion) - Dismiss a suggested thread

  • gm-feedback

    gm-feedback (contribute_feedback) - Submit feedback about gitmem

  • gm-graph

    gm-graph (graph_traverse) - Traverse knowledge graph

  • gm-health

    gm-health (health) - Show write health for fire-and-forget operations

  • gm-log

    gm-log (log) - List recent learnings chronologically

  • gm-open

    gm-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-pc

    gm-pc (prepare_context) - Generate portable memory payload for sub-agents

  • gm-promote

    gm-promote (promote_suggestion) - Promote a suggested thread

  • gm-reflect

    gm-reflect (reflect_scars) - End-of-session scar reflection

  • gm-refresh

    gm-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-resolve

    gm-resolve (resolve_thread) - Resolve a thread

  • gm-scar

    gm-scar (create_learning) - Create a scar/win/pattern. Frame as 'what we now know' — factual discovery, not self-criticism.

  • gm-search

    gm-search (search) - Search institutional memory by query

  • gm-stx

    gm-stx (search_transcripts) - Semantic search over transcript chunks

  • gm-thread-new

    gm-thread-new (create_thread) - Create an open thread with semantic dedup

  • gm-threads

    gm-threads (list_threads) - List open threads

  • graph_traverse

    Traverse 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.

  • health

    Show 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_docs

    Scan 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_threads

    List open threads across recent sessions. Shows unresolved work items that carry over between sessions. Use resolve_thread to mark threads as done.

  • log

    List recent learnings chronologically (like git log). Shows scars, wins, and patterns ordered by creation date.

  • prepare_context

    Generate portable memory payload for sub-agent injection. Formats institutional memory into compact or gate payloads that fit in Task tool prompts.

  • promote_suggestion

    Promote 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.

  • recall

    Check institutional memory for relevant scars before taking action. Returns matching scars and their lessons. Integrates variant assignment when issue_id provided.

  • record_scar_usage

    Track scar application for effectiveness measurement

  • record_scar_usage_batch

    Track multiple scar applications in a single batch operation (reduces session close latency)

  • reflect_scars

    End-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_thread

    Mark 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_transcript

    Save full session transcript to storage for training data and post-mortems

  • search

    Search institutional memory by query. Unlike recall (which is action-oriented), search is exploration-oriented — returns matching scars/wins/patterns without side effects.

  • search_docs

    Search 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_transcripts

    Semantic 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_close

    Persist 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_refresh

    Re-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_start

    Initialize 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
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.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying Gitmem?

CallGet help
Cite this page

Gitmem MCP server. Agent Mart. https://agentmart.dev/connectors/gitmem-dev-gitmem (last updated 2026-10-24)