Skip to content
Agentmart
Submit a tool

remem-mcp — Local-first MCP Memory + CodeGraph + Wiki

Local-first memory for AI coding agents.

Connector by tinhien11 · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 9
Write a review

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/tinhien11-remem-mcp

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

Local-first memory for AI coding agents. Memory + CodeGraph + Wiki in one SQLite file.

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 26, 2026.

Runs code on install

Its package runs an install script (such as npm postinstall or setup.py code) as soon as you install it, before any tool is called. Read the script first.

Tools
25 read · 17 write · 2 delete · 4 not yet classified
Secrets
None asked for
Install scripts
Runs code on install
Runs as
Node.js package

Tools by what they do 48

Read from the source code; the running server may list different tools.

Read 25 · Look things up without changing anything.

  • canvas_get
  • codegraph_callees
  • codegraph_callers
  • codegraph_detect_changes
  • codegraph_entry_points
  • codegraph_list
  • codegraph_search
  • codegraph_stats
  • consolidate
  • correction_kpis
  • explain_recall
  • health
Show 13 more tools
  • knowledge_get
  • knowledge_list
  • recall
  • ref_read
  • related
  • search
  • skill_get
  • skill_list
  • skill_search
  • stats
  • wiki_get
  • wiki_outdated
  • wiki_search

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

  • adr
  • confirm
  • correct
  • feedback
  • handoff
  • knowledge_create
  • persona_update
  • record_outcome
  • resolve
  • scenario_create
  • session_checkpoint
  • session_end
Show 5 more tools
  • session_start
  • skill_archive
  • skill_create
  • supersede
  • update

Delete 2 · Delete, drop, revoke or wipe things.

  • forget
  • knowledge_delete

Not yet classified 4 · We could not tell from the name and description.

  • capture
  • codegraph_impact
  • codegraph_index
  • wiki_ingest

Network hosts it talks to 6

  • api.openai.com · found in code
  • biomejs.dev · found in code
  • fonts.googleapis.com · found in code
  • fonts.gstatic.com · found in code
  • github.com · found in code
  • huggingface.co · found in code

Files it touches

  • /dev/null
  • /tmp/amb-bench.db
  • /tmp/amb-repo
  • /tmp/amb-results
  • /tmp/bench-judge
  • /tmp/bench-loop-logs
  • /tmp/bench-loop-prompt.md
  • /tmp/bench-parallel
  • /tmp/bench-unified
  • /tmp/bug-hunt
  • /tmp/cdp-screenshot.mjs
  • /tmp/concat-frames.txt
  • /tmp/demo-frames
  • /tmp/dogfood-auto-global.db
  • /tmp/locomo-bench
  • /tmp/locomo-bench/results.json
  • /tmp/locomo/data/locomo10.json
  • /tmp/longmemeval
  • /tmp/longmemeval-loop-logs
  • /tmp/longmemeval-loop-prompt.md
  • /tmp/longmemeval/longmemeval-bench.ts
  • /tmp/longmemeval/results.json
  • /tmp/mem0-bench-results
  • /tmp/memory-benchmarks
  • /tmp/personamem
  • /tmp/remem-bench/http.db
  • /tmp/remem-bench/locomo.db
  • /tmp/remem-bench/longmemeval.db
  • /tmp/remem-bench/memory.db
  • /tmp/remem-bench/personamem.db
  • /tmp/remem-dogfood
  • /tmp/remem-dogfood-codex
  • /tmp/remem-handoff-3session/memory.db
  • /tmp/remem-http-server.js
  • /tmp/remem-react-demo/memory.db
  • /tmp/remem-verify-global.db
  • /tmp/remem-worktrees
  • /tmp/screenshot.png
  • /tmp/test-project
  • /Users/dev/react

Tools (48)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • adr

    Record an Architecture Decision Record (ADR). Use this tool when you make a technical decision that future agents should know about. The ADR is stored as a structured capture and can be recalled by any agent working on the same project.

  • canvas_get

    Get the Mermaid task canvas for the current session. The canvas is a symbolic graph of tool calls and state transitions — it replaces verbose tool logs in your context with a compact Mermaid diagram. Use this to see the task structure without re-reading full tool outputs. Requires REMEM_OFFLOAD_ENABLED=true and pipeline=mermaid.

  • capture

    Store a decision, a learning, or a task outcome to memory. Call this tool after you complete a non-trivial task, make a decision, or fix a bug with a known root cause. You can capture a single text string, or a list of role-based conversation messages. Captures are project-local by default. Write to global memory ONLY when the user explicitly asks to remember something across projects/globally; then pass session_key="global".

  • codegraph_callees

    Find all callees of a symbol — what does this function call? Returns the called functions with file paths and line numbers. Requires the symbol ID from codegraph_search.

  • codegraph_callers

    Find all callers of a symbol — who calls this function? Returns the calling functions with file paths and line numbers. Requires the symbol ID from codegraph_search.

  • codegraph_detect_changes

    Detect uncommitted git changes and map them to affected symbols with blast radius. Runs `git diff --name-only` to find changed files, finds symbols in those files, then traces callers to determine impact. Returns affected symbols + risk classification.

  • codegraph_entry_points

    Find entry points in the codebase — main functions, HTTP handlers, CLI commands, event handlers. An entry point is called by external infrastructure (HTTP server, CLI framework, event loop) rather than by other code. Inspired by codegraph-ai's find_entry_points.

  • codegraph_impact

    Perform impact analysis: if I change this symbol, what else might be affected? Traverses the call graph upward (callers of callers) to find all potentially impacted code. Requires the symbol ID from codegraph_search.

  • codegraph_index

    Index a file or directory into the code graph. Extracts symbols (functions, classes, methods), call relationships, and imports. Supports TypeScript, JavaScript, Python, Go, Rust, Java, C, C++, C#. Note: codegraph_search auto-indexes on first use, so you only need this for explicit re-indexing or custom paths.

  • codegraph_list

    List all symbols in a file or directory. Returns symbols sorted by line number. Use this to get an overview of what a file contains.

  • codegraph_search

    Search for code symbols by name. Returns matching functions, classes, methods, etc. with file paths and line numbers. Use this INSTEAD of grep when looking for function/class/method definitions. If the codebase hasn't been indexed yet, this starts background indexing and asks you to retry in a few seconds — non-blocking, so you can continue working while indexing runs.

  • codegraph_stats

    Return indexed CodeGraph statistics: total symbols, calls, resolved calls, imports, and file counts. Optionally scoped to a repo_path. Use this to check indexing coverage before searching.

  • confirm

    Confirm that a memory is accurate. Increments the Bayesian confirmation count, raising its confidence score in future searches. Use when a recalled memory proved helpful and correct.

  • consolidate

    Find and merge duplicate or near-duplicate memories. Use this when you suspect redundant captures (e.g. same decision captured twice). Returns groups of similar captures. Set confirm=true to merge them. Use batch_size to limit how many captures are processed in one call (cost control).

  • correct

    Mark a memory as inaccurate or outdated. Increments the Bayesian correction count, lowering its confidence score in future searches. Use when a recalled memory was wrong, misleading, or superseded by newer information.

Show 33 more tools
  • correction_kpis

    Get correction learning metrics: total corrections, average precision, heed rate, noise candidates (precision < 0.3), and high-signal candidates (precision >= 0.8). Use this to evaluate memory quality and identify unhelpful corrections to prune.

  • explain_recall

    Explain WHY a memory was recalled for a given query. Shows the BM25 score, vector score, RRF fused score, rank, and matching keywords for each result. Use this to debug unexpected recall results or to understand the retrieval pipeline. If you provide a capture_id, the tool explains why that specific capture was or was not retrieved.

  • feedback

    Record a quality signal for a recalled memory. Call this AFTER using a recall result: use 'helpful' if the memory answered your question, 'not_helpful' if it was irrelevant, 'stale' if the information is outdated, or 'wrong' if it is incorrect. This creates a feedback flywheel — useful memories rise, unhelpful ones fade. Do not call this for memories you have not actually used.

  • forget

    Delete specific memory entries. Use this tool only when the user requests a deletion. Do not auto-forget.

  • handoff

    Write a structured handoff packet for the next agent session. Call this tool at the end of a session, or before you switch to a different agent. The next agent calls recall to load this packet and continue without re-reading files. This saves 60-85% of tokens compared to re-discovering context.

  • health

    Diagnose memory server health: DB integrity, index status, capture count, schema version, embedding model.

  • knowledge_create

    Register a knowledge asset (wiki or code-graph) for the team. The asset metadata is stored locally. The actual content is processed by an external knowledge service.

  • knowledge_delete

    Delete one or more knowledge assets by ID.

  • knowledge_get

    Get a single knowledge asset by ID.

  • knowledge_list

    List knowledge assets for a team. Optionally filter by type.

  • persona_update

    Update the L3 persona profile for this user/team. Call this when you notice a user preference or pattern (e.g., 'prefers concise output', 'works in Vietnamese', 'uses AZR project'). Persona is injected at SessionStart — every session gets it automatically in ~50 tokens. No LLM needed — you write the trait/value yourself.

  • recall

    Retrieve relevant past memory. Call this tool before you answer the user. Use it when the user references past work or when the task needs project context. Automatically searches both project memory and global cross-project memory (rules, learnings) when REMEM_GLOBAL_SESSION_KEY is configured.

  • record_outcome

    Record whether a correction was heeded (agent followed the advice) or recurred (same error happened again). This tracks correction effectiveness over time. Call after applying a correction to a recalled memory.

  • ref_read

    Read the raw tool output for a specific canvas node by node_id. Use this to drill down from the Mermaid canvas to the full output when you need details. Requires REMEM_OFFLOAD_ENABLED=true and pipeline=mermaid.

  • related

    Find memories connected to a given memory by shared tags, project, or co-occurrence. Use this after recall or search to discover related context you might have missed. Inspired by graph spreading-activation (Mnema pattern).

  • resolve

    Resolve a conflict between two captures. Mark one as the winner and the other as stale. Call this tool when capture reports a conflict between two memories.

  • scenario_create

    Consolidate multiple L1 atoms into an L2 scenario summary. Call this when you have 5+ atoms about the same topic — it creates a high-signal summary that recall injects in ~100 tokens instead of 5+ individual atoms. No LLM needed — you write the summary yourself based on the atoms you've seen.

  • search

    Search memory by keyword or by semantic similarity. Use this tool when recall is too broad and you need specific facts. Automatically searches both project and global cross-project memory when REMEM_GLOBAL_SESSION_KEY is configured.

  • session_checkpoint

    Create a checkpoint of the current session state. Returns a checkpoint ID that can be used to resume later. Stores recent captures as a named snapshot.

  • session_end

    Close a session and optionally capture a summary. Call this at the end of a conversation to record what was accomplished.

  • session_start

    Open a session and return recent context. Call this at the start of a multi-turn conversation to get a summary of recent captures and correction alignment metrics. Returns both project-specific and global cross-project memory when configured.

  • skill_archive

    Archive a skill — forces it to always be injected into recall, even when the query doesn't strongly match. Use this for critical SOPs that must always be available.

  • skill_create

    Create a reusable skill (SOP) from a successful task or conversation. Skills are injected into recall when matching trigger conditions are met. Use this after completing a non-trivial task to capture the workflow for reuse.

  • skill_get

    Get a single skill by ID, including its full content and version.

  • skill_list

    List skills bound to a team. Optionally filter by agent.

  • skill_search

    Search skills by keyword. Returns matching skills with descriptions.

  • stats

    Query memory statistics: total captures, breakdown by type, top tags, session count, date range, and database size. Use this to understand memory health and coverage. No arguments needed — returns a summary.

  • supersede

    Mark an old memory as superseded by a newer one. The old memory's superseded_by field is set, and it will be filtered out of search results (unless explicitly requested). Use when a fact has changed (e.g. 'database is MySQL' → 'database is PostgreSQL').

  • update

    Update an existing memory entry. Use this when a capture needs corrections (wrong info, missing tags, needs rewording). Preserves the original ID and created_at.

  • wiki_get

    Get a wiki page by ID, including its links and backlinks. Use this to read a specific page and see what it links to and what links to it.

  • wiki_ingest

    Ingest markdown documentation files into the wiki. Parses frontmatter, headings, [[wikilinks]], and [text](url) links to build a structured page graph. Supports .md and .markdown files.

  • wiki_outdated

    Find wiki pages whose source file has changed since the last ingest. Returns pages that need re-ingesting because the source markdown was modified or deleted.

  • wiki_search

    Search wiki pages by content. Returns matching pages with title, file path, and a snippet. Use this to find documentation relevant to a topic.

Signals

Stars
9
Forks
1
Open issues
0
Last commit
Sep 18, 2026 (1 month ago)
Last release
Sep 18, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

Registry name
io.github.tinhien11/remem-mcp
Version
0.5.18
Auth
No auth
Packages
npm remem-mcp
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026
Cite this page

remem-mcp — Local-first MCP Memory + CodeGraph + Wiki. Agent Mart. https://agentmart.dev/connectors/tinhien11-remem-mcp (last updated 2026-10-24)