Lydite
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.
Lydite
中文文档 · User Guide · Overview · Privacy
Lydite (Lydian stone, the siliceous black touchstone used by goldsmiths to separate real gold from counterfeits) is a local-first, anchor-verified memory kernel and MCP server for AI coding agents (claude, codex, and any MCP-compatible host).
Instead of letting agents silently consolidate unverified guesses or external prompt injections into long-term memory ("memory laundering"), Lydite binds 6 structured memory kinds (state, decision, fact, preference, todo, procedure) to 4 epistemic origins (user_stated, tool_verified, agent_inferred, external_doc), enforces repository file anchors and bi-temporal validity, and injects only confirmed, non-drifted context.
Why Lydite?
Long-horizon multi-agent coding breaks down when a new session treats stale or unvetted notes as current truth:
Memory laundering: unreviewed web/RAG snippets (
external_doc) or speculative model summaries get saved and later recalled as authoritative user decisions.Silent code drift: refactored files invalidate earlier architecture facts and runbooks, yet flat memory stores keep serving obsolete instructions.
Startup context bloat: dumping raw transcripts or verbose procedures into every prompt wastes tokens and degrades reasoning.
Lydite runs on zero third-party Python dependencies (Python >= 3.11 stdlib + SQLite >= 3.34 FTS5 trigram). All databases live locally under $LYDITE_HOME (~/.local/share/lydite on macOS/Linux, %LOCALAPPDATA%\Lydite on Windows).
Related MCP server: Mandrel
Core capabilities
Capability | Mechanism & Surface |
Touchstone anti-laundering gate | Pre-hash secret/PII redaction, mandatory |
Tri-axis grounded invalidation | Bi-temporal windows ( |
Two-tier lock-free recall | Prompt-cache-friendly |
Skills bridge & clean exit | Export verified |
30-second quick start
Install with uv (or pip install -e . inside a Python >= 3.11 virtual environment):
uv tool install .
# Or inside a local virtualenv:
python3 -m venv .venv && ./.venv/bin/pip install -e .Initialize your repository and wire Claude Code / Codex hooks & MCP in one step:
# Preview host config diffs first (dry-run), then apply with automatic *.bak backups:
lyd setup all
lyd init --setup all
lyd doctorDaily workflow
Work normally in
claudeorcodex—SessionStartinjects a lock-free confirmed Tier-1 briefing; agents recall procedures and propose anchoreddraftmemories over MCP.lyd review -i— single-keypress interactive triage (yconfirm,nreject,vrevalidate drifted anchors,sskip,qquit), or runlyd review --project <id> --auto-verify --runfor deterministic anchor verification.lyd maintain— drain queuedSessionEndtranscripts into redactedtranscripts.db, scan code anchors for drift, and sync optional local embeddings.
lyd CLI overview
Group | Commands |
Onboarding & health |
|
Daily workflow |
|
Search & recall |
|
Transcripts & web chat |
|
Skills, views & archival |
|
Optional browser exporter (browser-capture/)
When an architectural discussion happens in ChatGPT or Claude on the web, the standalone Manifest V3 extension under browser-capture/ (Lydite Capture) exports selected conversations to a local .zip with zero third-party JS libraries. Import it straight into Lydite's redacted fallback transcript store with:
lyd import-chat ~/Downloads/lydite-chatgpt-20261205T000000Z.zip --project my-repoVerification & evaluation
python -m unittest discover -s tests -v
python eval/continuity_eval.py
python eval/ablation_runner.py --include-m4-plus
python -B browser-capture/tests/test_extension.py
python tools/check_public_tree.pyLicense
MIT. See LICENSE.
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
Long-term memory for AI coding agents: durable project facts, recalled by every MCP client.
Team memory for AI coding agents and code reviews, reviewed by humans and served over MCP.
Persistent memory for AI agents to retain, retrieve, and recall conversation context through MCP.
Persistent, inspectable memory for AI agents with lineage, correction, and a hosted MCP endpoint.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceProvides coding agents with governed semantic memory and code-graph context via MCP, enabling code-linked recall, blast-radius impact analysis, and lifecycle-aware memory management.528 PyPI3Apache 2.0

Mandrelofficial
AlicenseNot gradedqualityBmaintenanceEnables AI coding agents to maintain structured, persistent memory as a typed-edge knowledge graph over contexts, decisions, and tasks, with deterministic auto-threading, trust signals, and replayable story recall. It also exposes a token-lean MCP gateway for on-demand tool discovery, helping agents preserve causal project context across sessions.5MIT- AlicenseNot gradedqualityDmaintenanceEnables MCP-compatible coding agents to store, search, and manage persistent local project memories across sessions, with context injection, feedback-driven reinforcement, analytics, and archiving.MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI coding agents to store, retrieve, update, and delete structured, project-scoped memories through a minimal MCP toolset, replacing scattered markdown files with traceable long-term codebase context.MIT