MEMI
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.

π§ MEMI - Memory Management Interface
Advanced Memory System for AI Agents via Model Context Protocol (MCP)
MEMI is a sophisticated graph-based memory management system that provides AI agents with persistent, organized, and intelligent memory capabilities. Built as an MCP server, it seamlessly integrates with any MCP-compatible AI client.
β¨ Key Features
ποΈ Project Organization | π Semantic Search | π Memory CRUD |
Separate contexts by project | Natural language queries | Full lifecycle management |
π·οΈ Tag Management | π Analytics | π Relationships |
Smart organization & merging | Timeline & insights | Manual & auto connections |
π Zero Cost | β‘ Lightning Fast | π Privacy First |
Works completely offline | Millisecond responses | Local data storage |
π― Core Capabilities
ποΈ Project-Based Organization - Separate memories by project/context to avoid confusion
π Advanced Semantic Search - Natural language queries with intelligent filtering
π Complete Memory CRUD - Create, read, update, delete, and relate memories
π·οΈ Smart Tag Management - Organize, merge, and analyze tags across projects
π Memory Analytics - Detailed insights and timeline analysis
π Relationship Management - Manual and automatic memory connections
π Zero-Cost Operation - Works completely offline with TF-IDF embeddings
β‘ Lightning Fast - Millisecond response times with SQLite storage
Related MCP server: neo-mem
π Project Stats
π οΈ Available Tools (19 Total)
π Project Management
mem-project-create- Create new project contextsmem-project-list- List all available projectsmem-project-switch- Switch active project context
πΎ Memory Operations
mem-store- Store new memories (auto-assigns to current project)mem-search- Advanced search with filters (tags, dates, projects)mem-get- Retrieve specific memory by IDmem-update- Update memory content and metadatamem-delete- Remove memories safelymem-search-similar- Find semantically similar memories
π Relationship Management
mem-relate- Create manual relationships between memoriesmem-reconstruct- Rebuild narratives from connected memories
π·οΈ Tag Operations
mem-tags-list- View all tags with usage statisticsmem-tags-merge- Combine similar tagsmem-tags-rename- Rename tags across all memories
π Analytics & Insights
mem-analyze- Comprehensive memory analysismem-timeline- Generate temporal timelinesmem-graph- Graph statistics and operations
π Quick Start
Prerequisites
Node.js 18+
npm or yarn
Git
Installation
# Clone the repository
git clone https://github.com/Rixmerz/MEMI.git
cd MEMI
# Install dependencies
npm install
# Build the project
npm run build
# Test the installation (optional)
npm testπ‘ Tip: The build process compiles TypeScript to JavaScript and sets up the MCP server for use.
Configuration
Add MEMI to your MCP client configuration:
{
"mcpServers": {
"memi": {
"command": "node",
"args": ["/path/to/MEMI/dist/index.js", "--stdio"],
"env": {
"MEMI_DB_PATH": "~/.memi/memory.db",
"MEMI_LOG_LEVEL": "info",
"MEMI_EMBEDDING_PROVIDER": "tfidf"
}
}
}
}π¬ Demo
π Typical Workflow
graph LR
A[Create Project] --> B[Store Memories]
B --> C[Search & Analyze]
C --> D[Create Relations]
D --> E[Generate Insights]
E --> F[Export Results]π‘ Usage Examples
Basic Workflow
// 1. Create a project
mem-project-create {
"name": "my-web-app",
"description": "E-commerce web application",
"tags": ["web", "ecommerce", "react"]
}
// 2. Switch to the project
mem-project-switch {
"projectName": "my-web-app"
}
// 3. Store memories
mem-store {
"content": "User authentication implemented with JWT tokens and refresh token rotation",
"source": "development-notes",
"tags": ["auth", "jwt", "security"]
}
// 4. Search memories
mem-search {
"query": "authentication security",
"filters": {
"tags": ["auth"],
"sourceType": ["document"]
}
}
// 5. Analyze project
mem-analyze {
"type": "project"
}π― Benefits
For AI Agents
Persistent Context - Remember conversations and learnings across sessions
Organized Knowledge - Separate different projects and contexts
Smart Retrieval - Find relevant information quickly with semantic search
Relationship Awareness - Understand connections between different pieces of information
For Developers
Zero Setup - Works out of the box with no API keys required
Privacy First - All data stored locally, no external services
Extensible - Easy to add new embedding providers and features
Production Ready - Robust error handling and comprehensive testing
For Teams
Project Isolation - Keep different projects' memories separate
Collaborative - Share memory databases across team members
Analytics - Understand knowledge patterns and gaps
Maintenance - Built-in tools for cleaning and organizing memories
π§ Configuration Options
Environment Variables
MEMI_DB_PATH- Database file location (default:./memi_memory.db)MEMI_LOG_LEVEL- Logging level:error,warn,info,debugMEMI_EMBEDDING_PROVIDER- Embedding provider:tfidf,openaiOPENAI_API_KEY- Required only if using OpenAI embeddings
Embedding Providers
TF-IDF (Default - Free)
No API key required
Works completely offline
Good for most use cases
Fast and lightweight
OpenAI (Premium)
Requires OpenAI API key
Higher quality embeddings
Better semantic understanding
Costs per API call
π Architecture
MEMI uses a graph-based architecture where:
Memories are stored as nodes with rich metadata
Relationships connect related memories automatically and manually
Projects provide organizational boundaries
Tags enable flexible categorization
Embeddings power semantic search capabilities
πΊοΈ Roadmap
π― Upcoming Features
π Web Interface - Optional GUI for memory management
π± Mobile App - Companion app for on-the-go access
π More Embeddings - Support for additional providers
π Sync & Backup - Cloud synchronization options
π€ AI Integrations - Enhanced AI-specific features
π Advanced Analytics - More detailed insights and reports
π Completed
β Core MCP Server - Full protocol implementation
β 19 Tools - Complete tool suite
β Project Management - Context organization
β Semantic Search - TF-IDF embeddings
β Memory Analytics - Timeline and insights
β Relationship Management - Manual connections
π€ Contributing
We welcome contributions! Please:
Fork the repository
Create a feature branch
Make your changes
Add tests for new functionality
Submit a pull request
Only maintainers can push directly to main branch.
π οΈ Development Setup
# Clone your fork
git clone https://github.com/YOUR_USERNAME/MEMI.git
cd MEMI
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run tests
npm test
# Build for production
npm run buildπ License
MIT License - see LICENSE file for details.
π Support
π Documentation
π Issue Tracker
π¬ Discussions
π§ Contact
π Acknowledgments
Model Context Protocol - For the excellent MCP specification
OpenAI - For inspiring AI-first development
SQLite - For reliable local storage
TypeScript - For type-safe development
The AI Community - For continuous feedback and support
π Star this repo if MEMI helps you! π
Built with β€οΈ for the AI community
Making AI agents smarter, one memory at a time.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Persistent, portable memory for AI assistants β your private memory graph, from any MCP client.
Persistent memory for AI agents across Claude, ChatGPT and any MCP client.
Personal knowledge graph as an AI memory layer over MCP - read, save, and link your memories.
Related MCP Servers
- AlicenseBqualityBmaintenanceProvides persistent, graph-based memory for AI agents via MCP, enabling semantic search, wikilink traversal, reminders, and injection protection.1434Apache 2.0
- AlicenseNot gradedqualityBmaintenanceProvides persistent, graph-based memory for AI agents using Neo4j and vector embeddings, enabling semantic recall across sessions via MCP.1Apache 2.0
- AlicenseAqualityDmaintenanceProvides persistent, searchable memory for AI agents across any MCP-compatible client, storing project context, user preferences, and session learnings locally in SQLite with tools to save, retrieve, search, and manage them.12MIT
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to store, recall, link, and manage durable local memories using ranked fuzzy search and optional graph context through a compact MCP interface.MIT