Rlm Infinite Memory For Claude Code
@EncrEor
关于 Rlm Infinite Memory For Claude Code
Recursive Language Models for Claude Code - Infinite memory solution inspired by MIT CSAIL paper
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"rlm-server": {
"command": "python3",
"args": [
"/path/to/rlm-claude/mcp_server/server.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Rlm?
Rlm is an MCP server that gives Claude Code persistent memory across sessions. It solves the problem of context window limits and the loss of conversation history after /compact, allowing users to save and recall decisions, facts, and conversation segments. It is designed for Claude Code users who need long-term memory.
How to use Rlm?
Install Rlm via pip, uv, Git, or Docker (requires Python 3.10+ and Claude Code CLI). After installation, Rlm is automatically configured with zero additional setup. Use its 14 tools, such as rlm_remember() and rlm_recall(), to save and retrieve insights; rlm_chunk() and rlm_peek() for conversation history; and rlm_search() for hybrid search. Hooks auto-save before context loss.
Key features of Rlm
- 14 tools for memory and conversation management
- Auto-save before
/compactor auto-compact (PreCompact hook) - Two memory systems: Insights (key decisions) and Chunks (full conversation)
- Multi-project organization with auto-detection from git/working directory
- Smart retention with 3-zone lifecycle (Active, Archive, Purge)
- Hybrid semantic search (BM25 + cosine similarity, optional)
- Sub-agent skills for chunk analysis (
/rlm-analyze,/rlm-parallel)
Use cases of Rlm
- Remembering client preferences and project decisions across sessions
- Recalling past architectural choices and findings
- Organizing conversation history by project or domain
- Searching for specific content with regex, fuzzy, or semantic queries
- Automatically saving context before a session is compacted
FAQ from Rlm
How does Rlm differ from Letta/MemGPT?
Rlm works natively with Claude Code via MCP, while Letta/MemGPT requires its own runtime. Rlm offers auto-save before compact, hybrid search (regex + BM25 + semantic), fuzzy search, multi-project support, smart retention, and sub-agent analysis—all with zero-config installation.
What are the installation requirements?
Rlm requires Python 3.10+ and the Claude Code CLI. It can be installed via pip install mcp-rlm-server[all], uv, Git, or Docker.
Where does Rlm store data?
Data is stored in ~/.claude/rlm/ by default. This includes session memory (insights), chunk index, conversation chunks, compressed archives, and optional semantic embeddings.
Does Rlm automatically save conversation history?
Yes. Rlm hooks into Claude Code’s /compact event (PreCompact hook) to automatically save a snapshot of the current conversation before context is wiped. No manual action is needed.
What search capabilities does Rlm offer?
Rlm provides regex search (rlm_grep), BM25 keyword search (rlm_search), and optional hybrid semantic search (BM25 + cosine similarity) using Model2Vec (fast, default) or FastEmbed (more accurate). Fuzzy matching is available for typo-tolerant searches.
AI 与智能体 分类下的更多 MCP 服务器
MCP-LLM Bridge
patruffBridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Sequential Thinking Multi-Agent System (MAS)
FradSerAn advanced sequential thinking process using a Multi-Agent System (MAS) built with the Agno framework and served via MCP.
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
Unreal Engine Generative AI Support Plugin
prajwalshettydevUnreal Engine plugin for LLM/GenAI models & MCP UE5 server. OpenAI GPT-5, Deepseek R1, Claude Opus/Sonnet, Gemini 3, Grok 4, Alibaba Qwen, Kimi, ElevenLabs TTS, Inworld, OpenRouter, Groq, GLM, Ollama, Local, Meshy, Tripo, Hunyuan3D, Rodin, fal, Dashscope, Seedream. NPC AI, agenti
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
评论