# Hicortex [Health: Active]

**Category:** 🧠 Knowledge & Memory  
**Repository:** https://github.com/gamaze-labs/hicortex  
**GitHub Stars:** 3  
**npm Downloads (last month):** 4734  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/hicortex

## Description
Shared fleet memory for AI agents — what one agent learns, the whole fleet knows.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "hicortex": {
    "command": "npx",
    "args": ["-y","@gamaze/hicortex"]
  }
}
```

## Documentation

## What Hicortex MCP server does

The Hicortex MCP server provides a shared memory layer for AI agents, projects, and machines. Agents can search stored memories, retrieve full entries, inspect recent items, save new information, review lessons, browse the knowledge graph, and update or delete records. The service also includes a `/learn` skill for explicitly saving learnings.

Memory is designed for reuse across different agent harnesses. Supported integrations named by the project include Claude Code, Claude Desktop, Pi, OpenCode, Hermes, and OpenClaw. Other MCP-compatible agents can use the MCP interface, while plain MCP clients retain search access even without prompt-injection features.

## How it works

Session capture and consolidation run nightly. The initial run processes the previous seven days by default; a larger historical window can be imported with `hicortex nightly --recapture-window <days>`. Consolidation scores and reflects on captured material, creates reusable Learnings, links related memories, removes near-duplicates, and marks superseded decisions so they are not returned again.

Recall uses BM25 and vector search with ONNX embeddings. A compact relevant index can be pushed into each prompt, and the agent can call `hicortex_get` when it needs the complete memory. This query-time retrieval does not use an LLM. Memories can strengthen through use, decay when unused, and receive dated provenance when facts are rewritten.

The Hicortex MCP server also maintains a standing context layer from hand-edited Markdown. This identity and working-context material is injected each session and is not subject to memory decay. A dashboard reports memory growth, recall adoption, and nightly digests; a separate visualization shows domains and relationship edges.

## Setup and configuration

Install with Node.js 20 or later:

```bash
npx @gamaze/hicortex init
```

Initialization detects the environment, configures one supported LLM option, installs a local daemon, and registers MCP tools with Claude Code. The available LLM choices are Ollama, the Claude CLI, or an API key for an OpenAI-compatible endpoint. On macOS the daemon uses launchd; on Linux it uses systemd. Claude Desktop requires one confirmation during initialization.

For a multi-machine deployment, initialize clients against a shared server:

```bash
npx @gamaze/hicortex init --server https://your-server.example.com
```

Thin clients can use the shared server without a local database or local LLM. Initialization can install the project’s Pi, OpenCode, Hermes, and OpenClaw adapters when those environments are detected. The underlying MCP service communicates over HTTP/SSE.

## Tools and capabilities

The Hicortex MCP server exposes these tools:

- `hicortex_search` for memory retrieval
- `hicortex_get` for loading full memory content
- `hicortex_recent` for recent entries
- `hicortex_ingest` for adding information
- `hicortex_lessons` for lessons
- `hicortex_index` for index-related access
- `hicortex_graph` for relationship data
- `hicortex_update` for changing entries
- `hicortex_delete` for removing entries

Additional capabilities include configurable domains and tags, a knowledge graph, memory analytics, prompt-level recall injection, and a self-calibrating store that reports recall, decay, and merge statistics.

## Limitations and notes

Raw sessions remain on the machine; distilled memory is what gets stored for shared use. The first nightly capture does not import the entire history unless the recapture window is increased. Full automatic recall depends on the client integration: instruction-capable clients can receive standing instructions, while other MCP clients may need to use the available search tools directly.

Commercial use requires a per-seat license. Personal and noncommercial use is covered by the PolyForm Noncommercial License 1.0.0.

_Full upstream README: https://allmcps.com/mcp/hicortex/readme_

