Memrain — AI skill for Claude Code
Self-hosted memory for your AI agents: hybrid vector + keyword + entity-graph search over your notes and code, with cited sources, served over MCP to Claude Code, Cursor and Codex.
How to install Memrain
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open timurgaleev/memrain and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Memrain does
Self-hosted memory for your AI agents: hybrid vector + keyword + entity-graph search over your notes and code, with cited sources, served over MCP to Claude Code, Cursor and Codex. Runs in your own AWS account with team access controls, per-caller spend caps and zero telemetry. MIT.
Alternatives in AI
- Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
- Codeseek — Rust-powered code intelligence CLI for AI coding agents 764 ★
- Browser Search — A skill for AI agents: search the web with SearXNG, browse with Camofox, bypass protections with CloakBrowser 499 ★
README
Memrain
Memrain is a self-hosted memory server for your AI agents. It indexes your markdown notes and your code (TypeScript, Python, Go, Bash, SQL), and it answers any MCP client with cited evidence from hybrid vector + keyword + entity-graph search.
[](./LICENSE)   
Your notes, index and database stay in your AWS account. Only what an agent retrieves goes to that agent's model.
See it work
Connect once, then ask in plain words. Memrain returns the evidence, cited to the exact page. Your agent writes the answer.
claude mcp add --transport http memrain https://./mcp \
--header "Authorization: Bearer "
See a full search with --explain
On the host, the CLI runs the same retrieval the MCP `search` tool does, and `--explain` stamps per-signal ranking attribution on every hit:
docker exec deploy-memrain-1 bun run src/cli.ts search "" --k 5 --explain
What you get
You write notes, decisions and code, and six months later neither you nor your agent can find them. Memrain reads all of it once, keeps it searchable, and hands
Related Skills
Reporecall
Local codebase memory for Claude Code. Tree-sitter AST indexing (22 languages), hybrid keyword + vector search
Mnemon
Self-hosted, cross-device long-term memory for AI agents via MCP — one vault shared across any MCP client (Cla
RAG Sys
Deep Research Agent demo (React + Python FastAPI + ArangoDB) built with Claude Code under a defined plan → imp
Recollect
Self-hosted AI memory and MCP coordination for coding agents. Persistent context across repositories and sessi
Nexus Memory
Universal Memory Layer for AI Agents — self-hosted, hybrid search, 3-way: Hermes Plugin · OpenClaw Plugin · MC
Qsearch
Open-source search API for AI agents — corpus-first hybrid search with x402 micropayments. Self-hosted; bundle
Related Agents
Brain Retrieval Engineer
Retrieval engineer — six retrieval strategies (hybrid, graph-enhanced vector, entity-anchored local, guarded T
Python RAG Backend Engineer
Production-grade Python RAG backend engineer specializing in ChromaDB vector storage, sentence-transformers em
Duplication Detector
Detects stories with overlapping implementation concerns using hybrid keyword pre-filter and LLM semantic veri