Persistent memory layer for AI coding agents β your agent remembers what you taught it.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Auto-captured, auto-recalled, path-scoped memory for AI coding agents and teams.
Website: https://aide-memory.dev
Docs: https://aide-memory.dev/docs
Install: npm install -g aide-memory && aide-memory init
Coding with agents has made developers significantly more productive. But it's created a new kind of friction.
You explain how the feature you're building ties into the rest of the system, the way you like to structure your code, the patterns to follow in this area. The agent gets it. You ship great work together. Next session, it's a blank slate. You re-explain the same things.
Critical decisions being made during conversations aren't being captured. Preferences, corrections, area knowledge, guidelines. So much valuable context doesn't persist, doesn't flow to the next session, to a different tool, or to a teammate's agent when they pick up work in the same area.
Rules files (CLAUDE.md, .cursorrules) help, but they have real limits:
aide-memory fills these gaps. It sits alongside your rules files, not above or below. Rules files for static, always-on guidance. aide-memory for the dynamic, scoped knowledge that grows with the codebase.
Six hooks fire across the session lifecycle, installed by aide-memory init:
Memories attach to code areas via glob scopes (src/components/dashboard/**, packages/api/**). When the agent opens a file, aide-memory matches the path against stored scopes and surfaces what's relevant to that area.
Four layers organize the knowledge:
| Layer | What it captures | Example |
|---|---|---|
| preferences | How a contributor likes to work | "Prefer modular component structure, separate concerns into smaller files" |
| technical | Facts not obvious from code | "Dashboard data fetching uses React Query with stale-while-revalidate" |
| area_context | Decisions tied to code areas | "Settings panel uses progressive disclosure; new sections follow the expand/collapse pattern" |
| guidelines | Team-wide principles | "Mock external calls at the network boundary in tests, not at the function boundary" |
Recall ranks area_context first (most specific), then technical, then preferences, then guidelines. Scoped memories rank above project-wide ones.
Memories are JSON files under .aide/memories/. Commit, push, pull. A post-checkout git hook rebuilds the local cache after git pull so your teammate's agent picks up your context on their next file read. Personal preferences (preferences/personal/) are gitignored. Team conventions travel with the repo.
Claude Code and Cursor read the same .aide/memories/ directory. A memory captured in one tool is available in the other. Codex, Copilot, and Windsurf get a rules template at launch; deeper integration may come based on user feedback.
Full walkthrough: https://aide-memory.dev/docs/quick-start
aide_recall, aide_remember, aide_update, aide_forget, aide_search, aide_memories, aide_importinit, recall, remember, update, forget, search, list, stats, recall-log, config, sync, migrate, cleanupinitaide-memory ships with defaults you can adjust:
aide-memory init seeds .aide/config.json with all public settings. Full reference: https://aide-memory.dev/docs/configuration
Memory content stays on your machine. Anonymized usage counts (event type, hashed machine ID, platform, Node version) ship to PostHog by default so we can see which features are used. Disable with AIDE_TELEMETRY=off.
| Editor | Status |
|---|---|
| Claude Code | Reference adapter. Start a fresh session after init so the MCP server registers. |
| Cursor | Full hook + MCP wiring. Cmd+Q and reopen after init, then toggle aide-memory ON in Settings > MCP. |
| Windsurf, Codex, Copilot | Rules template at launch. Deeper integration may come based on user feedback. |
Per-editor details: https://aide-memory.dev/docs/supported-editors
No Docker. No external databases. No API keys. No cloud accounts.
Free to use. See LICENSE for terms.
Full docs: https://aide-memory.dev
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/aide-memory)<a href="https://allmcps.com/mcp/aide-memory"><img src="https://allmcps.com/api/badge/aide-memory?style=directory" alt="Aide Memory on AllMCPs" /></a>