ChatCrystal MCP Server

Local-first AI PKM memory for coding conversations.

Local serverstdio

What is the ChatCrystal MCP server?

Connect ChatCrystal to Claude, Cursor or any other MCP client and it stops being a tab you switch to. Local-first AI PKM memory for coding conversations. The chatcrystal mcp server is what makes that connection.

What the server does

ChatCrystal is a local-first AI PKM app for developers who solve real problems with Claude Code, Cursor, Codex CLI, Trae, and GitHub Copilot.

  • Imports AI coding conversations — from local tool data directories
  • Distills conversations into structured notes — with titles, summaries, conclusions, snippets, and tags
  • Searches knowledge semantically — with embeddings and relation-aware result expansion
  • Builds a tag knowledge graph — where knowledge points are tags and edges show normalized co-occurrence
  • Exposes CLI and MCP tools — so agents can recall and write back reusable experience
  • Runs locally — with configurable LLM and embedding providers

Installation

chatcrystal on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Credentials and setup notes

Configuration is passed through the environment: CHATCRYSTAL_API_TOKEN, CHATCRYSTAL_DOCKER_LLM_BASE_URL, CHATCRYSTAL_DOCKER_EMBEDDING_BASE_URL. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Node.js >= 20 - An LLM provider for summarization - An embedding provider for semantic search LLM and embedding providers are configured separately. Large language models such as Claude, GPT, and Qwen are not embedding models. See the user guide for provider examples.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Where it fits

Among the knowledge and memory options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. It is maintained by ZengLiangYi; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

How to install the ChatCrystal MCP server

{
  "mcpServers": {
    "chatcrystal": {
      "command": "npx",
      "args": ["-y", "chatcrystal"],
      "env": {
        "CHATCRYSTAL_API_TOKEN": "your-value",
        "CHATCRYSTAL_DOCKER_LLM_BASE_URL": "your-value",
        "CHATCRYSTAL_DOCKER_EMBEDDING_BASE_URL": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js >= 20 - An LLM provider for summarization - An embedding provider for semantic search LLM and embedding providers are configured separately. Large language models such as Claude, GPT, and Qwen are not embedding models. See the user guide for provider examples.
VariableDescriptionRequired
CHATCRYSTAL_API_TOKENCredential the server authenticates with.Yes
CHATCRYSTAL_DOCKER_LLM_BASE_URLEndpoint or connection string the server talks to.Yes
CHATCRYSTAL_DOCKER_EMBEDDING_BASE_URLEndpoint or connection string the server talks to.Yes

Frequently asked questions

It connects ChatCrystal to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with ChatCrystal directly.