Hipocampo logo

Hipocampo

by carrasquelalex1

Persistent PostgreSQL and pgvector memory for agents, with hybrid search, profiles, compression, graph links, and maintenance tools.

Install Hipocampo

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://alexbell1-hipocampo-mcp.hf.space/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

carrasquelalex1/hipocampo MCP server stores and retrieves agent memories in PostgreSQL 17 with pgvector, separating technical records from personal profile data. It exposes tools for hybrid search, direct retrieval, saving, updating, compression, graph navigation, project indexing, and database maintenance. Streamable HTTP is the recommended remote transport, with a local Python entry point also available. Reach for it when an agent needs persistent cross-session context, searchable project knowledge, or structured memory lifecycle operations.

Use cases

  • Persist technical decisions across agent sessions
  • Search indexed project source files by meaning and metadata
  • Store and retrieve user profile preferences
  • Compress retrieved memories before sending them to another model
  • Maintain and navigate relationships between memories

Key features

  • Hybrid structured, lexical, and semantic memory search
  • Separate technical and personal memory stores
  • Background embeddings and duplicate detection
  • Hierarchical memory levels with consolidation
  • Memory graph links, traversal, and shortest paths
  • Project source indexing and context preloading

Tools40

What Hipocampo lets your agent do. Expand a tool for its parameters.

Verified live~8.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

19/19 checks healthy over the last 80d

What it can do

From the 40 tools this server returned when we ran it.

Can delete or modify data · 3Handles credentials · 1Makes network requests · 4Read-only tools · 37
Tool definitions changed on 2026-10-21. Review them if you approved this server earlier.

Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars5Stargazers on the source repository.
Last commit4d agoMost recent push to the default branch.
Tools exposed40Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Hipocampo works

What carrasquelalex1/hipocampo does

carrasquelalex1/hipocampo is a 🧠 Knowledge & Memory server for persistent agent context. It uses PostgreSQL 17 and pgvector to store technical memories in memoria_vectorial and personal profile information in memory_items. The two storage paths are exposed separately: technical records can carry memory types, codes, categories, sessions, hierarchy levels, and metadata, while profile records hold concise personal facts and optional extra text.

The server supports hybrid retrieval through search_hipocampo and its shorter alias, quick_hipocampo_search. Queries may combine free text with filters such as code, category, memory level, ID, session, and date. Results can be compact, full, or JSON, with optional scores and channel explanations. get_hipocampo provides deterministic lookup by a numeric ID, # or v form, or a vmi identifier.

How it works

Saving is non-blocking. A new technical memory is inserted immediately and remains searchable by text while its embedding is generated in the background. The background process can perform semantic duplicate checks, create similarity links, and audit contradictions. A near-identical trigram match prevents saving unless force is enabled.

Retrieval can use Sparse Selective Caching with progressive phases covering structured filters, vector search, lexical matching, and fallback text matching. The material also describes a hybrid retrieval engine using embeddings, lexical expansion, and trigram search. compress_hipocampo searches first and then applies extractive, LLM, or hybrid compression. preload_context performs a project-oriented retrieval and returns a compressed context summary.

Memory lifecycle controls include episodic, semantic, and automatic levels. Consolidation can promote older episodic records, while review can downgrade unused automatic rules. Checkpointing compresses older memories and can preserve snapshots for rollback. The memory graph supports typed links, graph traversal, and shortest-path searches.

Setup and configuration

A local installation is available through the repository's shell installer:

Terminal
curl -fsSL https://raw.githubusercontent.com/carrasquelalex1/hipocampo/main/install.sh | bash

For unattended machines, the installer accepts --unattended. It is intended for Linux and macOS; Windows users need WSL2. The installer can set up PostgreSQL 17, pgvector, the database schema, a Python virtual environment, embedding options, MCP client configurations, and a weekly systemd maintenance timer. Options include an installation directory, external embedding API, disabling clients, disabling the timer, and disabling Ollama.

A hosted Streamable HTTP endpoint is also documented at https://alexbell1-hipocampo-mcp.hf.space/mcp. The hosted free-tier instance is ephemeral, so data may disappear after a restart or deployment. Run the server locally or connect an external database when persistence is required.

Tools and capabilities

carrasquelalex1/hipocampo includes tools for:

  • Saving, profiling, updating, deleting, and directly retrieving memories.
  • Searching, reranking, compressing, and preloading relevant context.
  • Linking memories, exploring the graph, and finding paths between nodes.
  • Indexing source files from PHP, JavaScript, TypeScript, Python, SQL, HTML, CSS, JSON, and YAML projects.
  • Detecting contradictions, validating immune rules, and managing hierarchy levels.
  • Running health checks, auto-repair, statistics, deduplication, checkpointing, rollback, tuning, and full maintenance.
  • Registering, listing, and removing webhooks triggered by matching memory content or metadata.

Limitations and notes

Several operations are destructive. Merging duplicates, executing checkpoint compression, tuning thresholds, deleting memories, and full maintenance can modify or remove data; preview modes are available for deduplication and checkpointing, while tuning is explicitly irreversible. NVIDIA API access may be used for configured reranking or LLM compression, while the documented hosted setup uses the Hugging Face Inference API for embeddings. SSE remains available for compatibility, but Streamable HTTP is the recommended transport.

The repository is licensed under MIT.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Hipocampo

carrasquelalex1/hipocampo is an MCP server that connects AI agents to PostgreSQL 17 and pgvector for persistent technical and profile memory. Its main tools search, save, update, retrieve, compress, link, index, and maintain memories, with support for hybrid retrieval, hierarchy levels, project context, graph navigation, and health operations.

Run the repository installer with `curl -fsSL https://raw.githubusercontent.com/carrasquelalex1/hipocampo/main/install.sh | bash`. It sets up PostgreSQL, pgvector, the schema, Python environment, embedding options, and optional client configurations. The script targets Linux and macOS; Windows requires WSL2.

Yes, Cursor is one of the MCP clients configured by the installer.

No, the documented free Hugging Face instance is ephemeral. Its data can be lost when the Space restarts or is redeployed. Use a local installation or connect an external database when memories must persist.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewHipocampo AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/carrasquelalex1-hipocampo?style=directory)](https://allmcps.com/mcp/carrasquelalex1-hipocampo)
HTML Embed
<a href="https://allmcps.com/mcp/carrasquelalex1-hipocampo"><img src="https://allmcps.com/api/badge/carrasquelalex1-hipocampo?style=directory" alt="Hipocampo on AllMCPs" /></a>