Skip to content

Summary

ClickHouse's open-source, self-hosted MCP server for shared long-term agent memory, cited document search and a code index that coding agents query for definitions, callers and change impact.

Features

  • Shared long-term memory across agents and sessions, with provenance and version history
  • Code index: definitions, callers, change impact and related tests
  • Memories linked to code and flagged when that code changes
  • Document search with citations, including PDF, .docx and .pptx
  • Searchable conversations, session briefs, runs and PR history
  • Task inboxes for multi-agent handoffs
  • Namespaces, scoped tokens, audit, rollback and verified erasure
  • Self-hosted with Docker or Helm; plugins for Claude Code and Codex

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "ClickHouse Loom" tools will be available.
{
  "mcpServers": {
    "clickhouse-loom": {
      "type": "http",
      "url": "http://localhost:7777/mcp"
    }
  }
}

Description

Loom is an open-source (Apache-2.0) MCP server from ClickHouse that gives AI agents long-term memory they can share: what one agent learns in a session, the next agent or tool can find. It runs in Docker on top of ClickHouse, and agents connect through MCP, HTTP or the Python, TypeScript, Rust, Go and .NET SDKs.

Beyond memory, Loom indexes your repositories so coding agents can look up definitions, callers, change impact and related tests, and it links memories to the code they describe, flagging them when that code changes. It also does document search with citations (including PDF, .docx and .pptx through an extractor service), keeps searchable records of agent conversations and runs, and offers task inboxes for multi-agent handoffs. Every fact records who wrote it, with version history, conflict review, namespace rollback, retention and verified erasure.

Setup: a one-line installer starts Loom and ClickHouse locally with a dashboard at http://localhost:7777; personal mode needs no login and stays on localhost, while team mode adds accounts, namespaces and scoped tokens. It boots without API keys using a small local embedding model, but useful extraction and answers need an LLM and embedding provider configured in the dashboard. Claude Code and Codex connect through Loom's plugins; Cursor, VS Code and other clients add the MCP endpoint http://localhost:7777/mcp. The hosted MCP endpoint is your own server, not a ClickHouse-hosted service.

MCP server that parses a multi-language codebase with Tree-sitter into a knowledge graph, so agents can resolve definitions, trace callers, query structure in plain English and patch code.

MCP: Dense-Mem

by markhuangai

Self-hosted agent memory server on Postgres/pgvector that tracks evidence, flags contradictions, and never silently rewrites facts.

MCP: Stash

by alash3al

New

Open-source, self-hosted MCP memory server that gives AI agents persistent memory across sessions, consolidating episodes into facts, relationships and patterns on Postgres with pgvector.

MCP: MCP Memory Service

by Heinrich Krupp (doobidoo)

New

Self-hosted, open-source persistent memory for AI agents over MCP and REST: semantic plus keyword search with local ONNX embeddings, a shared knowledge graph, consolidation, and SQLite, Cloudflare or Milvus backends.

Browse all MCP servers →