Skip to main content

Context Graph Viewer

A read-only terminal viewer for your Context Graph. It shows what your agent hooks captured, whether capture is failing, where reconciliation stands, and what the graph learned, without Cypher or Memgraph Lab.

memgraph-context-graph ui

It reads the same config file as the hooks (CONTEXT_GRAPH_CONFIG, else ~/.config/context-graph/config.toml), polls Memgraph every few seconds, and never writes to the graph.

Install

memgraph-context-graph setup installs it unless you pass --no-viewer. It runs in the same tool environment as memgraph-context-graph, so to add it by hand, add it to that tool's uv tool install:

uv tool install "memgraph-context-graph[mcp]" \
  --with "skills-graph[memgraph-context-graph]" \
  --with "actions-graph[memgraph-context-graph]" \
  --with "sessions-graph[memgraph-context-graph]" \
  --with context-graph-viewer

context-graph-viewer also installs its own command, which takes the same flags as memgraph-context-graph ui.

Views

View Reached by Shows
Dashboard start Sessions in scope, the pipeline (reconcile and embedding queues, extraction backend, ontology version, failures, capture tokens), capture health (the local capture-failure log plus hints from the graph), and new entities per day.
Session enter on a session The timeline with subagents folded under the call that spawned them, each action's input and the resources it touched, and what the session produced (chunks, entities, memory files).
Entities k on the dashboard, g on a session Entities merged by name, by support (how many sessions and memory files ground them) or most recent, with their provenance.
Neighbourhood enter on an entity One entity's relations grouped by type, with the evidence behind each. enter on a neighbour moves there; esc walks back.

Keyboard shortcuts

Key Does
a Widen the scope: your sessions → plus unattributed ones → everyone's
p Narrow every view to one project (working directory)
/ Filter the table
1–4 Jump to a pane; f makes it fill the screen
v Neighbourhood: relation tree or flat table
+ / - Neighbourhood: raise or lower the confidence floor
h / s Entities: show value types (dates, amounts) / sort by most recent
w Enterprise: next space this login can read
r Refresh now
? All keys
esc / q Back / quit

Scope

By default you see your own sessions: identity.user_id in Community, your Memgraph login in Enterprise. Sessions captured before a user was configured belong to nobody (reconcile files them under an anon-… user), so if the dashboard opens empty, press a.

Use ctrl+p to open Textual's command palette and change the theme.

Development

Tests run against a real Memgraph and drive the app headless:

./scripts/dev-memgraph.sh test context-graph-viewer

Metadata

Release files for context-graph-viewer 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for context-graph-viewer 0.1.3
File Size Uploaded Provenance Actions
context_graph_viewer-0.1.3.tar.gz 48.7 kB Without provenance Details for context_graph_viewer-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for context-graph-viewer 0.1.3
File Interpreter ABI Platform Actions
context_graph_viewer-0.1.3-py3-none-any.whl Python 3 none any Details for context_graph_viewer-0.1.3-py3-none-any.whl

Total release size: 91.4 kB

Release files / context_graph_viewer-0.1.3.tar.gz

Download URL context_graph_viewer-0.1.3.tar.gz
Size 48.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2bcc875d1281ffd010560e550f9a8a32124185f2b881446323d34b69a401c620
BLAKE2b-256 checksum
How to use checksums
a384e7c6c5687b0b1bfe739d57de25398244c36ef80b6f8258fce28718082895
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / context_graph_viewer-0.1.3-py3-none-any.whl

Download URL context_graph_viewer-0.1.3-py3-none-any.whl
Size 42.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10d7496ce3234002a71fe387e22f09571e92662d72f2f3e77c4efa679197d7c4
BLAKE2b-256 checksum
How to use checksums
941870aa3c6a20a21d3c7c0d3af040dfb619730db37d6a87e986b4d753619f45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for context-graph-viewer 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page