MiniMe-MCP: Supercharge your AI Agents with your memories
Your digital developer twinβBecause "Explain Our Setup Again" Gets Old Fast
v0.5.66: October 2025
Everyone's doing it nowβvibe coding with AI assistants. That magical flow where you're thinking out loud, the AI gets it, and code just happens.
But here's the catch: Your AI forgets everything. Every conversation starts from zero. Every project feels like explaining yourself to a stranger who forgot your last 47 conversations. Enter **Context-Engineering"
- π Endless repetition β "Here's how we handle auth..." (for the 50th time)
- π€· Context amnesia β AI forgets your patterns, preferences, and hard-won decisions
- ποΈ Project islands β Learning from one project never benefits another
- π Knowledge leakage β That brilliant debugging insight? Gone tomorrow.
MiniMe-MCP is the persistent memory layer your IDE agents desperately need.
Instead of this painful cycle:
You: "Hey AI, remember we use PostgreSQL with..."
You: "Oh, and we prefer functional components..."
You: "Also, we decided against Redis because..."
You get this:
You: "Build auth for the checkout flow"
AI: "Using your battle-tested pattern from payment-service-v2:
β JWT with refresh token rotation
β httpOnly cookies (per your security audit decision)
β Redis mutex to prevent race conditions (you debugged this for 6 hours)
β 15min access tokens, 7-day refresh tokens
Implementing now..."
Your code. Your patterns. Your decisions. Remembered. Connected. Evolved.
β One connected memory system, across IDEs, Desktop Agents, Projects Works with Cursor, Claude Desktop/Code, VS Code, Windsurf, JetBrains, Zedβany tool that speaks MCP
β Cross-project intelligence Lessons learned once β Applied everywhere automatically
β Document knowledge base Upload PDFs, docs, specs β Your AI understands your system instantly
β Smart project linking Connect v1 β v2 β v3, share patterns across related projects
β Zero-config memory Auto-tags, auto-clusters, auto-learns from every interaction
β Privacy-first architecture Runs locally, your data never leaves your machine
π Complete Installation Guide - Get running in under 2 minutes
TL;DR:
# 1. Start MiniMe server
cd install
docker compose --env-file minime.env up -d
# 2. Add to your IDE (see install guide for your specific IDE)
# HTTP-capable: Cursor, VS Code, Claude Code, Windsurf, Roo Code, etc.
# Command-based: Claude Desktop, Zed, JetBrains, etc. (requires npm client)
# 3. Start coding with persistent memory!Supported IDEs: Cursor β’ Claude Desktop β’ Claude Code β’ VS Code β’ Windsurf β’ Roo Code β’ Visual Studio 2022 β’ JetBrains β’ Zed β’ Cline β’ BoltAI β’ Augment Code β’ Warp β’ Amazon Q β’ and more...
See install/README.md for detailed setup instructions for your IDE.
You (in Cursor): "Search my memories about authentication patterns"
Cursor: "Found 12 memories across 3 projects:
payment-service-v2 (2 months ago):
β JWT with refresh token rotation
β Redis mutex prevents race conditions
β You debugged concurrent refresh calls for 6 hours
user-api-v1 (4 months ago):
β Security audit: never use localStorage for tokens
β Team decision: httpOnly cookies only
admin-dashboard (1 month ago):
β 15min access tokens, 7-day refresh tokens
β Auto-refresh 2 minutes before expiry"
You: "Build auth for my checkout flow"
Cursor: [Generates code using YOUR battle-tested patterns]
You (in Claude Desktop): "Get insights on database patterns across my projects"
Claude: "Analyzed 89 memories across 5 projects. Pattern detected:
You ALWAYS follow this progression:
1. Start with PostgreSQL (projects: 5/5)
2. Hit connection pool limits around 10K users (projects: 3/5)
3. Add PgBouncer to solve it (projects: 3/3 that hit the issue)
Current project: user-service-v3
Expected scale: 50K users
Recommendation: Include PgBouncer from day 1. You'll need it,
and adding it later caused 2 hours of downtime in admin-api."
You (in Cursor): "Search my documents about webhook security"
Cursor: "Found in 'API Security Guidelines v2.pdf' (uploaded last week):
Page 47: Webhook Signature Verification
β MUST use HMAC-SHA256
β Signature in X-Webhook-Signature header
β Replay attack protection: 5-minute timestamp window
β Rate limiting: 100 webhooks/minute per endpoint
Also found related memory from payment-service-v1:
β You got burned by missing signature verification
β Production incident: fake webhook drained test account
I'll implement webhooks with proper security from the start."
You (in Claude Desktop): "Search my memories and documents about
error handling, include linked projects"
Claude: "Searching across:
- Current project: ecommerce-api
- Linked projects: payment-service-v2, order-management
- Uploaded documents: 3 PDFs, 12 markdown files
From documents:
β 'Engineering Standards.pdf': Error codes must follow
ERR-{DOMAIN}-{CODE} format (e.g., ERR-AUTH-001)
From payment-service-v2 memories:
β You built a standardized error response wrapper
β Includes: error code, message, trace_id, timestamp
β Logs to Sentry with context
From order-management memories:
β You added retry logic with exponential backoff
β Max 3 retries, 2^n second delays
I can implement error handling using all these patterns."
You (in Cursor): "Store a memory: We decided against microservices.
Team is too small (3 devs). Maintenance overhead
not worth it. Monolith with clear module boundaries
instead."
Cursor: "β Stored as decision with high importance.
I'll suggest monolith architecture in future projects."
You: "Link payment-service-v1 to checkout-api as dependency"
You: "Search my memories about Stripe webhooks, include linked projects"
Cursor: "Found context from payment-service-v1:
Decision (6 months ago):
β Stripe webhooks need idempotency keys
β You discovered this after processing same payment twice
β Solution: Store event IDs in Redis with 24hr TTL
Bug fix (3 months ago):
β Race condition with concurrent webhook deliveries
β Fixed with Redis distributed lock
Applying both lessons to checkout-api implementation..."
You: "Create task: Fix mobile login button not responding"
Cursor: "β Task created (ID: task_847)
Want to link related memories?"
You: "Yes, link to yesterday's auth debugging session"
---
Next day:
You: "Show my tasks"
Cursor: "1 pending task:
β Fix mobile login button not responding
β Related: Auth debugging session, JWT refresh race condition
Should I expand the debugging session memory?"
You: "Yes"
Cursor: "From debugging session:
β Issue: JWT refresh happens mid-form-submit
β Button disabled during API call
β Race condition prevents re-enable
β Solution discussed: Debounce + optimistic UI
Ready to implement the fix?"
You (in Claude Desktop): [Uploads "API Documentation v3.pdf" - 10MB]
Claude: "Processing... Done in 28 seconds.
Created 868 chunks from 247 pages.
I now understand:
β OAuth 2.0 implementation (section 3)
β Rate limiting rules (section 7.2)
β Webhook signature verification (section 9)
β Database sharding strategy (section 12)
β Error code taxonomy (appendix B)
All stored with semantic search enabled."
---
Later, in Cursor:
You: "Build the OAuth refresh token endpoint"
Cursor: [Generates code matching section 3 of your PDF exactly]
"Implementation follows your API docs:
β 15-minute access tokens
β 7-day refresh tokens
β Rotation on every refresh
β httpOnly, Secure, SameSite=Strict cookies"
You: "Search Redis caching patterns"
Claude: "Found 47 memories from user-service-v1.
But I also see newer memories showing you migrated
to Memcached in user-service-v2 last month.
Should I inactivate the old Redis memories?"
You: "Yes, inactivate them. Reason: migrated to Memcached"
Claude: "β Inactivated 47 Redis memories (soft delete, recoverable)
β Audit trail preserved
β I'll suggest Memcached patterns by default now
Your context stays current as your stack evolves."
Direct HTTP connections for modern IDEsβno npm client needed for most tools.
What changed:
- Native HTTP/SSE transport for real-time streaming
- Cursor, VS Code, Claude Code, Windsurf work out of the box
- Optional npm client for command-only IDEs (Claude Desktop, Zed, JetBrains)
- Single unified MCP endpoint:
http://localhost:8000/mcp
Turn any PDF, DOCX, or code file into searchable agent knowledge.
What you get:
- Multi-format: PDF, DOCX, Markdown, CSV, Excel, all code files
- Lightning fast: 10MB PDF β searchable in < 30 seconds
- Smart chunking: 1000-token chunks with 128-token overlap
- Hybrid search: Vector similarity + keyword + tag matching
- Zero API costs: YAKE keyword extraction (9s for 868 chunks)
- Upload once: Every IDE agent gets instant access
Real impact:
- Architecture docs β Agent understands your system design
- API specs β Agent generates spec-compliant code
- Security guidelines β Agent follows your security rules
- Past project docs β Agent learns from your history
Connect projects. Share intelligence. Learn everywhere.
Link types:
dependency- Shared libraries (auth-lib used by 5 projects)parent/child- Version iterations (v1 β v2 β v3)fork- Experimental branches (compare approaches)template- Starter patterns (reusable scaffolds)related- Similar domains (all payment services)
What you get:
- Many-to-many relationships
- Recursive search up to 5 levels deep
- Auto-detection of related projects (finds shared patterns)
- Visibility controls (full access, metadata-only, hidden)
The power:
Project graph:
auth-library-v2 (dependency)
ββ Used by: ecommerce-api
ββ Used by: admin-dashboard
ββ Used by: mobile-backend
ββ Links to: auth-library-v1 (parent)
One lesson learned β Applied to 4 projects automatically
Your patterns evolve. Your memory should too.
Three actions:
update- Modify content, tags, importance, type (partial updates)inactivate- Soft delete with reason (recoverable, audit trail)reactivate- Restore archived memories
What you get:
- Full change history with timestamps
- Reasons for every inactivation
- Prevents knowledge drift as your stack evolves
- Keeps context clean and relevant
Set guardrails once. Every IDE agent follows them forever.
How it works:
- Store rules in special
__global__project - Rules auto-load during MCP handshake (before first user message)
- Apply to ALL projects, ALL agents, ALL time
4 default rules included:
-
π΄ Always Confirm Destructive Operations Ask before deleting files, dropping tables, force-pushing git
-
π΄ Never Implement Fallbacks Without Asking Report failures, don't substitute silently
-
π΄ Proactively Search Memories Before Implementing Auto-search for relevant context, past patterns, known issues
-
π‘ Load Rules on Initialization Ensure consistent behavior across all sessions
Know your knowledge costs. Optimize your memory footprint.
Dashboard shows:
- Total tokens across all memories and documents
- Per-project breakdown with memory counts
- Memory type distribution (decisions vs code vs docs)
- Growth trends over time
- Token-efficient vs token-heavy projects
Why it matters:
- Future-ready for OpenAI-compatible pricing
- Identify bloated projects needing cleanup
- Optimize what you store vs what you inactivate
- Understand where your context budget goes
β store_memory - Save decisions, patterns, learnings, bugs β search_memories - Semantic + keyword + tag hybrid search β expand_memories - Progressive disclosure (search IDs β full content) β modify_memory - Update, inactivate, reactivate with audit trail
β get_insights - Cross-project patterns, quality analysis, technical debt β start_thinking / add_thought - Structured reasoning sequences β get_rules - Load global and project-specific guardrails
β Upload documents - PDF, DOCX, Markdown, CSV, Excel, code files β Search documents - Hybrid vector + keyword + tag search β Expand chunks - Get surrounding context (Β±1 or Β±2 chunks) β Smart chunking - 1000 tokens with 128-token overlap
β manage_project - Briefs, PRDs, implementation plans β Link projects - Dependencies, forks, parent/child, templates β manage_tasks - Create, complete, list with linked memories β Token analytics - Usage tracking per project
β 9 memory types - decision, rule, code-snippet, design, learning, research, progress, task, debug β 3 search modes - semantic (concepts), keyword (exact), hybrid (both) β File path filtering - Find memories by code file patterns β Linked project search - Discover context across relationships β Search target - memories only, documents only, or both β Recent filtering - Last 30 days only
- 4x larger chunks: 1000 tokens vs 250 (more context per chunk)
- 95% clean splits: <5% mid-sentence breaks (was ~30% in v0.2.5)
- Lightning tags: 9 seconds vs 15-43 minutes (YAKE-only approach)
- Indexed queries: Instant project link traversal
- Thread pooling: Concurrent embedding generation
- Three-table RAG: documents (metadata) β chunks (content) β memories (notes)
- Event-driven jobs: Async, non-blocking background processing
- Graph traversal: PostgreSQL recursive CTEs for project relationships
- HTTP/SSE transport: Real-time streaming with Server-Sent Events
- Enterprise foundation: Row-Level Security policies (multi-tenancy ready)
document_chunkstable with pgvector embeddingsproject_linkstable for many-to-many relationshipsmemory_audit_logfor complete change history- GIN index on tags for instant tag searches
- JSONB
token_metadatafor analytics - Lifecycle columns:
is_active,inactivated_at,inactivation_reason
- store_memory - Save decisions, patterns, learnings
- search_memories - Semantic/keyword/hybrid search across memories & docs
- expand_memories - Get full content + surrounding context
- modify_memory - Update, inactivate, reactivate memories
- get_insights - Meta-analysis: patterns, quality, technical debt
- start_thinking / add_thought - Structured reasoning sequences
- manage_tasks - Create, complete, list tasks with context
- get_rules - Load global and project-specific rules
- manage_project - Briefs, PRDs, plans, project linking
- help - Interactive guidance for tool selection and workflows
The Proactive Context Retrieval global rule makes your agent automatically search memories before implementing. Customize it:
"Store a global rule: When implementing auth, payments, or database
features, ALWAYS search memories and documents first. Look for:
past decisions, known bugs, security requirements, and team patterns."
Semantic search: "authentication patterns" (finds related concepts)
Keyword search: "Redis connection pooling" (exact matches)
File path filter: "src/auth/%" (memories touching auth files)
Linked projects: include_linked_projects: true (cross-project learning)
Search target: "all" (both memories AND documents)
Best practices:
- Link v1 β v2 as parent/child (learn from mistakes)
- Link shared libraries as dependencies (consistent patterns)
- Link experimental branches as forks (compare approaches)
- Link similar domains as related (discover patterns)
Monthly memory audit:
1. Search for outdated patterns (old stack decisions)
2. Inactivate obsolete memories (with clear reasons)
3. Update evolving patterns (keep context current)
4. Tag memories well (improves future search)
Efficient workflow:
1. Search returns memory IDs (fast, low-token overview)
2. Review titles and summaries (decide what's relevant)
3. Expand specific IDs (get full content only when needed)
4. Request context window if needed (Β±1 or Β±2 surrounding chunks)
Stop explaining yourself to your IDE agent.
MiniMe-MCP transforms every session from:
- β "Let me explain our setup again..."
- β "You know what we're building. Let's go."
Your code. Your patterns. Your decisions. Remembered. Connected. Evolved.
Supported IDEs: Cursor β’ Claude Desktop β’ Claude Code β’ VS Code β’ Windsurf β’ Roo Code β’ Visual Studio 2022 β’ JetBrains β’ Zed β’ Cline β’ BoltAI β’ Augment Code β’ Warp β’ Amazon Q β’ and more...
Version 0.5.39 | Released January 2025 | Installation Guide
- Installation Guide - Complete setup for all IDEs
- GitHub Repository - Source code and issues
- Docker Hub - Official Docker images
MiniMe-MCP Community Version. Contributions welcome!
- Report bugs via GitHub Issues
- Submit feature requests
- Share your use cases and patterns
Community Version - See LICENSE file for details
Built with π by developers who are tired of explaining themselves to their AI assistants





