N2n Memory — AI skill for Claude Code
Project-local MCP memory server for AI coding agents.
How to install N2n Memory
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open n2ns/n2n-memory and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What N2n Memory does
Project-local MCP memory server for AI coding agents. Knowledge graph stored in .mcp/ inside each repo — isolated per project, Git-friendly JSON, dual-buffer (durable graph + active context).
Alternatives in AI
- Wiki Graph — Build the LLM Wiki knowledge graph 2.3k ★
- Late CLI — High-performance AI agent for long-horizon tasks and local models 442 ★
- Clodpod — Run AI agents isolated inside an macOS virtual machine 190 ★
README
n2n-memory
Project-local knowledge-graph memory MCP server from N2NS Lab for AI coding agents.
[](https://www.npmjs.com/package/n2n-memory) [](https://www.npmjs.com/package/n2n-memory) [](https://github.com/n2ns/n2n-memory/blob/main/LICENSE) [](https://modelcontextprotocol.io) [](https://nodejs.org)
[中文版](./docs/README_zh.md)
**Context as code. Memory as asset.**
n2n-memory is an open-source, local-first Model Context Protocol (MCP) memory server for AI coding assistants. It prevents cross-project memory pollution by storing durable project knowledge in `.mcp/memory.json` and active task context in `.mcp/context.json` inside each repository.
📚 Contents
💡 What is n2n-memory?
n2n-memory gives AI coding tools a project-local knowledge graph they can read and update through MCP. Memory and context are stored inside each repository under `.mcp/`, keeping them isolated, Git-friendly, and reviewable.
- Restore project context at the start of an AI coding session.
- Preserve architecture decisions, implementation notes, and known pitfalls.
- Share durable project memory with teammates through Git.
- Keep memory isolated per repository when working across many projects.
🚀 Quick start
1. Configure your MCP client
Claude Desktop
File Path: `%APPDATA%\Claude\claude_desktop_config.json`
{
"mcpServers": {
"n2n-memor
Related Skills
Tsubasa
Your engineering captain: a repo-resident AI persona with a knowledge graph stored in git. Agents cite inciden
Clawd Agent OS
Orchestrate 50+ Claude agents in tiered hierarchies: git-worktree-isolated fleet spawning, a durable agent bus
Deeptutor Claude Skill
Claude Code skill adapting DeepTutor's graph-enhanced RAG tutoring methodology. Knowledge graphs, dual-loop so
Counterfoil
Keeps AI coding work tied to the right project and records exactly what context each model launch was given. O
Codetospec
Turn a legacy codebase into a verifiable, versionable knowledge graph of its business rules — LLM map/reduce i
Agen Link
Run an AI coding CLI (Claude Code or Google Antigravity) inside the Unity Editor, with a live MCP bridge to th
Related Agents
Act 5 Observer
Read-only narrative steward for Act V (slides 19-21) — the Observer agent demo that proves durable tool-call r
Backend RAG Specialist
Use for isolated server-side API, retrieval, and knowledge-base work in server/, especially route behavior, se
Oficial De Seguranca
Workbench security with dual role — (a) AUDITS every external dep/repo/AI brought by the Recruiter before adop