Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Agent Memory Hub

MCP server by zhiwuli0228 Verified · npm:agent-memory-hub

Agent Memory Hub gives AI coding agents a shared, local long-term memory stored as plain Markdown files. Agents propose memories, and a human approves them before they are saved. It is for developers who use several agents such as Claude Code, Codex and opencode.

  • Score 88
  • 0 stars
  • 8.3k a week
  • MIT
  • Updated

Install Agent Memory Hub

Built from the published package, never by AI.

claude mcp add agent-memory-hub -- npx -y agent-memory-hub

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Agent Memory Hub in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the agent-memory-hub block.

About

Agent Memory Hub is a memory bridge for AI coding agents. It runs as one local service that Claude Code, Codex, opencode, gemini-cli and DSH can share through MCP or a shell. Memory is stored in plain Markdown files with YAML frontmatter and a JSONL ledger, organized into project, domain and global layers.

Agents can only propose memories, and a human must approve them before they are committed. Each stored fact records who approved it, when, and from which conversation. The source says the runtime makes no network calls by default and that scheduled distillation can turn recent events into a review batch. It is aimed at developers who want file-based, auditable memory shared across several AI coding agents. The project is under active development.

Written from the project's README and checked against it.

Tools it gives your assistant

  • memory_searchSearches stored memory across the project, domain and global layers.
  • memory_getGets a stored memory entry.
  • memory_statusReports the status of the memory hub.
  • memory_proposeProposes a new memory that a human must approve before it is saved.
  • memory_preflightListed as a preflight tool. The source gives no further detail.
  • memory_citeListed as a citation tool. The source gives no further detail.
  • memory_close-taskListed as a task-closing tool. The source gives no further detail.
  • memory_dejavuListed as a tool for repeated content. The source gives no further detail.
  • memory_distillRuns distillation, which turns recent events into a review batch.

What you need

  • DSH (DeepSeek Harness) for the plugin install
  • Node.js with npm for the CLI and MCP server
  • A local directory for the memory root

Try asking

  • Propose a memory for this decision so I can approve it later.
  • Search my memory hub for notes about the database migration.
  • Show the status of my memory hub for this project.

Good to know

  • Under active development; the first stable release targets 0.1.0.
  • Roadmap steps for core storage, transport and the dashboard are still listed as pending.
  • Only non-DSH hosts need the memhub CLI.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Agent Memory Hub

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

Agent Memory Hub: common questions

Does Agent Memory Hub need a cloud account?

No. The source says no cloud is required, memory lives in local files you own, and the runtime is zero-network by default.

Can agents save memories without approval?

No. Agents can propose memories, but only a human can commit them, and the source says agents never self-commit.

Is Agent Memory Hub stable yet?

The source says it is under active development. The stable edition of the same format is dsh-memory-hub for DSH.

How do I install Agent Memory Hub?

In Claude Code run claude mcp add agent-memory-hub -- npx -y agent-memory-hub. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Agent Memory Hub the official server?

Agent Memory Hub is published by npm:agent-memory-hub from its verified domain in the official MCP Registry.

Is Agent Memory Hub free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Agent Memory Hub safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Agent Memory Hub?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does Agent Memory Hub work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Agent Memory Hub Install

Add to stack

Loading.