A Model Context Protocol (MCP) server that provides AI agents with persistent memory and semantic file discovery.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"rlm-memory": {
"args": [
"D:\\rlm_memory\\rlm-memory-mcp-server\\dist\\index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Recursive Large Model (RLM) Memory System - A Model Context Protocol (MCP) server that provides AI agents with persistent memory and semantic file discovery.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in productivity
Persistent memory using a knowledge graph
Dynamic problem-solving through sequential thought chains
mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local
MCP server for monday.com integration.
MCP Security Weekly
Get CVE alerts and security updates for RLM Memory MCP Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Persistent memory + semantic file discovery for ANY AI coding agent.
Works with Claude Code, OpenAI Codex, Gemini CLI, Cursor, Windsurf — anything that speaks MCP.
AI agents forget everything between sessions. This MCP server fixes that:
The core idea (Recursive Large Model): the agent stays intentionally "blind" to the filesystem and uses the MCP as its eyes and memory — making it faster, cheaper, and more focused.
┌────────────────────────────────────────────────────────┐
│ AI Agent (Claude Code, Codex, Gemini CLI, Cursor...) │
│ │
│ "User wants to fix login" ──► rlm_query │
│ ◄── relevant files+history │
│ [does the work] │
│ "Here's what I changed" ──► rlm_smart_memory │
└────────────────────────────────────────────────────────┘
│ stdio (MCP)
┌────────────────────────────────────────────────────────┐
│ RLM Memory MCP Server │
│ • JSON storage per project (projects/<name>/.rlm/) │
│ • AI-powered matching via OpenRouter or Gemini │
│ • Web UI for you at http://localhost:3848 │
└────────────────────────────────────────────────────────┘
git clone https://github.com/jumpino27/RLM-Memory-MCP-Server.git
cd RLM-Memory-MCP-Server
npm install
npm run build
Copy .env.example to .env and set one key:
# Option A (recommended): OpenRouter — one key, any model
# https://openrouter.ai/keys
OPENROUTER_API_KEY="sk-or-..."
# Option B: Google Gemini direct — https://aistudio.google.com/
# GEMINI_API_KEY="..."
google/gemini-3.5-flash by default — fast, cheap, near-Pro quality.gemini-3.5-flash.Want a different model? Set LLM_MODEL (e.g. anthropic/claude-haiku-4.5 or openai/gpt-4o-mini on OpenRouter). See .env.example for all options.
Replace C:\\path\\to with where you cloned the repo.
Claude Code (one command):
claude mcp add rlm-memory -- node C:\\path\\to\\RLM-Memory-MCP-Server\\dist\\index.js
OpenAI Codex CLI — add to ~/.codex/config.toml:
[mcp_servers.rlm-memory]
command = "node"
args = ["C:\\path\\to\\RLM-Memory-MCP-Server\\dist\\index.js"]
Gemini CLI — add to ~/.gemini/settings.json:
{
"mcpServers": {
"rlm-memory": {
"command": "node",
"args": ["C:\\path\\to\\RLM-Memory-MCP-Server\\dist\\index.js"]
}
}
}
Any other MCP client: launch node dist/index.js over stdio.
💡 Tell your agent how to use it: copy the rules from example_agents.md into your agent's instructions file (
CLAUDE.md,AGENTS.md,.cursorrules, …).
First time on a project — index it once:
rlm_init → rlm_index_codebase → rlm_verify_index
Every task after that — three steps:
1. rlm_query "User wants X — which files?" → files + history + tips
2. (agent does the actual work)
3. rlm_smart_memory "Here's what I changed" → remembered forever
That's it. The more the agent works, the smarter the memor