Skip to main content
Glama
zcc-cddg-mx

mcp-server-claude

by zcc-cddg-mx

mcp-server-claude

MCP Memory Server for Claude Code — persistent context across sessions using semantic search (RAG).

Problem

Claude Code compacts conversation history when it exceeds the context window (~200k tokens). This causes loss of operational context between sessions. A database alone doesn't fix this — the solution is selective context retrieval (RAG), not full history loading.

Related MCP server: claudecode-infinite-memory

Solution

A local MCP server that:

  1. Saves key fragments from each session with embeddings

  2. On new sessions, retrieves only the top-K semantically relevant fragments (~5-10k tokens)

  3. Provides structured project context (decisions, status, todos) on demand

Architecture

Claude Code CLI
      │ MCP Protocol (JSON-RPC 2.0 / stdio)
      ▼
MCP Memory Server (FastMCP)
  ├── Tools: remember, recall, get_project_context, list_sessions
  ├── ChromaDB  ← vector store (semantic search)
  └── SQLite    ← session metadata

Quick Start

git clone <repo>
cd mcp-server-claude
pip install -r requirements.txt
cp .env.example .env
# edit .env — set MEMORY_DB_PATH to a directory outside the repo

# Register with Claude Code:
# Add the contents of mcp_config.example.json to ~/.claude/settings.json

Environment

Designed for Zurich Insurance GenAI Platform (LiteLLM proxy UAT, WSL2 Ubuntu 24).

  • CLAUDE_CODE_DISABLE_PROMPT_CACHING=1 — proxy doesn't support caching; this server compensates

  • All embeddings run locally (sentence-transformers) — no external calls

Documentation

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

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    Persistent memory MCP server for Claude Code that captures and recalls project context across sessions, eliminating the need to re-explain architecture and decisions daily.
    137
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A simple memory storage server for Claude using the Model Context Protocol (MCP), enabling Claude to store and retrieve text memories across conversations.
    18
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A zero-dependency MCP server for cross-session memory recall in Claude Code. Provides lexical search, listing, and retrieval of past session memories to avoid re-explaining context.
    3
    20
    MIT

View all related MCP servers

Related MCP Connectors

  • Hosted MCP memory: save sessions/decisions once, search from Claude, Cursor, ChatGPT. EU-hosted FTS.

  • Cloud-hosted MCP server for durable AI memory

  • One memory, every AI: Claude, ChatGPT, Perplexity, Gemini, Cursor, OpenClaw, Hermes, any MCP client.

View all MCP Connectors

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/zcc-cddg-mx/mcp-server-claude'

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