Skip to main content
ClaudeWave

Cross-platform visualization MCP for Cortex — host-neutral live activity from Codex, Gemini CLI, Claude Code, and other MCP clients; memory galaxy, execution trace, knowledge graph, consolidation board, and wiki. Read-only, browser-based, with a no-database trace mode.

MCP ServersOfficial Registry2 stars1 forksPythonMITUpdated today
Install in Claude Code / Claude Desktop
Method: pip / Python · -e
Claude Code CLI
claude mcp add cortex-viz -- python -m -e
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "cortex-viz": {
      "command": "python",
      "args": ["-m", "-e"],
      "env": {
        "DATABASE_URL": "<database_url>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install -e
Detected environment variables
DATABASE_URL
Use cases

MCP Servers overview

<p align="center">
  <img src="docs/assets/banner.svg" alt="Hypermnesia MCP Viz, the read-only visualization layer for Cortex: six live reading angles over your memory, sessions, and code, rendered but never remembered" width="100%"/>
</p>

<!-- mcp-name: io.github.cdeust/hypermnesia-mcp-viz -->

<p align="center">
  <img src="docs/assets/cortex-trace-galaxy.png" alt="Hypermnesia MCP Viz Trace galaxy on the paper surface: every Claude Code session is a tight phyllotaxis disk of its own prompt → action → file → memory chain, clustered around its domain's olive hub; the selected chain's disks render solid gold in place while the rest of the galaxy stays legible, and the mono status bar streams the exact counts (CHAIN · 108 STEPS · 6 537/6 537 nodes · 8 696/8 696 edges), never rounded." width="100%"/>
</p>

<p align="center">
  <img src="https://img.shields.io/badge/MCP-Codex_%C2%B7_Gemini_%C2%B7_Claude-blue.svg" alt="Cross-platform MCP for Codex, Gemini CLI, and Claude Code">
  <img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License">
  <img src="https://img.shields.io/badge/python-3.10+-blue.svg" alt="Python 3.10+">
  <img src="https://img.shields.io/badge/version-3.0.0-brightgreen.svg" alt="Version 3.0.0">
  <a href="https://www.bestpractices.dev/projects/13846"><img src="https://www.bestpractices.dev/projects/13846/badge" alt="OpenSSF Best Practices"></a>
</p>

# Hypermnesia MCP Viz

**Hypermnesia MCP Viz is published as `hypermnesia-mcp-viz` everywhere:**
Python, MCP Registry, Claude Code, Codex, Gemini, and the console command.

**The cross-platform visualization layer for [Cortex](https://github.com/cdeust/Cortex).** Codex, Gemini CLI, Claude Code, and any stdio MCP host can launch the same read-only server and browser UI. It turns Cortex's memory store, a host-neutral live activity stream, Claude Code's historical session archive, and your codebase graph into six live reading angles: a project galaxy, a 3D anatomical brain, an execution trace, a consolidation kanban, a curated knowledge browser, and a wiki. It **never writes a memory**: it renders, it never remembers. (It does keep its own derived graph/layout caches in the Cortex database, listed under [Boundary](#boundary).)

Launch with the `open_visualization` tool (or `/cortex-visualize`). One launcher opens six reading angles; the default landing view is **Trace**.

The whole UI ships on the **AI Architect design system**: a paper-first reading surface with a persistent **ink** (night) toggle, greyscale chrome, and a data palette resolved from design tokens at runtime, flipping the surface re-inks every view in place without disturbing a settled layout, and every count on screen is exact and streamed, never rounded.

---

## Getting Started

Claude Code users can install Hypermnesia MCP Viz from the same
`cortex-plugins` marketplace as Cortex:

```bash
claude plugin marketplace add cdeust/Cortex
claude plugin install hypermnesia-mcp-viz@cortex-plugins
```

This install name becomes available in the Cortex marketplace only when this
repository and the matching marketplace change in
[`cdeust/Cortex#351`](https://github.com/cdeust/Cortex/pull/351) are released
together. Maintainers must not publish either half of the rename on its own.

### Migrating from `cortex-viz`

Existing Claude Code installs are not aliases for the new plugin identity.
Remove the old install, refresh the marketplace after the coordinated release,
and install the canonical plugin:

```bash
claude plugin uninstall cortex-viz@cortex-plugins
claude plugin marketplace update cortex-plugins
claude plugin install hypermnesia-mcp-viz@cortex-plugins
```

Claude composes plugin tool names from the plugin manifest name, the
`mcpServers` key, and the tool name. Update both old full names wherever they
appear in permission allowlists, hooks, skills, or agents:

- `mcp__plugin_cortex-viz_cortex-viz__open_visualization` <!-- mcp-prefix-allow-legacy -->
  becomes `mcp__plugin_hypermnesia-mcp-viz_hypermnesia-mcp-viz__open_visualization`.
- `mcp__plugin_cortex-viz_cortex-viz__get_methodology_graph` <!-- mcp-prefix-allow-legacy -->
  becomes `mcp__plugin_hypermnesia-mcp-viz_hypermnesia-mcp-viz__get_methodology_graph`.

The removed `cortex-viz` console command is not retained as an alias, so
Cursor, Windsurf, VS Code, and other direct-process configurations must invoke
`hypermnesia-mcp-viz` instead.

> **Hypermnesia MCP Viz is a companion to [Cortex](https://github.com/cdeust/Cortex) that never writes a memory.** Install Cortex first (`claude plugin install hypermnesia-mcp@cortex-plugins`): the visualizer reads its shared PostgreSQL store, and writes only its own derived caches there ([Boundary](#boundary)). Point both at the same database: the `database_url` plugin setting defaults to `postgresql://127.0.0.1:5432/cortex`; set it to the same value you gave Cortex.

Restart your Claude Code session, then launch the visualizer:

```
/cortex-visualize
```

Codex, Gemini CLI, and other MCP hosts launch the same server as a plain stdio
process; see [Other MCP hosts](#other-mcp-hosts) for the exact configuration.

One launcher opens all six reading angles (Graph · Brain · Trace · Knowledge · Wiki · Board) in the browser, served live from the Cortex store, your session JSONL, the code graph, and git.

### Works without Cortex

No Cortex, no PostgreSQL, no setup: Hypermnesia MCP Viz is still useful on its own. The **Trace** view (the default landing view) reads only `~/.claude/projects/*.jsonl` and your local git: every Claude Code session becomes a navigable domain → session → prompt → action → file chain, with per-file diffs and commit history. If you use Claude Code, the data is already on your disk.

- Just install the plugin and run `/cortex-visualize`. When Cortex's database isn't reachable, the server logs one line and starts in **no-DB mode** automatically: Trace is fully live; the five DB-backed views (Graph, Brain, Knowledge, Wiki, Board) appear greyed out with an install pointer instead of erroring.
- To skip the database probe entirely, set `CORTEX_VIZ_NO_DB=1` (or pass `--no-db` when running the standalone server directly).

Installing [Cortex](https://github.com/cdeust/Cortex) later lights up the other five views against the same UI (no reconfiguration).

<details>
<summary><strong>More options</strong> (Clone, manual run)</summary>

**Clone + run from source:**
```bash
git clone https://github.com/cdeust/cortex-viz.git && cd cortex-viz
pip install -e .
DATABASE_URL=postgresql://127.0.0.1:5432/cortex python3 -m cortex_viz
# Without Cortex/Postgres (Trace view only):
CORTEX_VIZ_NO_DB=1 python3 -m cortex_viz
```

</details>

---

## The views

### Graph: the Claude workflow map

Each project becomes a **cloud of nodes** around one gold domain hub. Inside every cloud, nodes sit in six concentric levels by the Claude surface (or the code itself) that produced them:

| Level | What's there | Click through to |
|---|---|---|
| **L1 · Setup** | Skills · Commands · Hooks · Agents · MCPs | File paths; which domains share an MCP (thin indigo bridges) |
| **L2 · Tools** | One hub per Claude tool per domain (Edit · Write · Read · Grep · Glob · Bash · Task) | Files touched + total uses |
| **L3 · Files** | Every file Claude opened, read, edited, searched, or referenced, colored by primary tool | `first_seen` / `last_accessed` / `last_modified` + **See diff against HEAD** |
| **L4 · Discussions** | One node per Claude Code session | `started_at`, duration, message count + **View full conversation** replay |
| **L5 · Memories** | Persistent memories, colored by consolidation stage | Full content, tags, every scientific measurement |
| **L6 · AST symbols** | The code itself: functions, methods, classes, modules, constants parsed from 10 languages (Rust, Python, TypeScript, Java, Kotlin, Swift, Objective-C, C, C++, Go) | Qualified name, symbol type, parent file, and named `defined_in` / `calls` / `imports` / `member_of` edges |

**Why L6 matters.** L5 and below tell you *what Claude did*; L6 tells you *what the code is*. Three things become visible for free: **shared code** (any symbol referenced by two projects drifts into the inter-project gap), **impact** (clicking a symbol surfaces every caller, importer, and member: "what breaks if I change this?" is a graph neighbourhood, not a grep), and **the shape of the codebase itself** (a dense petal around a file means a fat internal API; a thin one means a leaf module). A grouped filter (`L1–L6` / by kind / by AST edge kind / `Cross-domain`) isolates any slice.

### Brain: the galaxy inside a real cortex

The same graph, on a second surface: every node placed inside an anatomical **cortical mesh** by the neuroscience of memory systems rather than by force-direction. Episodic memories sit in the **medial temporal lobe** and migrate outward to neocortex along a hot→consolidated **depth gradient** (the complementary-learning-systems consolidation model); semantic entities in **temporal neocortex**; code symbols in association cortex; procedural skills in the **striatum and cerebellum**; domains at the connectome's **rich-club hubs**. Region centres are registered from real **MNI152 atlas** coordinates (affine fit, not vertex-exact; the mesh is a single unlabeled surface). Every synapse routes along a major **white-matter tract** (fornix, uncinate, SLF, corpus callosum). Node colour is the same semantic palette as the galaxy (memories by consolidation stage, entities/symbols by type), and a live **Memory science** panel mirrors the store's system vitals (consolidation pipeline, skills, source-monitoring, extinction, sleep phases, and every mechanism Cortex exposes).

Because the full graph (278k+ nodes, 5.5M edges) is far larger than a browser can take in one payload, the brain **streams** it in progressively through a bounded-queue, frame-budgeted NDJSON loader: the cloud fills in as you watch. Clicking any node opens the same rich detail car
agent-observabilityclaude-codeclaude-code-plugincodexdata-visualizationdeckgldeveloper-toolsexecution-traceforce-directed-graphgemini-cligraph-visualizationknowledge-graphleiden-algorithmmcp-servermemorymodel-context-protocolthreejsvisualization

What people ask about cortex-viz

What is cdeust/cortex-viz?

+

cdeust/cortex-viz is mcp servers for the Claude AI ecosystem. Cross-platform visualization MCP for Cortex — host-neutral live activity from Codex, Gemini CLI, Claude Code, and other MCP clients; memory galaxy, execution trace, knowledge graph, consolidation board, and wiki. Read-only, browser-based, with a no-database trace mode. It has 2 GitHub stars and was last updated today.

How do I install cortex-viz?

+

You can install cortex-viz by cloning the repository (https://github.com/cdeust/cortex-viz) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is cdeust/cortex-viz safe to use?

+

cdeust/cortex-viz has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains cdeust/cortex-viz?

+

cdeust/cortex-viz is maintained by cdeust. The last recorded GitHub activity is from today, with 10 open issues.

Are there alternatives to cortex-viz?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy cortex-viz to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: cdeust/cortex-viz
[![Featured on ClaudeWave](https://claudewave.com/api/badge/cdeust-cortex-viz)](https://claudewave.com/repo/cdeust-cortex-viz)
<a href="https://claudewave.com/repo/cdeust-cortex-viz"><img src="https://claudewave.com/api/badge/cdeust-cortex-viz" alt="Featured on ClaudeWave: cdeust/cortex-viz" width="320" height="64" /></a>

More MCP Servers

cortex-viz alternatives