# ClickHouse Loom

> Shared memory, document search, and a code index for AI agents.

- **URL**: https://followmcp.com/en/servers/loom
- **Category**: Dev Tools
- **Origin**: Official
- **Stars**: 279
- **FMRS Score**: 61/100 (Grade C)
- **Source**: https://github.com/ClickHouse/loom
- **Transports**: Streamable HTTP
- **Runtimes**: Docker
- **Auth**: Optional API key

## Overview
ClickHouse Loom is an open-source, self-hosted MCP server that gives AI agents shared long-term memory across sessions, document search with citations, and a code index. Memories can link to relevant files and symbols, be flagged when code changes, and surface when an agent reads or edits related code. Loom also supports multi-agent handoffs and namespace access controls. Data can live in ClickHouse; Postgres can be selected at first boot for live memory and knowledge state.

## Best for
- Teams using coding agents that need shared context across sessions.
- Organizations that want self-hosted memory, document search, or code indexing.
- Multi-user deployments that need access managed with namespaces and tokens.

## Not for
- Use cases needing only short-lived memory inside one agent process.
- Use cases requiring an agent orchestration framework; Loom preserves handoffs, while an external system runs agents and workflows.

## Required permissions
- Clients need to connect to the Loom MCP server; remote team deployments generally require the server URL and a writer token.
- Tokens can scope access by namespace and read or write role.
- Self-hosting requires configuring the selected storage and, as needed, model providers and API keys.

## Risks
- Personal mode has no login and is localhost-only by default; use a team deployment with TLS for shared access.
- Misconfigured namespace or token permissions can prevent access or grant an unintended scope.
- Without a real LLM configuration, the default fake-echo-1 provides no meaningful extraction, summaries, or answers; the local embedding model offers weaker semantic retrieval.
- Check source locations, completeness, and freshness when assessing code index and retrieval results.
