cachly-mcp-server
Persistent AI memory for Claude Code, Cursor, GitHub Copilot & Windsurf — sessions, lessons learned, semantic search, and team brain. 38 MCP tools. Free tier, EU servers.
README
🧠 cachly AI Brain — MCP Server
Persistent memory for Claude Code, Cursor, GitHub Copilot & Windsurf.
Your AI remembers every lesson, every fix, every architecture decision — forever.
<p align="center"> <a href="https://github.com/cachly-dev/mcp-server/stargazers"> <img src="https://img.shields.io/github/stars/cachly-dev/mcp-server?style=social" alt="GitHub Stars" /> </a> <a href="https://www.npmjs.com/package/@cachly-dev/mcp-server"> <img src="https://img.shields.io/npm/v/@cachly-dev/mcp-server?color=red&logo=npm" alt="npm version" /> </a> <a href="https://www.npmjs.com/package/@cachly-dev/mcp-server"> <img src="https://img.shields.io/npm/dw/@cachly-dev/mcp-server?color=blue&label=weekly%20installs" alt="npm downloads" /> </a> <a href="https://cachly.dev"> <img src="https://img.shields.io/badge/Free%20tier-€0%2Fmo-brightgreen" alt="Free tier" /> </a> <a href="https://cachly.dev/legal"> <img src="https://img.shields.io/badge/GDPR-EU%20only-green" alt="GDPR: EU only" /> </a> <img src="https://img.shields.io/badge/License-Apache--2.0-yellow" alt="License: Apache-2.0" /> </p>
The Problem
Every morning, you open your AI coding assistant. It doesn't remember yesterday.
You explain your architecture. You explain the deployment process. You explain the bug you fixed last week.
The average developer wastes 45 minutes/day re-establishing context. That's €15,000+ in lost productivity per engineer per year.
The Fix — One Command
npx @cachly-dev/mcp-server@latest setup
The interactive wizard:
- Signs you in (free, no credit card required)
- Picks or creates your AI Brain instance
- Auto-detects Cursor, Windsurf, VS Code, Claude Code, Continue.dev
- Writes the correct MCP config for every detected editor
- Creates
CLAUDE.mdwith memory rules pre-filled
Result: Your AI remembers everything. Always.
Quick Start (Manual)
Step 1 — Get your free credentials at cachly.dev (25 MB free, forever, no credit card).
Step 2 — Add to your editor's MCP config:
<details> <summary><b>Claude Code</b> (<code>~/.claude/mcp.json</code> or <code>.mcp.json</code>)</summary>
{
"mcpServers": {
"cachly": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cachly-dev/mcp-server"],
"env": {
"CACHLY_JWT": "your-jwt-token",
"CACHLY_INSTANCE_ID": "your-instance-id"
}
}
}
}
</details>
<details> <summary><b>Cursor / Windsurf / VS Code</b> (<code>.cursor/mcp.json</code> / <code>.mcp.json</code>)</summary>
{
"servers": {
"cachly": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cachly-dev/mcp-server"],
"env": {
"CACHLY_JWT": "your-jwt-token",
"CACHLY_INSTANCE_ID": "your-instance-id"
}
}
}
}
</details>
Step 3 — Add to CLAUDE.md / .github/copilot-instructions.md:
## AI Brain Rules (cachly)
- Call session_start BEFORE reading any files or making changes
- Call learn_from_attempts AFTER every fix, deploy, or discovery
- Call session_end when closing the window
With vs. Without cachly
| Situation | Without cachly | With cachly |
|---|---|---|
| Session start | "What's your architecture?" | "Ready. 23 lessons, last session: deployed API." |
| Known bug hits again | Re-researches from scratch | "You fixed this on March 12, here's the exact command" |
| After holiday / team handoff | Context dead | Fully briefed in < 10 seconds |
| Repeated LLM patterns | Pays for each re-discovery | Cached by meaning, ~1,200 tokens saved per hit |
| New team member | Weeks to onboard | session_start gives full context instantly |
38 MCP Tools
🧠 Session & Memory (most used)
| Tool | What it does |
|---|---|
session_start |
Full briefing: last session summary, open failures, recent lessons, brain health |
session_end |
Save what you built, auto-extract lessons from summary |
learn_from_attempts |
Store structured lessons after any fix, deploy, or discovery |
recall_best_solution |
Best known solution for a topic — with success/failure history |
remember_context |
Cache architecture findings, decisions, file summaries |
smart_recall |
BM25+ full-text search across all brain data |
session_handoff |
Hand off remaining tasks to next window, with context |
⚙️ Instance Management
| Tool | What it does |
|---|---|
list_instances |
List all your cache instances |
create_instance |
Spin up a new instance (free or paid) |
get_connection_string |
Get the redis:// URL for your app |
delete_instance |
Remove an instance |
get_real_time_stats |
Memory, hit rate, ops/sec |
🗄️ Cache Operations
| Tool | What it does |
|---|---|
cache_get / cache_set / cache_delete |
Standard cache operations |
cache_mget / cache_mset |
Bulk pipeline (single round-trip) |
cache_lock_acquire / cache_lock_release |
Distributed Redlock-lite |
cache_stream_set / cache_stream_get |
LLM token stream caching |
🔍 Semantic Cache
| Tool | What it does |
|---|---|
semantic_search |
Find cached entries by meaning (pgvector HNSW, EU-hosted) |
semantic_warmup |
Pre-warm cache with prompt/response pairs |
detect_namespace |
Auto-classify prompt into code/qa/summary/translation/creative |
👥 Team Brain
| Tool | What it does |
|---|---|
team_learn / team_recall |
Share lessons across the team |
global_learn / global_recall |
Cross-project universal lessons |
list_orgs / create_org |
Manage team organizations |
invite_member |
Invite a developer to your org by email |
Pricing
| Tier | RAM | Price | Best for |
|---|---|---|---|
| Free | 25 MB | €0/mo forever | Dev & side projects |
| Dev | 200 MB | €19/mo | Individual developers |
| Pro | 900 MB | €49/mo | Teams |
| Speed | 900 MB + Dragonfly + Semantic Cache | €79/mo | AI-heavy workloads |
| Business | 7 GB | €199/mo | Scale-ups |
✅ All plans: German servers · GDPR-compliant · 99.9% SLA · No credit card for Free tier
Environment Variables
| Variable | Default | Description |
|---|---|---|
CACHLY_JWT |
— | Required. Your API token from cachly.dev |
CACHLY_INSTANCE_ID |
— | Default instance UUID (optional if you pass per-call) |
CACHLY_API_URL |
https://api.cachly.dev |
Override for self-hosted |
CACHLY_NO_TELEMETRY |
unset | Set to 1 to disable anonymous usage pings |
CACHLY_NO_UPDATE_CHECK |
unset | Set to 1 to disable the version-check on startup |
Links
- 🌐 cachly.dev — Dashboard & free signup
- 📖 AI Brain docs — Full documentation
- 💬 GitHub Issues — Bug reports & feature requests
- ⭐ Star on GitHub — If cachly saves you time, a star means a lot!
- 📦 npm
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。