Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

ยฉ 2026 TrackMCP. All rights reserved.

Built with โค๏ธ by Krishna Goyal

    Mcp Memory Server

    ๐Ÿง  Advanced Memory System for Claude Desktop - MCP Server with CosmosDB, RAG, and intelligent entity extraction

    1 stars
    TypeScript
    Updated Jun 23, 2025

    Table of Contents

    • โœจ What it does
    • ๐Ÿš€ Quick Start
    • Prerequisites
    • Installation
    • Configuration
    • ๐ŸŽฏ Key Features
    • ๐Ÿง  Intelligent Memory Storage
    • ๐Ÿ” Advanced Search & Retrieval
    • ๐Ÿค– Entity Resolution
    • ๐Ÿ“Š Analytics & Insights
    • ๐Ÿ› ๏ธ Available Tools
    • ๐Ÿ“ Project Structure
    • ๐Ÿ—๏ธ Architecture
    • Core Components
    • Data Flow
    • ๐Ÿ”ง Configuration
    • Environment Variables
    • Advanced Configuration
    • ๐Ÿงช Testing
    • ๐Ÿ“Š Performance
    • ๐Ÿ›ฃ๏ธ Roadmap
    • โœ… Completed
    • ๐Ÿ”„ In Progress
    • ๐Ÿ”ฎ Planned
    • ๐Ÿค Contributing
    • Development Setup
    • ๐Ÿ“š Documentation
    • ๐Ÿ†˜ Support
    • ๐Ÿ“„ License
    • ๐Ÿ™ Acknowledgments
    • โญ Star History

    Table of Contents

    • โœจ What it does
    • ๐Ÿš€ Quick Start
    • Prerequisites
    • Installation
    • Configuration
    • ๐ŸŽฏ Key Features
    • ๐Ÿง  Intelligent Memory Storage
    • ๐Ÿ” Advanced Search & Retrieval
    • ๐Ÿค– Entity Resolution
    • ๐Ÿ“Š Analytics & Insights
    • ๐Ÿ› ๏ธ Available Tools
    • ๐Ÿ“ Project Structure
    • ๐Ÿ—๏ธ Architecture
    • Core Components
    • Data Flow
    • ๐Ÿ”ง Configuration
    • Environment Variables
    • Advanced Configuration
    • ๐Ÿงช Testing
    • ๐Ÿ“Š Performance
    • ๐Ÿ›ฃ๏ธ Roadmap
    • โœ… Completed
    • ๐Ÿ”„ In Progress
    • ๐Ÿ”ฎ Planned
    • ๐Ÿค Contributing
    • Development Setup
    • ๐Ÿ“š Documentation
    • ๐Ÿ†˜ Support
    • ๐Ÿ“„ License
    • ๐Ÿ™ Acknowledgments
    • โญ Star History

    Documentation

    ๐Ÿง  MCP Memory Server

    TypeScript

    Node.js

    Azure Cosmos DB

    OpenAI

    Advanced Memory System for Claude Desktop - Transform Claude into an AI assistant with photographic memory using MCP (Model Context Protocol).

    โœจ What it does

    Imagine Claude with persistent memory that:

    • ๐Ÿง  Remembers everything from your conversations
    • ๐Ÿ” Automatically retrieves context when you reference past topics
    • ๐Ÿค– Understands references like "that project", "this company", "he/she"
    • ๐Ÿ“ˆ Builds knowledge over time across all your sessions
    • ๐Ÿ› ๏ธ Auto-captures results from web searches and other tools

    ๐Ÿš€ Quick Start

    Prerequisites

    • Node.js 18+
    • Azure Cosmos DB account
    • OpenAI API key
    • Claude Desktop

    Installation

    bash
    git clone https://github.com/PlumyCat/mcp-memory-server.git
    cd mcp-memory-server
    npm install
    npm run build

    Configuration

    1. Environment setup:

    bash
    cp .env.example .env
    # Edit .env with your API keys

    2. Claude Desktop configuration:

    json
    {
      "mcpServers": {
        "memory": {
          "command": "node",
          "args": ["/path/to/mcp-memory-server/dist/index.js"],
          "cwd": "/path/to/mcp-memory-server"
        }
      }
    }

    3. Test the magic:

    code
    You: "I'm working on a TypeScript project using CosmosDB"
    Claude: [Responds normally + automatic background storage]
    
    # Later...
    You: "What was that project we discussed?"
    Claude: "You mentioned working on a TypeScript project using CosmosDB..."

    ๐ŸŽฏ Key Features

    ๐Ÿง  Intelligent Memory Storage

    • Automatic entity extraction (people, companies, projects, tools)
    • Semantic storage with OpenAI embeddings
    • Conversation context preservation
    • Smart deduplication

    ๐Ÿ” Advanced Search & Retrieval

    • Semantic similarity search
    • Entity relationship mapping
    • Timeline-based retrieval
    • Context-aware responses

    ๐Ÿค– Entity Resolution

    • Automatic pronoun resolution ("he" โ†’ "John Smith")
    • Reference understanding ("that company" โ†’ "Microsoft")
    • Cross-conversation entity linking
    • Confidence scoring

    ๐Ÿ“Š Analytics & Insights

    • Conversation pattern analysis
    • Entity interaction timelines
    • Knowledge growth tracking
    • Usage statistics

    ๐Ÿ› ๏ธ Available Tools

    The server provides 6 MCP tools for Claude:

    ToolDescriptionExample Usage
    memory_storeStore information with auto entity extractionAutomatically triggered during conversations
    memory_searchSemantic search through stored memories"Find all discussions about React"
    context_injectGet relevant context for current query"What did we discuss about this project?"
    entity_resolveResolve references to actual entities"Who is 'he' referring to?"
    conversation_analyzeAnalyze conversation patterns"Show my discussion statistics"
    memory_timelineGet timeline of entity interactions"Timeline of Microsoft mentions"

    ๐Ÿ“ Project Structure

    code
    mcp-memory-server/
    โ”œโ”€โ”€ src/
    โ”‚   โ”œโ”€โ”€ config/          # Azure Cosmos DB configuration
    โ”‚   โ”œโ”€โ”€ memory/          # Core memory system (RAG, storage, graph)
    โ”‚   โ”œโ”€โ”€ types/           # TypeScript type definitions
    โ”‚   โ”œโ”€โ”€ utils/           # Entity extraction, context injection
    โ”‚   โ””โ”€โ”€ server.ts        # Main MCP server implementation
    โ”œโ”€โ”€ scripts/             # Maintenance and health check scripts
    โ”œโ”€โ”€ tests/               # Unit and integration tests
    โ”œโ”€โ”€ docs/                # Technical documentation
    โ””โ”€โ”€ dist/                # Compiled JavaScript (generated)

    ๐Ÿ—๏ธ Architecture

    Core Components

    • RAG System: Vector similarity search with OpenAI embeddings
    • Entity Extractor: NLP-based entity recognition with custom patterns
    • Memory Storage: Optimized CosmosDB integration with smart indexing
    • Context Injector: Intelligent context retrieval for conversations
    • Graph Engine: Entity relationship mapping and traversal

    Data Flow

    mermaid
    graph TD
        A[User Message] --> B[Entity Extraction]
        B --> C[Embedding Generation]
        C --> D[CosmosDB Storage]
        D --> E[Semantic Search]
        E --> F[Context Injection]
        F --> G[Enhanced Claude Response]

    ๐Ÿ”ง Configuration

    Environment Variables

    bash
    # Azure Cosmos DB
    COSMOS_ENDPOINT=https://your-account.documents.azure.com:443/
    COSMOS_KEY=your-primary-key
    COSMOS_DATABASE_NAME=memory-db
    COSMOS_CONTAINER_CONVERSATIONS=conversations
    COSMOS_CONTAINER_ENTITIES=entities
    
    # OpenAI
    OPENAI_API_KEY=your-openai-api-key
    
    # Optional
    NODE_ENV=production
    LOG_LEVEL=info
    MEMORY_RETENTION_DAYS=30

    Advanced Configuration

    See Configuration Guide for detailed setup options.

    ๐Ÿงช Testing

    bash
    # Run all tests
    npm test
    
    # Health check
    npm run health-check
    
    # Test memory functionality
    npm run test-memory

    ๐Ÿ“Š Performance

    • Storage: Optimized CosmosDB indexing for sub-100ms queries
    • Search: Vector similarity with 95%+ accuracy
    • Memory: Efficient entity deduplication and compression
    • Scalability: Handles 1000+ entities with consistent performance

    ๐Ÿ›ฃ๏ธ Roadmap

    โœ… Completed

    • Core memory storage and retrieval
    • Entity extraction and resolution
    • Semantic search with embeddings
    • CosmosDB integration
    • MCP server implementation

    ๐Ÿ”„ In Progress

    • [ ] Intelligent entity deduplication
    • [ ] Auto-capture of all MCP tool results
    • [ ] Enhanced entity classification patterns
    • [ ] Contradiction detection system

    ๐Ÿ”ฎ Planned

    • [ ] Multi-user memory isolation
    • [ ] Graph traversal with Gremlin queries
    • [ ] Advanced analytics dashboard
    • [ ] Memory compression and archiving

    See Roadmap for detailed feature planning.

    ๐Ÿค Contributing

    We welcome contributions! Please see our Contributing Guidelines for details.

    Development Setup

    bash
    git clone https://github.com/PlumyCat/mcp-memory-server.git
    cd mcp-memory-server
    npm install
    npm run dev

    ๐Ÿ“š Documentation

    • Usage Guide - Comprehensive usage examples
    • API Reference - Detailed API documentation
    • Architecture - Technical architecture details
    • Troubleshooting - Common issues and solutions

    ๐Ÿ†˜ Support

    • ๐Ÿ“– Check the Usage Guide for examples
    • ๐Ÿ› Report issues on GitHub Issues
    • ๐Ÿ’ฌ Discuss on GitHub Discussions

    ๐Ÿ“„ License

    This project is licensed under the MIT License - see the LICENSE file for details.

    ๐Ÿ™ Acknowledgments

    • Model Context Protocol (MCP) for the foundational protocol
    • Claude Desktop for the AI assistant platform
    • Azure Cosmos DB for scalable data storage
    • OpenAI for embedding generation
    • Compromise.js for natural language processing

    โญ Star History

    Star History Chart

    ---

    Made with โค๏ธ for the Claude Desktop community

    Similar MCP

    Based on tags & features

    • 4E

      4everland Hosting Mcp

      TypeScriptยท
      1
    • MC

      Mcp Wave

      TypeScript00
    • GL

      Glm Mcp Server

      TypeScriptยท
      3
    • OP

      Openai Gpt Image Mcp

      TypeScriptยท
      75

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScriptยท
      22.1k
    • SE

      Serena

      Pythonยท
      14.5k
    • MC

      Mcp Playwright

      TypeScriptยท
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScriptยท
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • 4E

      4everland Hosting Mcp

      TypeScriptยท
      1
    • MC

      Mcp Wave

      TypeScript00
    • GL

      Glm Mcp Server

      TypeScriptยท
      3
    • OP

      Openai Gpt Image Mcp

      TypeScriptยท
      75

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScriptยท
      22.1k
    • SE

      Serena

      Pythonยท
      14.5k
    • MC

      Mcp Playwright

      TypeScriptยท
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScriptยท
      3.0k