Cachly MCP logo

Cachly MCP

by cachly-dev

Persistent MCP memory for coding agents, with session briefings, lesson recall, team knowledge, project indexing, and cache operations.

Install Cachly MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "cachly-dev-cachly-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@cachly-dev/mcp-server@latest"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

cachly-dev/cachly-mcp connects coding agents to Cachly’s persistent AI memory over MCP. It stores lessons, context, session handoffs, roadmap items, and shared team knowledge, then retrieves them through exact, BM25, semantic, and causal searches. Session tools brief an agent at startup and preserve progress when a chat window closes, while Git-based tools can bootstrap or extend the knowledge base. Reach for it when coding work spans sessions, editors, or teammates and agents need access to prior fixes and project context.

Use cases

  • Brief an agent with prior sessions, lessons, failures, and open work
  • Preserve progress between chat windows with detailed handoffs
  • Search cached project context and indexed source files by meaning
  • Share coding lessons and expertise across a team
  • Bootstrap agent memory from Git history

Key features

  • Persistent lessons, context, sessions, and roadmaps
  • BM25, semantic, and causal memory search
  • Team-shared Brain knowledge with author attribution
  • Git history and commit-based learning
  • Project indexing with semantic file lookup
  • Cache and specialist-tool dispatcher

Tools27

What Cachly MCP lets your agent do. Expand a tool for its parameters.

Verified live~7.7k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

21/21 checks healthy over the last 88d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · @cachly-dev/mcp-server@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads15kPackage downloads in the last 30 days.
Last commit1d agoMost recent push to the default branch.
Tools exposed27Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Cachly MCP works

What cachly-dev/cachly-mcp does

cachly-dev/cachly-mcp gives coding agents a persistent memory layer connected to Cachly. Agents can save context, lessons, session summaries, handoffs, roadmap items, and shared team knowledge, then retrieve that information during later tasks. The service also exposes cache operations for key-value data and a dispatcher for specialist Cachly functions.

The memory is organized around a Brain stored on EU servers. Lessons can record topics, outcomes, successful approaches, failed attempts, severity, file paths, commands, and authors. Shared lessons help teammates learn from one another, while roadmap records preserve planned, active, blocked, and completed work.

How it works

At the beginning of a work period, session_start returns a briefing with the previous session, recent and relevant lessons, open failures, roadmap information, team discoveries, predictive warnings, and older condensed knowledge. session_end records accomplishments, changed files, and lesson counts. session_handoff preserves progress and remaining tasks for the next chat window.

smart_recall searches remembered context by meaning, while brain_search searches more broadly across lessons, context, sessions, knowledge-graph data, and roadmap items. recall_best_solution finds the strongest known solution for a topic. causal_trace follows stored relationships from a symptom toward a root cause and a previously successful fix. brain_predict uses stored knowledge to surface likely failure patterns.

Git-oriented tools can infer lessons from commit history, and session completion can learn from commits made during the session. index_project stores file summaries and paths for later semantic lookup rather than requiring an agent to reread the entire project.

Setup and configuration

Claude Code can install the Cachly plugin through its marketplace commands. Other supported editors can use the autopilot command, which detects editors, writes their MCP configuration and instruction files, and adds a Git hook for learning from commits. A browser sign-in associates the Brain with an account; without a key, the first session can create a test Brain on EU servers.

The npm package can also be run with the @latest tag. The VS Code extension and JetBrains plugin provide editor-specific setup paths. After configuration, restart the editor. claude mcp list can verify the Claude Code connection.

Tools and capabilities

  • Save and retrieve project context with remember_context, recall_context, list_remembered, and forget_context.
  • Record and recall lessons with learn_from_attempts and recall_best_solution.
  • Brief, close, and hand off sessions with session_start, session_end, and session_handoff.
  • Share knowledge through team_learn and team_recall.
  • Manage persistent work with roadmap_add, roadmap_update, roadmap_list, and roadmap_next.
  • Search memory using semantic, BM25-based, or causal queries.
  • Inspect Brain health with brain_doctor and related analytics tools.
  • Store, retrieve, and search cache values through the cache tools.
  • Access less frequently used specialist functions through cachly_tool; calling it with describe:true returns a tool schema before execution.

Limitations and notes

Semantic search and project indexing require an embedding provider. The documented options include OPENAI_API_KEY or a compatible provider configuration; vector search also requires the appropriate Cachly tier and CACHLY_VECTOR_URL. Exact key lookup and context recall are separate from semantic search, so the matching tool depends on whether the agent knows the key or only the meaning.

Some editors receive MCP instructions automatically, while others rely on the rule files created by autopilot. The autopilot command writes configuration files and can overwrite an existing target file. Cached project entries from index_project use a 24-hour TTL and should be refreshed after major refactors. Lessons and other Brain data can be exported with the package’s export command.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Cachly MCP

cachly-dev/cachly-mcp is an MCP server that connects coding agents to Cachly’s persistent AI memory and cache services. Its main tools save and recall lessons, project context, session briefings, handoffs, team knowledge, roadmaps, semantic searches, causal traces, predictions, and key-value cache entries across work sessions.

Install it through the Claude Code plugin marketplace or run the package’s `autopilot` command for supported editors. Autopilot writes MCP configuration and editor rule files, adds a Git learning hook, and starts browser-based account setup. Restart the editor after configuration.

Yes, Cursor is supported. Run `npx @cachly-dev/mcp-server@latest autopilot` to configure the editor and create its Cachly rule file, then restart Cursor. The setup can also sign you in and create or connect the persistent Brain.

Yes, `semantic_search` finds cached entries similar to a natural-language query, and `smart_recall` searches remembered context by meaning. Embedding-based search requires an embedding provider; the documented setup uses an OpenAI-compatible key, with vector search requiring the appropriate Cachly tier and vector URL.

Call `learn_from_attempts` after a non-trivial task, providing the topic, outcome, and what worked or failed. Later, call `recall_best_solution` before attempting the same kind of task. Team-wide lessons use `team_learn` and require an author name.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCachly MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/cachly-dev-cachly-mcp?style=directory)](https://allmcps.com/mcp/cachly-dev-cachly-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/cachly-dev-cachly-mcp"><img src="https://allmcps.com/api/badge/cachly-dev-cachly-mcp?style=directory" alt="Cachly MCP on AllMCPs" /></a>