Add it to Claude Code
claude mcp add context-lattice -- docker run -i --rm contextlattice/serverMake your agent remember this setup
context-lattice's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- Durable outbox fanout to specialized sinks like Qdrant, Mongo, and Letta
- Unified ingress contract for validated and normalized memory writes
- Retrieval orchestration that merges multi-source recall with learning loops
- Code-context enrichment including symbol overlap and recency ranking
- Local-first operation with optional cloud BYO for specific sinks
Try it
Original README from sheawinkler/ContextLattice
ContextLattice
<a href="https://contextlattice.io/" target="_blank" rel="noopener noreferrer"> </a>Local-first memory orchestration for AI systems with durable writes, multi-sink fanout, retrieval learning loops, and operator-grade controls.
Overview | Architecture | V3 Roadmap | Installation | Integrations | Troubleshooting | Updates
Why Context Lattice
Context Lattice is built for teams running high-volume memory writes where durability and retrieval quality matter more than prompt bloat.
- One ingress contract (
/memory/write) with validated + normalized payloads. - Durable outbox fanout to specialized sinks (Qdrant, Mongo raw, MindsDB, Letta, memory-bank), plus fast retrieval indexes (
topic_rollups,postgres_pgvector) in the staged read lane. - Retrieval orchestration that merges multi-source recall and improves ranking through a learning loop.
- Code-context enrichment + reranking (symbol overlap, file-path proximity, recency) behind env-gated controls.
- Local-first operation with optional cloud BYO for specific sinks.
Architecture Snapshot
<table> <tr> <td width="50%"> <a href="https://contextlattice.io/architecture.html"> </a>
</td>
<td width="50%">
<a href="https://contextlattice.io/architecture.html">
</a>
</td>
</tr>
<tr>
<td width="50%">
<a href="https://contextlattice.io/architecture.html">
</a>
</td>
<td width="50%">
<a href="https://contextlattice.io/architecture.html">
</a>
</td>
</tr>
</table>
Quickstart
Prerequisites
- Container app requirement: a Compose v2-compatible container runtime is required (
docker compose), such as Docker Desktop, Docker Engine, or another runtime that supports Compose v2 - Supported host environments: macOS, Linux, or Windows (WSL2)
- Host machine sized for selected profile (
litevsfull) with enough CPU, RAM, and disk gmake,jq,rg,python3,curl- Tested baseline: macOS 13+ with Docker Desktop
Distribution Options (Less technical + dev users)
- Less technical macOS users: DMG bootstrap launcher
https://github.com/sheawinkler/ContextLattice/releases/latest/download/ContextLattice-macOS-universal.dmg - Less technical Windows users: MSI bootstrap installer
https://github.com/sheawinkler/ContextLattice/releases/latest/download/ContextLattice-windows-x64.msi - Less technical Linux users: bootstrap tarball
https://github.com/sheawinkler/ContextLattice/releases/latest/download/ContextLattice-linux-bootstrap.tar.gz - Technical/dev users (default): repo clone or main ZIP
- CLI fallback already exists and remains first-class:
gmake quickstart
Release operator note:
gmake dmg-build
# output: dist/ContextLattice-macOS-universal.dmg
gmake msi-build
# output: dist/ContextLattice-windows-x64.msi
gmake linux-bundle-build
# output: dist/ContextLattice-linux-bootstrap.tar.gz
# attach this file to the latest GitHub release
Personal computer requirements + app versions
| App lane | Recommended profile | CPU | RAM | Storage |
|---|---|---|---|---|
Public v3.2.x (current public release v3.2.3) |
Lite | 2-4 vCPU |
4-8 GB |
25-60 GB SSD |
Public v3.2.x (curren |