HippoMCP
Local-first long-term memory for agents, with Chinese support and session continuity
HippoMCP 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, macOS
- Runs
- Locally
- What it can do
- Can change data (1 tool)
- Version
- 0.2.2
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add hippocampus-mcp -- uvx hippocampus-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": {
"hippocampus-mcp": {
"command": "uvx",
"args": [
"hippocampus-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"hippocampus-mcp": {
"command": "uvx",
"args": [
"hippocampus-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"hippocampus-mcp": {
"command": "uvx",
"args": [
"hippocampus-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"hippocampus-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"hippocampus-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 hippocampus-mcp -- uvx hippocampus-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.hippocampus-mcp]
command = "uvx"
args = ["hippocampus-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"hippocampus-mcp": {
"command": "uvx",
"args": [
"hippocampus-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "hippocampus-mcp": { "command": "uvx", "args": [ "hippocampus-mcp" ] } } }Or run: gemini mcp add -s user hippocampus-mcp uvx -- hippocampus-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "hippocampus-mcp": { "command": "uvx", "args": [ "hippocampus-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": { "hippocampus-mcp": { "command": "uvx", "args": [ "hippocampus-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": { "hippocampus-mcp": { "command": "uvx", "args": [ "hippocampus-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "hippocampus-mcp": { "command": "uvx", "args": [ "hippocampus-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": { "hippocampus-mcp": { "command": "uvx", "args": [ "hippocampus-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "hippocampus-mcp": { "command": "uvx", "args": [ "hippocampus-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "hippocampus-mcp": { "command": "uvx", "args": [ "hippocampus-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.
About HippoMCP
HippoMCP keeps original input in a raw layer (L0), extracts deduplicated facts and entity links from it, and retrieves with hybrid semantic and BM25 search, then trims results with fusion and MMR into five budgeted context slots. Its core ingestion path needs no LLM API, and the host agent does the reasoning. The README is explicit that it is a single-machine, local-first service, not cloud sync, and not an agent-to-agent or knowledge-graph reasoning tool.
Session handling is a focus. A session start tool builds a bootstrap of pinned facts, open todos, recent sessions and unfinished topics, and session end saves intents and summaries so the next session does not start blank. Memories carry active, superseded or archived states with source tracing, and deletion cascades into summaries, profiles and indexes, with tombstones to stop facts coming back.
Chinese is handled natively: on a Chinese system it selects a BGE embedding model (other systems get MiniLM), segments Chinese sentences, and handles Chinese bigrams in lexical search. It is meant to sit beside AGENTS.md and MEMORY.md rather than replace them. Install with pip install hippocampus-mcp on Python 3.11+.
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, 1 of 7 tools changes data; 4 names don't say.
From the server's own tool labels and tool names; not verified by us.
- ingest
- Stores original input and extracts deduplicated facts.
- get_memory_contextName suggests: reads
- Assembles relevant context within budgeted slots.
- session_startName suggests: changes
- Builds a task-oriented bootstrap for a new session.
- session_end
- Saves intents, summaries and open topics.
- forget_memory
- Deletes a memory with cascade into derived data.
- forget_by_queryName suggests: reads
- Previews and removes memories matching a query.
- library_whoami
- Reports which library the client is bound to.
What it does
- Layered memory
- Stores raw input, extracts deduplicated facts and links entities.
- Hybrid retrieval
- Combines semantic and BM25 search with fusion and MMR.
- Session bootstrap
- Starts sessions with pinned facts, open todos and unfinished topics.
- Safe forgetting
- Cascade-safe deletion with preview-first forget by query and tombstones.
- Native Chinese support
- Chinese segmentation, bigram search and BGE embeddings.
- Scoped libraries
- Separate project and user memory shared across connected agents.
Good for
- Carry unfinished work across agent sessions
- Search large document sets without rereading them each time
- Share project memory between several agents on one machine
- Correct or remove wrong facts without leaving copies behind
- Keep Chinese-language project knowledge searchable
Pricing
Open source
Free to install from PyPI
HippoMCP FAQ
Does HippoMCP need an LLM API?
Not for its core ingestion path, according to the README; the host agent does the reasoning.
Is HippoMCP a cloud service?
No. It is a single-machine, local-first service and does not offer managed cloud sync.
Does HippoMCP replace AGENTS.md or MEMORY.md?
No. The README says it complements them, adding deep searchable memory.
What Python version is required?
Python 3.11 or newer.
Which hosts does setup support?
The README's setup lists workbuddy, zcode, trae and claude.
Is HippoMCP free?
Yes. HippoMCP is open source, so you can use and self-host it for free.
How do I add HippoMCP to Claude Code?
Run this command in your terminal: claude mcp add hippocampus-mcp -- uvx hippocampus-mcp
What are the best alternatives to HippoMCP?
The closest alternatives to HippoMCP are Codebase Memory, XERJ, Claude Code Ultimate Guide, Nautilus Compass Memory and Myco: Agent-First Cognitive Substrate.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.



