Hicortex logo

Hicortex

Shared, local-first memory for AI agents with nightly consolidation, hybrid retrieval, and MCP tools for searching and managing knowledge.

Install Hicortex

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

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "hicortex": {
      "command": "npx",
      "args": [
        "-y",
        "@gamaze/hicortex"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @gamaze/hicortex

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Hicortex MCP server gives AI agents shared, local-first memory across supported harnesses and machines. It exposes nine MCP tools over HTTP/SSE, using SQLite, FTS5, vector search, and ONNX embeddings for retrieval without an LLM at query time. A nightly process captures sessions, consolidates memories, extracts learnings, and updates links, tags, and provenance. Reach for it when multiple agents or projects need to reuse decisions, corrections, and context without manually copying them between sessions.

Use cases

  • Share decisions across multiple coding agents
  • Search prior project context without re-explaining it
  • Import and consolidate recent session knowledge
  • Review linked memories and reusable lessons

Key features

  • Nine MCP tools for memory search and management
  • Nightly session capture and consolidation
  • BM25 and vector retrieval with ONNX embeddings
  • Prompt-level recall injection
  • Knowledge graph and memory analytics
  • Local-first storage with configurable LLM support

Security & health

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

ActiveLast checked

Recent health check succeeded.

13/13 checks healthy over the last 56d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · @gamaze/hicortex (npm)

Adoption & maintenance

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

GitHub stars3Stargazers on the source repository.
npm downloads4.7kPackage downloads in the last 30 days.
Last commit8d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How Hicortex works

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:

Terminal
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:

Terminal
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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

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

Frequently Asked Questions about Hicortex

Hicortex is an MCP server that connects AI agents and coding harnesses to shared, local-first memory. Its main tools search, retrieve, ingest, inspect recent entries, manage lessons, browse the graph, and update or delete memories. Nightly processing consolidates sessions and extracts reusable knowledge.

Run `npx @gamaze/hicortex init` with Node.js 20 or later. The initializer detects supported environments, configures an LLM, installs a local daemon, and registers MCP tools. For a shared deployment, pass `--server https://your-server.example.com` during initialization.

Yes, Hicortex works with Cursor-class instruction-capable clients. These clients receive standing instructions so the memory layer can be used without an explicit request. Plain MCP clients can still use Hicortex search and the other exposed tools.

Yes, clients can point to a shared Hicortex server with `npx @gamaze/hicortex init --server <url>`. Thin clients do not need a local database or local LLM, while raw sessions remain on the machine and distilled memory is stored for shared use.

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 PreviewHicortex AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/hicortex?style=directory)](https://allmcps.com/mcp/hicortex)
HTML Embed
<a href="https://allmcps.com/mcp/hicortex"><img src="https://allmcps.com/api/badge/hicortex?style=directory" alt="Hicortex on AllMCPs" /></a>