Hot Memory MCP
Two-tier memory for Claude Code: a hook-injected hot cache plus semantic recall
Hot Memory MCP is an open-source MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- Version
- 0.9.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add hot-memory-mcp -- uvx hot-memory-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"hot-memory-mcp": {
"command": "uvx",
"args": [
"hot-memory-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"hot-memory-mcp": {
"command": "uvx",
"args": [
"hot-memory-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"hot-memory-mcp": {
"command": "uvx",
"args": [
"hot-memory-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"hot-memory-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"hot-memory-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add hot-memory-mcp -- uvx hot-memory-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.hot-memory-mcp]
command = "uvx"
args = ["hot-memory-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"hot-memory-mcp": {
"command": "uvx",
"args": [
"hot-memory-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "hot-memory-mcp": { "command": "uvx", "args": [ "hot-memory-mcp" ] } } }Or run: gemini mcp add -s user hot-memory-mcp uvx -- hot-memory-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "hot-memory-mcp": { "command": "uvx", "args": [ "hot-memory-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "hot-memory-mcp": { "command": "uvx", "args": [ "hot-memory-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "hot-memory-mcp": { "command": "uvx", "args": [ "hot-memory-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "hot-memory-mcp": { "command": "uvx", "args": [ "hot-memory-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "hot-memory-mcp": { "command": "uvx", "args": [ "hot-memory-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "hot-memory-mcp": { "command": "uvx", "args": [ "hot-memory-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "hot-memory-mcp": { "command": "uvx", "args": [ "hot-memory-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
MEMORY_MCP_DB_PATHPath to SQLite database fileMEMORY_MCP_EMBEDDING_MODELEmbedding model to use (default: all-MiniLM-L6-v2)
About Hot Memory MCP
Instead of relying on a tool call for every lookup, a plugin's SessionStart and UserPromptSubmit hooks print the most-used memories into context before the model starts. The hot cache holds around 10 items drawn from recent recalls, predicted next memories and promoted items. Everything else sits in cold storage in SQLite, searched by meaning in roughly 50 ms with sentence-transformers embeddings (about 90 MB download on first run).
It promotes memories used three or more times and demotes unused ones after 14 days, scopes facts by git repository, applies trust scoring so outdated facts sink, and links related memories in a knowledge graph. Tools include remember, recall, promote, demote, memory_stats, bootstrap_project and link_memories, with matching slash commands. A local dashboard at port 8765 browses memories, injection history and the graph.
Install with uv tool install hot-memory-mcp or pip, then run memory-mcp-cli bootstrap once to seed from project docs. MIT licensed.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 7 names don't say.
From the server's own tool labels and tool names; not verified by us.
- remember
- Stores a memory with a semantic embedding.
- recall
- Searches memories by meaning.
- promote
- Promotes a memory into the hot cache.
- demote
- Demotes a memory out of the hot cache.
- memory_stats
- Shows memory statistics.
- bootstrap_project
- Seeds memories from project docs.
- link_memories
- Creates knowledge graph connections between memories.
What it does
- Hook-injected hot cache
- Frequent memories reach context without a tool call.
- Semantic cold storage
- Search by meaning over everything else.
- Auto promotion
- Used 3+ times promotes; 14 days unused demotes.
- Per-repo isolation
- Project facts are separated by git repository.
- Knowledge graph
- Link related memories for multi-hop recall.
- Local dashboard
- Browse memories and injection history.
Good for
- Stop re-explaining project architecture each session
- Seed memories from project docs
- Recall past decisions by meaning
- Inspect what was injected into a session
Pricing
Open source
MIT licensed; local SQLite storage
Hot Memory MCP FAQ
Where is data stored?
In a local SQLite file; the path is set with MEMORY_MCP_DB_PATH.
Which embedding model is default?
all-MiniLM-L6-v2.
Is a plugin required?
Recommended, since it configures hooks and slash commands, but a manual config is possible.
What does Hot Memory MCP cost?
It is MIT licensed.
How do I add Hot Memory MCP to Claude Code?
Run this command in your terminal: claude mcp add hot-memory-mcp -- uvx hot-memory-mcp
What are the best alternatives to Hot Memory MCP?
The closest alternatives to Hot Memory MCP are REA, Context7, Chrome DevTools MCP, Codebase Memory and GitHub.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.


