hippocampus
It is an HTTP + MCP personal memory server that manages a graph knowledge base, technical observations, and conversation transcripts.
Personal graph memory: initialize/seed a database, create custom node/edge types, upsert entities, and link entities with typed directed edges.
Link & disambiguate: find candidate entities before creating them, merge duplicate nodes, and preserve provenance.
Capture reflections & attachments: store raw text as documents linked to entities, and attach files/images with SHA-based deduplication.
Explore & retrieve: get node neighborhoods, full node contents, provenance documents, and keyword (FTS5) search across names, summaries, and document text.
Visualize: fetch graph-ready subgraphs with color/icon metadata for rendering.
Technical memory (Engram-style): save, search, get, update, and list open observations/tasks with project/status/type metadata.
Conversation audit: import raw AI console transcripts, search them, and retrieve full conversation contents.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@hippocampus store this article about MCP and link it to my research node"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Hippocampus
Personal graph memory with an HTTP + MCP surface, a replacement for Obsidian/Engram.
Stack: uv · Python 3.11+ · SQLModel + SQLite (FTS5) · FastAPI + FastMCP · Typer · Rich.
Startup
uv sync # OBLIGATORIO
uv run hippocampus init <db-path> # bootstrap (crea BD + siembra)
uv run hippocampus serve # HTTP+MCP en 127.0.0.1:27130Subcommands: init, serve, mcp (stdio), graph (interactive HTML map, --tui for the table view), backup (SQL dump).
Related MCP server: MCP Memory
Architecture
Clean Architecture by layers (dependencies → inward):
api/— HTTP/MCP transport (zero logic).schemas/— API contract (Pydantic, D26).core/— Domain (search-and-link, graph, technique).db/,models/— Persistence (SQLModel, FTS5, seed).
Two isolated spaces by construction (no space column):
Personal (graph): nodes → edges → documents + attachments. Replaces Obsidian.
Technical (Engram-style):
observationswith status/type. Replaces Engram.
See docs/sdd-hippocampus.md (complete SDD) and docs/todo-hippocampus.md (checklist) for details.
Docs
docs/architecture.md— principles and structure.docs/data-model.md— ER schema (8 tables + FTS).docs/core-services.md— domain services (search-and-link).docs/http-mcp-api.md— transport (15 tools).docs/e2e-flows.md— real verified flows.docs/startup-and-init.md— startup + NO_INIT.docs/untime-launchd.md— session autostart.docs/workspace-rewiring.md— integration withpsychologist.
Specs (private)
docs/specs/sdd-hippocampus.md— detailed design (decisions D1–D26, requirements R1–R13).docs/specs/todo-hippocampus.md— implementation checklist (Phase 0 complete).docs/specs/sdd-obsidian-migration.md— deterministic Obsidian→hippocampus migrator.
Available Tools
21 toolsconversation_getC
Transcript completo de una conversación, sin truncar (§3.15).
Inputs: id (required), only_len. Returns: object
conversation_importB
Importa un transcript crudo de una consola de IA (§3.15, D25). Idempotente por (source, external_id).
Inputs: title (required), source (required), content (required), project, +5 more. Returns: object
conversation_searchC
Recupera conversaciones de auditoría por FTS (título + contenido) (§3.15).
Inputs: query (required), source, project, only_len. Returns: object
personal_add_reflectionA
Guarda el texto crudo como documento y lo enlaza a las entidades (provenance, R5).
Inputs: text (required), related_ids. Returns: object
personal_attachB
Guarda un adjunto (imagen). Pasá data_base64 o source_path. Dedupe por sha (R12).
Inputs: mime (required), source, node_id, data_base64, +2 more. Returns: object
personal_create_typeA
Añade un tipo de nodo/arista al catálogo en runtime (D16). target ∈ node|edge.
Inputs: name (required), target (required), icon, color, +1 more. Returns: object
personal_find_entityA
Busca una entidad ANTES de crearla (buscar-y-enlazar, R3). Devuelve candidatos.
Inputs: query (required), type, only_len. Returns: object
personal_get_nodeA
Contenido completo de un nodo (fase B, DL2): summary completo + docs crudos sin truncar.
Atajo dirigido para leer todo lo que cuelga de un nodo tras verlo en el mapa
(personal_neighbors). not_found si el nodo no existe.
Inputs: id (required), only_len. Returns: object
personal_graphC
Subgrafo {nodes, edges} con color/icon, listo para visualizar (§3.10, D17).
Inputs: depth, focus_id, only_len. Returns: object
personal_initA
Arranque en frío (D18): crea/abre la BD en path, siembra tipos y el Self.
Delega la orquestación (init + persistir db_path) en bootstrap.initialize
—compartida con el CLI hippocampus init— y solo añade lo propio del servidor:
cachear el engine para que los siguientes requests no lo reconstruyan. Idempotente.
Inputs: path (required). Returns: object
personal_linkC
Crea una arista dirigida y tipada entre dos entidades (R4).
Inputs: dst (required), src (required), type (required), note, +3 more. Returns: object
personal_mergeA
Fusiona el nodo duplicado src en dst (superviviente) y borra src (F1, §5 riesgo #3).
Reapunta aristas, provenance y adjuntos al superviviente y funde los aliases, respetando los UNIQUE del esquema (atómico). No permite fusionar el 'Self' como origen.
Inputs: dst (required), src (required). Returns: object
personal_neighborsA
Mapa barato del vecindario: nodos + aristas + summary recortado + presupuesto (R6, DL1).
Fase A de la lectura en dos fases. Por default NO trae el texto crudo de los
documentos (documents=[]): eso es lo que explotaba el payload. Cada nodo lleva
doc_count/doc_char_count para que el agente decida qué expandir con
personal_get_node (fase B). summary_max_chars=0 desactiva el recorte.
include_documents=True recupera el volcado completo (reversible, DL5) — regla
dura: nunca con depth≥2 (satura ≈ el grafo entero).
Inputs: id (required), depth, only_len, include_documents, +1 more. Returns: object
personal_provenanceC
Documentos de los que salió un nodo (F1): el texto crudo asociado, no el nodo pelado.
Inputs: id (required), only_len. Returns: object
personal_searchA
Búsqueda keyword (FTS5) por nombre/alias/summary y texto de documentos (R7, DL4).
Primer paso del flujo: barato. Recorta en el borde el summary de los nodos y
el text de los documentos hit, y expone hints (*_truncated/*_full_chars) +
doc_count/doc_char_count por nodo. Expandí el crudo completo con
personal_get_node. summary_max_chars=0/text_max_chars=0 desactivan el recorte.
Inputs: query (required), only_len, text_max_chars, summary_max_chars. Returns: object
personal_upsert_entityC
Crea/actualiza una entidad; reusa el id si ya existe (R3).
Inputs: name (required), type (required), aliases, summary. Returns: object
tech_getB
Contenido completo de una observación, sin truncar (como mem_get_observation) (R8).
Inputs: id (required), only_len. Returns: object
tech_list_openA
Lista las tareas abiertas (type='task', status='open') (R8).
Inputs: project, only_len. Returns: object
tech_saveC
Guarda una observación/mensaje (como mem_save). project = basename del repo (D13, R8).
Inputs: title (required), content (required), type, files, +6 more. Returns: object
tech_searchB
Recupera observaciones por FTS (como mem_search) (R8).
Inputs: query (required), project, only_len. Returns: object
tech_updateB
Actualiza una observación, p. ej. cerrar una tarea con status='done' (R8).
Inputs: id (required), files, status, content, +2 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
The three prefixed domains (personal/tech/conversation) are clearly separated, and most tools target a distinct resource or action. Within personal, however, personal_provenance and personal_get_node both expose raw document text, and personal_neighbors/personal_graph both return graph-like views, requiring careful reading of descriptions.
The personal_/tech_/conversation_ prefixes create clear namespaces, and most tools follow a verb_noun pattern. A few personal_ names are bare nouns (provenance, neighbors, graph) rather than action verbs, which is a minor but noticeable inconsistency.
21 tools is on the heavy side for a single MCP server, even though the load is distributed across three distinct modules. The count feels manageable but exceeds the typical well-scoped range.
Core workflows are well covered: creating and linking entities, adding documents/attachments, searching and retrieving content, updating tech observations, and importing/auditing conversations. The main gaps are the lack of a general delete/detach operation and limited batch listing, but these can usually be worked around.
Maintenance
Related MCP Connectors
Personal knowledge graph as an AI memory layer over MCP - read, save, and link your memories.
Persistent, portable memory for AI assistants — your private memory graph, from any MCP client.
Linked markdown notes as memory for AI apps: search, read, save and link notes over MCP.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Related MCP Servers
AlicenseNot gradedqualityCmaintenancePersistent graph-based memory for AI agents, stored as plain markdown — no vector DB. Typed nodes and 11 relation types via 5 MCP tools (search, get, create, link, related), stdio and HTTP/SSE transports.3MIT- AlicenseNot gradedqualityBmaintenanceEnables AI agents and any MCP-compatible client to persist, search, update, and delete plain-text memories across sessions, using BM25 lexical ranking over SQLite FTS5 with namespace filtering, tags, free-form metadata, and JSONL export/import — entirely local, with zero external infrastructure.1MIT
- FlicenseNot gradedqualityAmaintenanceEnables creating, linking, searching, exploring, and synthesizing atomic notes as a knowledge graph through MCP-compatible clients such as Claude. Supports tags, note types, semantic relationships, Markdown storage, and an SQLite index for efficient traversal.-
- AlicenseAqualityBmaintenanceGives every AI agent on a machine a shared, local-first long-term memory: 16 tools to save, search, edit and organize structured notes in one SQLite file, with attribution per client. Runs over stdio or localhost HTTP, so Claude Code, omp and any other MCP client recall the same facts, decisions and entities.162MIT