Skip to main content
skill

agent-memory-mcp — Claude Code skill: persistent agent memory over MCP

This skill runs an MCP server that gives your agent long-term memory: it stores decisions, architecture notes and patterns, then finds them again by search.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --skill ai-research/agent-memory-mcp
Open on GitHub

What agent-memory-mcp does

The skill stands up an MCP server so the agent can read, write and search long-term memories. Four tools come with it. memory_search looks things up by query, type or tags; memory_write stores a new entry; memory_read pulls one back by key; memory_stats reports how the memory bank is being used. Entries carry a type, so architecture, patterns and decisions stay apart.

Setup is manual, from the repository. Clone agentMemory into the agent workspace, then run npm install and npm run compile inside the skill folder. The server starts with npm run start-server <project_id> <absolute_path_to_target_workspace>, for instance npm run start-server my-project $(pwd). Node.js 18 or newer is required.

A standalone dashboard ships alongside: npm run start-dashboard <absolute_path_to_target_workspace>, reachable at http://localhost:3333. That port is fixed, so anything else already listening on 3333 will keep the dashboard from coming up.

What it helps with

  • keep an architecture decision around after the session ends
  • list every stored pattern that mentions authentication
  • fetch one decision by its key instead of re-explaining it
  • see how much memory has accumulated and how it is used
  • organise project knowledge by type and tag

Example prompts for the agent

  • Find all authentication patterns in the project memory
  • Save this architecture decision under the key auth-v1
  • Show me the memory statistics

How to install agent-memory-mcp

1claude-code-templates

npx claude-code-templates@latest --skill ai-research/agent-memory-mcp

2Skills CLI (Vercel)

npx skills add davila7/claude-code-templates --skill agent-memory-mcp -a claude-code

3Manually: put the files in place

~/.claude/skills/agent-memory-mcp/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/agent-memory-mcp/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about agent-memory-mcp

How do I install agent-memory-mcp in Claude Code?

Clone the project first: git clone https://github.com/webzler/agentMemory.git .agent/skills/agent-memory. Then move into the skill folder and run npm install followed by npm run compile. Finally start the server with npm run start-server <project_id> <absolute_path_to_target_workspace>.

What does agent-memory-mcp do?

It runs an MCP server that holds long-term memory for the agent. Through memory_search, memory_write, memory_read and memory_stats the agent can look up, record and retrieve entries about architecture, patterns and decisions.

What does the skill need to run?

Node.js 18 or newer. The server is started from the cloned skill folder, and the dashboard listens on http://localhost:3333.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set495

The whole set →
core-web-vitals This skill examines LCP, INP, and CLS and suggests code changes for loading, responsiveness, and layout stability. Use it when diagnosing weak page metrics. 315installs context-window-management A skill for handling LLM context windows: summarization, trimming, routing and fighting context rot. Useful when a long dialogue runs into the token limit. 309installs documentation-templates This skill provides outlines and templates for READMEs, API references, code comments, and project records. Use it when starting documentation or bringing existing pages into a clearer structure. 305installs unity-project-setup Scaffolds a standardized Unity project with structured Assets directories, URP configs, core C# managers, and Git LFS tracking via Claude Code. 303installs setup-visual-testing A slash command that wires up visual regression testing: component and page snapshots, responsive breakpoints, accessibility checks. 300installs web-quality-audit This skill reviews a project for performance, accessibility, SEO, and web best practices. Use it to find issues and get prioritized fixes with code examples. 294installs java-mcp-expert A subagent for building MCP servers in Java with the official SDK, Project Reactor and Spring Boot. Useful when you need tools, resources and prompts wired up. 291installs decision-tree-explorer Maps complex decision trees with probability scoring, expected value calculations, and risk modeling. Useful for sizing investments, operational pivots, or crisis responses. 291installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor