MegaMemory
MegaMemory is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Persistent project knowledge graph for coding agents. It has 712 GitHub stars, is released under the MIT license and runs locally with npx -y megamemory.
- AI & search
- MIT
- Maintained
Install MegaMemory
Generated from the server's published package. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"megamemory": {
"command": "npx",
"args": [
"-y",
"megamemory"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio megamemory -- npx -y megamemoryCursor
{
"mcpServers": {
"megamemory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"megamemory"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"megamemory": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"megamemory"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Tools (9)
Parsed from the Tools section of the README; check the repository for the current list.
understandSemantic search over the knowledge graph. Returns matched concepts with children, edges, and parent context.
get_conceptLook up a concept by its exact ID. Returns full context including children, edges, incoming edges, and parent.
create_conceptAdd a new concept with optional edges and file references.
update_conceptUpdate fields on an existing concept. Regenerates embeddings automatically.
linkCreate a typed relationship between two concepts.
remove_conceptSoft-delete a concept with a reason. History preserved.
list_rootsList all top-level concepts with direct children.
list_conflictsList unresolved merge conflicts grouped by merge group.
resolve_conflictResolve a merge conflict by providing verified, correct content based on the current codebase.
About MegaMemory
Persistent project knowledge graph for coding agents. An MCP server that lets your coding agent build and query a graph of concepts, architecture, and decisions — so it remembers across sessions.
- ai
- coding-agent
- embeddings
- knowledge-graph
- llm
- mcp
- mcp-server
- sqlite
- typescript
- agentic-coding
Similar MCP servers
More ai & search MCP servers
Context7
upstash/context7
Up-to-date code docs for any prompt.
AI & searchTypeScriptFunASR
modelscope/FunASR
Transcribe local audio with FunASR and SenseVoice using private, on-device inference.
AI & searchPythonBifrost
maximhq/bifrost
Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS.
AI & searchGoHoncho
plastic-labs/honcho
Memory that reasons: continual learning for stateful agents.
AI & searchPythonSemble
MinishLab/semble
Fast and Accurate Code Search for Agents.
AI & searchPythonExa
exa-labs/exa-mcp-server
Connect AI agents to Exa for web search, content fetching, and multi-step research.
OfficialAI & searchTypeScript
What is MegaMemory?
MegaMemory is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Persistent project knowledge graph for coding agents. It has 712 GitHub stars, is released under the MIT license and runs locally with npx -y megamemory. The source code is at github.com/0xK3vin/MegaMemory.
How do I install the MegaMemory MCP server?
Add the command npx -y megamemory to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is MegaMemory free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is MegaMemory actively maintained?
The most recent commit was on May 3, 2026. The latest release is v1.6.2, published May 3, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.