vibe-memory
Provides persistent memory and AST code intelligence for OpenAI Codex, enabling handoff snapshots, architectural decision recall, and token-efficient symbol queries across sessions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vibe-memoryRemind me what bugs we discovered in the auth module."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π§ Vibe Memory
Universal Long-Term Memory & Codebase AST Intelligence Protocol for AI Coding Agents
Quit Claude Code mid-task, switch to Antigravity or Cursor in the same directory, cut LLM tokens by 97%, and continue coding without re-explaining the architecture, bug discoveries, or user preferences.
π Live Interactive Memory & AST Visualizer
Test the visual memory lineage graph, search indexed codebase symbols, and generate live handoff snapshots:
π https://shahrukh-hack.github.io/vibe-memory/
Related MCP server: Paparats MCP
β‘ The Core Problem: Why AI Agents Fail Without Memory
When building production software with AI coding agents (Antigravity, Cursor, Claude Code, OpenAI Codex, Aider), developers face three major bottlenecks:
π΄ The "Fresh Chat Amnesia" Problem: Every time a context window resets or you open a new conversation, the AI forgets your architectural decisions, design tokens, and the edge-case bugs you solved yesterday.
πΈ The "Raw File Dumping" Token Tax: When an agent needs to understand a component or function, it reads dozens of full source code filesβburning 15,000+ to 50,000+ context tokens and slowing down responses.
π Tool Lock-In & Vendor Fragmentation: Switching from Antigravity (planning) to Cursor (editing) or Claude Code (CLI) requires manually re-prompting and explaining the entire task from scratch.
π The Dual-Engine Solution
Vibe Memory unifies two world-class paradigms into a single, vendor-neutral protocol:
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β VIBE MEMORY DUAL ENGINE β
βββββββββββββββββββββββββββββ¬βββββββββββββββββββββββββββββ
β
ββββββββββββββββββββββββββββββββ΄βββββββββββββββββββββββββββββββ
βΌ βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββ
β ENGINE 1: CONTEXT & HANDOFF MEMORY β β ENGINE 2: AST & SYMBOL KNOWLEDGE GRAPH β
β β’ Architectural Decision Records (ADR) β β β’ Component & Function Hierarchies β
β β’ Bug fix pattern discoveries β β β’ Call graphs & export dependency maps β
β β’ Anti-AI slop user preferences β β β’ 97% Context Token Reduction β
β β’ Seamless cross-agent handoff snapshots β β β’ Sub-millisecond symbol queries β
ββββββββββββββββββββββββββββββββββββββββββββββββ ββββββββββββββββββββββββββββββββββββββββββββββββποΈ Architecture & Cross-Tool Flow
graph LR
A[Antigravity Agent] -->|1. Commit Architectural Decisions| M[AGENT_MEMORY.md Store]
B[Claude Code CLI] -->|2. Commit Bug Fix Patterns| M
C[Cursor IDE] -->|3. Read User Intent & Tokens| M
M -->|4. MCP stdio JSON-RPC| D[Vibe Memory MCP Server]
D -->|5. Instant AST & Symbol Lookup| E[Any Coding Agent]
M -->|6. Live Lineage Graph| F[Web Visualizer UI]π¦ How to Use in Ongoing / Existing Projects
Step 1: Initialize in 10 Seconds
Run this single command in the root of any new or existing repository:
npx vibe-memory initThis creates the standard AGENT_MEMORY.md file formatted with 4 persistent sections:
π 1. Architectural Decisions (ADR): Framework choices, state management patterns, and database schemas.
π 2. Bug Discoveries & Learnings: Edge-case API quirks, platform fixes, and dependency constraints.
π€ 3. User Preferences: Anti-AI slop design tokens, styling rules, and coding conventions.
π 4. Active Handoff Checkpoint: Current milestone status, completed steps, and immediate next actions.
Step 2: Connect via Model Context Protocol (MCP)
Add vibe-memory to your AI coding tools to enable automated memory recall and AST queries:
πΉ Antigravity (~/.gemini/antigravity/mcp-config.json):
{
"mcpServers": {
"vibe-memory": {
"command": "npx",
"args": ["-y", "vibe-memory", "mcp"]
}
}
}πΉ Cursor (.cursor/mcp.json):
{
"mcpServers": {
"vibe-memory": {
"command": "npx",
"args": ["-y", "vibe-memory", "mcp"]
}
}
}πΉ Claude Code (~/.claude.json):
{
"mcpServers": {
"vibe-memory": {
"command": "npx",
"args": ["-y", "vibe-memory", "mcp"]
}
}
}π The Cross-Agent Handoff Workflow
When you want to switch from Antigravity to Cursor or Claude Code mid-task:
Tell your active agent: "Create handoff snapshot for Cursor."
The agent appends a structured checkpoint to
AGENT_MEMORY.md:
<!-- AGENT_HANDOFF_SNAPSHOT: ANTIGRAVITY β CURSOR -->
# π Context Handoff (2026-08-16T21:45:00Z)
## π― Active Objective
Finalizing the real-time fleet telemetry map and vehicle status filter.
## β
Accomplished So Far
- Configured Leaflet container and Tailwind design tokens
- Built GPS ingestion pipeline in TypeScript
- Verified Adelaide CBD and Barossa Valley route corridors
## π Immediate Next Actions for Cursor
- Connect the live incident marker overlay in src/components/CorridorMap.tsx
- Run unit test suite
<!-- END_AGENT_HANDOFF -->Open Cursor, type
"Continue active task", and Cursor resumes the exact next step without missing a beat!
β‘ 97% Context Token Savings via AST Indexing
Instead of dumping full files into the LLM prompt:
Method | Tokens Consumed | Response Latency | Cost / Risk |
Raw File Reading | ~15,000 β 50,000 tokens | 6.5s β 12.0s | High cost, context bloat, hallucinations |
Vibe Memory AST Index | ~85 β 150 tokens | 0.4s | 97% savings, instant focus, zero amnesia |
π» Local Development & Web Visualizer
# Clone the repository
git clone https://github.com/shahrukh-hack/vibe-memory.git
cd vibe-memory
# Install dependencies
npm install
# Start local visualizer
npm run devπ€ Part of the Vibe Coding Ecosystem
πͺ Vibe Superkit: The Anti-AI Slop & High-Taste Design Engine (UI/UX, Spring Physics, Design Tokens).
π§ Vibe Memory: Universal Long-Term Agent Memory & AST Codebase Intelligence.
π€ Author
Created with intention by Yogeshkumar Patel β’ Adelaide, Australia π¦πΊ
GitHub: @shahrukh-hack
π License
MIT License Β© 2026 Yogeshkumar Patel
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceProvides AI coding agents with persistent, graph-connected memory across projects, enabling cross-project context retrieval via synaptic connections and hybrid search.186MIT
- Alicense-qualityBmaintenanceProvides AI coding assistants with deep, semantic understanding of local codebases via AST-aware chunking, cross-repo symbol graphs, and architectural memory, enabling context-aware code search and dependency tracing.10MIT
- AlicenseBqualityCmaintenanceProvides a durable memory layer for coding agents like Claude Code and Codex by indexing codebases and enabling RAG queries, reducing rediscovery tokens and providing senior-engineer orientation.23MIT
- Alicense-qualityDmaintenanceProvides AI coding agents with persistent architectural memory of codebases, enabling impact analysis, test generation, and code generation with reduced token usage.MIT
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Persistent memory for AI agents. Search, store, and recall across sessions.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/shahrukh-hack/vibe-memory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server