Dsh Macro Memory
MCP server by hanhan9999999999999999999 Verified · npm:dsh-macro-memory
Gives AI agents a local memory layer through eight memory_* MCP tools. It stores, searches and explains recalled notes in one SQLite library that can be shared across hosts. Aimed at developers who use Codex, Claude Code, Cursor or other MCP clients.
Install Dsh Macro Memory
Built from the published package, never by AI.
claude mcp add dsh-macro-memory -- npx -y dsh-macro-memoryRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"dsh-macro-memory": {
"args": [
"-y",
"dsh-macro-memory"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"dsh-macro-memory": {
"args": [
"-y",
"dsh-macro-memory"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"dsh-macro-memory": {
"args": [
"-y",
"dsh-macro-memory"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add dsh-macro-memory -- npx -y dsh-macro-memory{
"mcpServers": {
"dsh-macro-memory": {
"args": [
"-y",
"dsh-macro-memory"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add dsh-macro-memory npx -y dsh-macro-memoryGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 dsh-macro-memory block.
About
Macro Memory is a local memory layer for AI agents. It exposes eight memory_* tools over MCP for storing, searching, reading, updating, linking and summarizing notes kept in one library. Retrieval is local keyword scoring, optionally extended through a graph index. Each turn is logged with the items that were included or dropped and the reason for each drop. The library is a local SQLite file with no upload and no network calls, and the same library is used by whichever host connects to it.
It is aimed at developers who use Codex, Claude Code, Cursor or another MCP host and want one memory store across them. The server runs through npx or as a single binary. The npm route needs Node.js 24 or later. The source reports 2.9 ms median retrieval on a 1,200-entry library, measured on one Windows 11 machine. The graph index can be deleted and rebuilt, and snapshots are taken before work starts.
Written from the project's README and checked against it.
Tools it gives your assistant
memory_rememberSaves a note with level, project, keywords and importance. Repeated text is merged automatically.memory_searchSearches memories with local scoring and graph expansion. Modes include graph, bridge and similar.memory_readReads a memory in full and can include its neighbors, with a budget option.memory_updateChanges content, status or keywords. Supports patch, append and restore to the previous version.memory_linkAdds manual links, explains the path between two memories and mutes wrong automatic edges.memory_projectShows a project overview, structure, decisions, quotes, ops and todo items.memory_dreamOrganizes the current window by sealing its memories into cross-session memory.memory_adminRuns an operations panel covering library location, health checks, sources, costs and snapshots.
What you need
- Node.js 24 or later for the npx and npm routes
- Windows, macOS or Linux
- An MCP-capable host such as Codex, Claude Code or Cursor
- Optional: a local embedding or reranker model for better Chinese recall
Try asking
- Remember that the staging proxy must be cleared before pushing to git.
- Search my memory for what we decided about the API port and path.
- Show the project overview and open todo items for my-plugins.
Good to know
- The 146-item evaluation set was built by the author, and no public leaderboard was run.
- The private flag does not work as a permission system. Some views and dream organization do not yet apply it.
- MCP hosts have no session start or end callbacks, so dream and snapshots run manually or on a schedule.
- Recall for rephrased questions only works for terms that were already written into the library.
Security check
ANo 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 Dsh Macro Memory
All alternatives →Connects a Zotero research library to AI assistants such as Claude and ChatGPT through the Model Context Protocol. It lets the assistant search, read, annotate and add papers, in local mode or through the web API. Built for researchers who want their references available in chat.
AgentDB is a vector memory database for AI agents. It stores embeddings, indexes and learning state in one file and exposes 41 MCP tools to clients such as Claude Code, Cursor and Cline.
Genkitx MCP is listed as a Genkit plugin for Model Context Protocol interoperability. The source is the main Genkit framework README and does not describe this plugin, so its features cannot be confirmed.
QMD is an on-device search engine for markdown notes, meeting transcripts and documentation. It combines BM25 keyword search, vector search and LLM reranking, and exposes an MCP server for AI assistants.
RuVector is a Rust native vector database that gives AI agents persistent memory and local semantic retrieval. Its npm package includes an MCP server for MCP compatible clients, and it suits developers building agent memory in Node.js, Python, or Rust.
Gives AI coding agents persistent memory, so each new session starts where the last one left off. Works with Claude Code, Codex, Cursor, OpenCode and 11 more agents.
Compare with Zotero MCP, Agentdb or Genkitx MCP
Dsh Macro Memory: common questions
Does Macro Memory send my data anywhere?
The source says the data is a local SQLite library with no upload and no network connection. It is stored in a platform data directory.
Which AI clients can use it?
Any MCP host can connect, and the source names Codex, Claude Code and Cursor. All connected hosts read the same library.
Does it work well with Chinese text?
The source supports Chinese retrieval. It reports hit@1 of 0.4886 on the free part of LoCoMo with a cross-encoder reranker, and lower scores with lexical search alone.
How do I install Dsh Macro Memory?
In Claude Code run claude mcp add dsh-macro-memory -- npx -y dsh-macro-memory. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Dsh Macro Memory the official server?
Dsh Macro Memory is published by npm:dsh-macro-memory from its verified domain in the official MCP Registry.
Is Dsh Macro Memory free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Dsh Macro Memory 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 Dsh Macro Memory?
Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.
Does Dsh Macro Memory 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.
