Skip to main content
Glama

🧠 Personal MCP Ecosystem

A modular, local-first infrastructure that exposes your personal data as unified semantic context via the Model Context Protocol (MCP). Any AI agent can plug in and instantly know you.

Everything runs locally. No data leaves your machine.

πŸ—οΈ Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Claude Desktop β”‚     β”‚   Claude Code   β”‚     β”‚  Any MCP Client β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β””β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜
         β”‚ stdio                 β”‚ stdio                  β”‚ stdio
         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                         β”‚
              β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
              β”‚   MCP Server        β”‚
              β”‚   (FastMCP)         β”‚
              β”‚                     β”‚
              β”‚  Tools:             β”‚
              β”‚  β€’ read_notes       β”‚
              β”‚  β€’ semantic_search  β”‚
              β”‚  β€’ get_activity     β”‚
              β”‚  β€’ index_stats      β”‚
              β””β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”˜
                 β”‚      β”‚      β”‚
        β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”  β”Œβ”€β”€β–Όβ”€β”€β”€β”  β”Œβ–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”
        β”‚ Notes   β”‚  β”‚Vectorβ”‚  β”‚ Event   β”‚
        β”‚ Reader  β”‚  β”‚Store β”‚  β”‚ Logger  β”‚
        β”‚         β”‚  β”‚Chromaβ”‚  β”‚ SQLite  β”‚
        β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”˜  β””β”€β”€β”¬β”€β”€β”€β”˜  β””β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
             β”‚          β”‚         β”‚
        β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”
        β”‚     data/notes  data/files β”‚
        β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Quick Start

Prerequisites

  • Python 3.11+

  • uv package manager

1. Install dependencies

cd d:\memory-mcp
uv sync

2. Index your notes

uv run python scripts/index_notes.py

3. Run tests

uv run python tests/test_notes.py
uv run python tests/test_search.py
uv run python tests/test_watcher.py

4. Test with MCP Inspector

uv run mcp dev core_mcp/server.py

5. Connect to Claude Desktop

Add this to %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "memory-mcp": {
      "command": "uv",
      "args": ["--directory", "D:\\memory-mcp", "run", "python", "core_mcp/server.py"]
    }
  }
}

Restart Claude Desktop, then try:

  • "What notes do I have?"

  • "Search my notes for AI project ideas"

  • "Read my meeting notes"

6. Start the file watcher (separate terminal)

uv run python scripts/start_watcher.py

πŸ“ Project Structure

memory-mcp/
β”œβ”€β”€ pyproject.toml          # uv project config
β”œβ”€β”€ .env                    # environment variables
β”œβ”€β”€ config/                 # pydantic settings
β”œβ”€β”€ core_mcp/               # Phase 1: Core MCP Server
β”‚   β”œβ”€β”€ server.py           # FastMCP server entry point
β”‚   β”œβ”€β”€ tools/              # MCP tool implementations
β”‚   β”‚   β”œβ”€β”€ notes.py        # read_notes tool
β”‚   β”‚   └── search.py       # semantic_search tool
β”‚   β”œβ”€β”€ vector_store/       # ChromaDB wrapper
β”‚   β”‚   β”œβ”€β”€ store.py        # Vector store operations
β”‚   β”‚   └── indexer.py      # Document indexing pipeline
β”‚   └── event_logger/       # File system monitoring
β”‚       β”œβ”€β”€ watcher.py      # watchdog observer
β”‚       └── database.py     # SQLite event storage
β”œβ”€β”€ data/                   # Your personal data
β”‚   β”œβ”€β”€ notes/              # Markdown notes
β”‚   └── files/              # General files
β”œβ”€β”€ scripts/                # Utility scripts
└── tests/                  # Test suite

πŸ”§ MCP Tools

Tool

Description

read_notes(filename?)

List all notes or read a specific one

semantic_search(query, top_k?)

Search notes by meaning using embeddings

get_recent_activity(limit?)

See recent file changes

index_stats()

Check vector store status

πŸ“‹ Roadmap

  • Phase 1 β€” Core Foundation (MCP Server + Vector Store + Event Logger)

  • Phase 2 β€” Data Connectors (files, browser, calendar, code, conversations)

  • Phase 3 β€” Knowledge Graph (Neo4j entity extraction)

  • Phase 4 β€” Unified Gateway (LangGraph agent + context ranking)

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/Shaktisinhchavda/memory-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server