Skip to main content
MCP server CX Codex

ClickHouse Loom — Claude Code MCP server: what it does, how to install

ClickHouse Loom — an MCP server for Claude Code and Cursor that provides AI agents with shared long-term memory, code indexing, and document search.

Apache-2.0 ★ 216 updated 2026-11-16

Open on GitHub

What ClickHouse Loom does

ClickHouse Loom stores session context, agent decisions, and code references in ClickHouse or Postgres. It indexes repositories for definitions and callers, searches through PDF, .docx, and .pptx files, and includes a multi-user mode with namespaces and roles.

Self-hosted via Docker or Kubernetes Helm charts, connecting to agents over HTTP. Requires a running ClickHouse or Postgres database instance for memory and knowledge state.

What it helps with

  • share long-term memory across coding agents
  • index repository code for definitions and callers
  • search through documentation and project files
  • link agent memory directly to code changes

Example prompts for the agent

  • Connect the Loom MCP server at https://{loom_host}/mcp
  • Find previous decisions in the shared agent memory
  • Search project documentation using Loom

How to install ClickHouse Loom

1Template address

The server address is a template: replace {…} or […] with your own values

2Platform CLI: remote server

claude mcp add --transport http loom https://{loom_host}/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about ClickHouse Loom

How to install ClickHouse Loom in Claude Code?

Run claude mcp add --transport http loom https://{loom_host}/mcp or claude mcp add --transport http clickhouse-loom https://{loom_host}/mcp.

What does ClickHouse Loom do?

It provides AI coding agents with shared long-term memory, a code index, and document search capabilities via MCP.

What is needed to run ClickHouse Loom?

A self-hosted Loom server via Docker or Kubernetes, along with a ClickHouse or Postgres database for memory storage.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open