VisualizeBetter
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@VisualizeBetter visualize the structure of this repository"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
VisualizeBetter
The AI draws. You see. The next session remembers.
A live project graph the AI pushes into as it works — structure, discoveries, and the "why" behind every decision — that outlives the session that made it.
English | 한국어
VisualizeBetter visualizing its own repository, live — backend/frontend/test clusters in the overview, an fcose detail view, the node inspector, and the findings panel holding the session's gold: the roadmap locked in with the user, the recording rubric, and the finding where the AI overturned its own bug report with measurements.
Sound familiar?
🕳️ Your AI shipped a result — but by the time you wanted to know how it got there, the trail was already cold and there was no way to pull the details back out.
🗺️ The project kept growing — you don't want to read the code, you just want the whole structure, at a glance, right now.
✨ You watched the AI spin through Doodling… and Unravelling… and could tell it just found something big — but you had a problem to fix first, so "I'll ask what it was later"… and later never came.
🧹 You ran a long AI loop and it solved real problems — but context filled up and got cleared, and the analysis that vanished with it felt like a waste.
🔁 Every new session — every new machine — and you're explaining your own project to an AI from scratch, again.
VisualizeBetter exists to end exactly this. The AI pushes what it discovers into a live GPU graph as it works — nodes, edges, findings, and the reasoning behind decisions — and the next session loads a snapshot and continues instead of asking you again. One portable file you can carry to any machine is where this is headed (roadmap, M3+).
VisualizeBetter is an MCP-native workspace where AI pushes what it discovers into a live GPU-rendered graph, so a project's structure survives past the session that found it. I build a lot of AI-native apps, and once the feature count grows, every new change starts with re-discovering my own codebase — a fresh AI session knows nothing, and the last one's understanding died with it. VisualizeBetter makes that understanding a persistent, visual artifact instead: the AI draws the structure as it finds it, marks the decisive bits as findings, records why each design decision was made and on what data, and the next session loads the snapshot rather than re-researching from scratch.
The deeper reason is that directing AI well is a seeing problem. If a human is going to give an AI good instructions, the human first has to see the same information the AI is working with — all of it, at once, in the most organized format possible. Hundreds of nodes of structure simply don't fit in prose; buried in a scroll of chat logs, they can't be checked, corrected, or steered. Put that same knowledge on screen as a graph and the human can point at it, and the loop becomes real: the AI draws, the human sees and reacts, the AI reads that reaction and draws more.
Under the hood it's a Python backend (FastMCP + FastAPI/WebSocket, SQLite snapshots, a Lark-based filter DSL) driving a React 19 + TypeScript frontend, with cosmos.gl on WebGL for the 100K-node overview and cytoscape.js for the detail view — packaged as a local web app or a Tauri v2 desktop shell. 100% local, MIT licensed.
MCP = Model Context Protocol — the standard protocol AI clients like Claude Desktop and Cursor use to call external tools.
Status: M2 Feature Complete (2026-07-19). M1 MVP + M2 (stdio proxy, Tauri desktop
app, MCP Apps inline render, undo/redo, multi-format export) implemented and verified —
backend pytest 1129 / frontend vitest 288 / Playwright E2E 21. Run with
uv run visualizebetter serve; Claude Desktop connects via visualizebetter mcp-stdio.
Quick start
The SPA is built from source and is not committed, so a fresh clone needs one build step before the browser UI works.
Prerequisites
Python | 3.11 or newer |
any recent version — installs the Python deps | |
Node.js | 22 (what CI uses) |
git clone https://github.com/chldbwnstm/VisualizeBetter.git
cd VisualizeBetter
# 1. build the frontend bundle (once, and again after frontend changes)
cd frontend
npm ci
npm run build
cd ..
# 2. run the server — opens the browser automatically
uv run visualizebetter serve --port 8765Any free port works — --port exists because 8765 may already be taken (an
instance you left running, or something else); the server will refuse to bind
rather than silently share it.
Where your data lives. Everything stays on your machine. Snapshots and
server state go to the platform data directory —
%LOCALAPPDATA%isualizebetter on Windows, ~/.local/share/visualizebetter on
Linux, ~/Library/Application Support/visualizebetter on macOS — and
--data-dir <path> puts them wherever you prefer, which is also how you keep
separate graphs for separate projects.
Skipping step 1 is not fatal: the server still starts and the MCP/JSON/WebSocket API works, but the browser gets a 503 telling you which build command is missing.
Register it with an AI client (Claude Desktop, Claude Code, Cursor):
{
"mcpServers": {
"visualizebetter": { "command": "visualizebetter", "args": ["mcp-stdio"] }
}
}Related MCP server: MemoryGraph
Why build this
1. The "gold" an AI finds is thrown away unless it's recorded where you can see it
When an AI analyzes something, it sometimes strikes gold — the decisive fact that hours of analysis were for: "this class is where checkout failures originate", "these two modules are actually locked in a circular reference".
The problem is that this gold drifts by, buried in a text conversation. It survives as one sentence somewhere in hundreds of lines of analysis logs, and when the session ends, it's gone. If it isn't captured as structure a human can take in at a glance, the nugget goes straight into the trash.
A structure of hundreds of nodes was never going to fit in sentences anyway. Reading
"OrderService has a AccountTier field at +0x58, referenced from PaymentService,
which..." and redrawing the graph in your head is slow, inaccurate, and soon forgotten.
VisualizeBetter records the discovery at the moment it's made — the AI doesn't "say" it in prose, it pushes nodes and edges, and decisive discoveries are pinned as findings (gold nuggets), kept highlighted on screen. The nugget goes in the display case, not the trash.
2. A program an AI built is one the AI itself won't know later
Say you had an AI do research for seven days and built a program out of the results. A month later you want to add or fix one feature, and the problem starts:
You don't deeply understand the code — the AI wrote it.
A freshly opened AI session doesn't know it either — what the previous session figured out died with that session.
So you end up ordering the same research and code analysis all over again. Every feature addition pays the same cost, every time.
When a session ends, the structure, relationships, and evidence the AI worked out survive at best as markdown fragments (CLAUDE.md, analysis notes). The next session can re-read that text — but hundreds of nodes of structure aren't visible in prose, discoveries from multiple sessions and multiple AIs never merge into one, and you can't query it ("which unexplored fields hang off this class?"). The next session re-reads everything and rebuilds the graph in its head.
VisualizeBetter keeps this knowledge as a loadable visual record: the next session's AI loads the snapshot for an overview, reads the already-marked findings first, and drills into only what it needs. No re-research from scratch.
3. The code survives, but the "why" behind it doesn't
When an AI designs a structure and writes the code, the artifact lands in the repo. Why it's that way doesn't.
Why this data model? What alternatives were considered, and why were they rejected?
What measurement justified this number (batch size, timeout, cap)?
Is this code a deliberate decision, or just how things happened to end up?
If you can't tell these apart a month later, failure comes from both directions: you "improve" something that must not be touched and break it, or you're too afraid to touch what could safely change. A fresh AI session is worse — not knowing the rejected rationale, it confidently re-proposes the design you already discarded.
VisualizeBetter records decisions together with their reasons and data. A finding
isn't free prose; it has structure: which nodes the judgment is about (node_ids
anchors), what it's based on (evidence), how sure the AI is (confidence). And
decisions carry history — stale decisions are superseded (reason="supersede":
the old value is archived, because preserving what was once true is the point of this
project), while wrong decisions are corrected (reason="correction": the wrong
value is dropped and only the fact of correction kept — keeping a value known to be
false would be noise).
A real case — this tool overturned its own bug report
This actually happened on 2026-07-28, while visualizing this very repository with VisualizeBetter:
The AI drew the repo as an import graph (99 nodes / 203 edges), looked at the screen, and recorded a bug finding: "the detail view renders shrunken, not fitting the panel." The only evidence was eyeballing, so it went in at confidence 0.7 — below the gold threshold (0.9), tagged
unverified.Told to "fix it", the AI didn't touch the code first — it measured the canvas pixels. Across all four layouts, the drawn width matched the padding passed to
fit()to the pixel. Not a bug: a wide graph in a narrow, tall panel, with aspect-ratio-preserving fit working exactly as intended.The finding was rewritten with
reason="correction". The measurements, the two rejected hypotheses, and the lesson ("logging an eyeball observation as confirmed was an overclaim") all stayed in the graph — and not one line of code changed.
The next session's AI reads this via list_findings() and never re-investigates the
same "bug". That is the loop this tool sells: claim → evidence → correction, all of
it kept, none of it erasable by forgetting.
4. No existing tool has this combination
Graph DBs (Neo4j) require learning a query language (Cypher), and visualization needs a separate tool (the dedicated one, Bloom, is paid). Static viewers (Gephi/yEd) load files, so there's no realtime AI push. MCP chart servers are chart-oriented, not specialized for node-edge graphs or large scale (100K+). An open-source tool that is "MCP-native + realtime bidirectional + GPU large-scale + local-first" in one package doesn't exist yet.
How it solves this
Keeping knowledge from evaporating is the core of this program. The problems above are addressed with concrete mechanisms.
Problem | VisualizeBetter's answer |
Discoveries drown in the conversation | The AI pushes at the moment of discovery → the graph is working memory, not an after-the-fact report |
Gold thrown away as one log line |
|
"Didn't the AI just make that up?" |
|
The "why" behind the code isn't kept | Decisions recorded with reasons and data — anchors ( |
Stale and wrong decisions blur together |
|
No idea who discovered what | Every push is auto-tagged with a layer (which AI/session) — per-session attribution, merge, on/off |
Session ends, everything's gone | Snapshots (SQLite) save/restore + auto-snapshots (periodic, and before destructive ops) → gold survives even a dropped session |
Next session re-researches from zero | Handoff protocol — new session loads the snapshot → |
The structure only exists in someone's head | Rendered graph + inspector (notes, evidence, tags) → humans take it in at a glance, no mental reconstruction |
How a session handoff flows
[Session A] AI analyzes → push_node/push_edge (at the moment of discovery)
→ cite() (attach evidence)
→ record_finding("critical path behind checkout failures", node_ids=[...]) ← mark gold
session end → save_snapshot("project-structure-v1") (auto-snapshots run too)
│
▼ (next day, fresh AI session)
[Session B] AI starts → load_snapshot("project-structure-v1")
→ get_graph_summary() overview (nodes/edges/types/hubs)
→ list_findings() ★ read the previous session's gold first
→ get_neighbors(...) drill down only where needed
→ continues the work without re-researchOne system-prompt line, usable with any AI, enforces the habit (planned):
"Before starting, load the VisualizeBetter snapshot and check existing findings with
list_findings()."
What it is
Feature | Description |
MCP-native | Connects to anything MCP-compatible — Claude Desktop, Cursor, Cline, ... |
Realtime push | AI pushes nodes/edges → instantly reflected in the browser (WebSocket) |
Realtime pull | AI queries what the human is looking at right now (focus/filter/view state) and reacts |
Findings (gold nuggets) | Decisive discoveries pinned with evidence and confidence — the heart of knowledge capture |
Dual rendering | cosmos.gl (WebGL GPU renderer) overview + cytoscape.js (precise node-edge view) detail |
Filter DSL | e.g. |
Snapshots | Save/restore session knowledge (SQLite) + auto-snapshots — the key to cross-session handoff |
Layers | Auto-tagging by push author (AI session) — on/off, color, attribution |
UI language | Korean / English — switch in the header (graph content stays as-is; only UI chrome is translated) |
Domain-agnostic | Schema-less (arbitrary K/V properties) — code, APIs, org charts, anything |
100% local | No external calls, no telemetry, every asset self-hosted |
The 100K figures are measured, not aspirational. On the maintainer's hardware (RTX 4070 SUPER), at 100K nodes: 59.9 FPS rendering, a 15 s bulk import, and 92 ms from an AI's push to the node being drawn — each inside its target (≥ 30 FPS, < 30 s, < 100 ms), each re-measured by the harness in this repository.
That last figure has a history worth knowing, because it is the reason to trust the others: an earlier 73.9 ms was published, then could not be reproduced. The investigation found two separate things — the old measurement stopped its clock before the WebGL work, and a later feature had put a full graph scan on the push path. The endpoint is now pinned in the application rather than inferred, which made the bar harder rather than easier, and the regression is fixed. The target never moved. docs/benchmarks.md § Resolved has the paired before/after runs and the full account.
The harness, the fixture generator and the repro steps are in docs/benchmarks.md, including what it does not guarantee: the performance probe is run by hand, not in CI (the functional end-to-end suite is what CI gates).
How it works
AI (Claude / GPT / Cursor / Cline ...)
│ MCP tools: push_node · push_edge · record_finding · cite
│ get_focused_node · poll_events · save_snapshot ...
▼
visualizebetter serve ← the single local process that owns the graph
├─ Graph Core (in-memory + indices + filter engine + finding/citation store)
├─ MCP endpoint (stdio relays here through a thin proxy)
├─ Snapshot store (SQLite, incl. auto-snapshots)
└─ WebSocket Hub
│ realtime events (batch/coalescing, seq-based lossless resync)
▼
Browser (localhost)
├─ cosmos.gl overview — the whole graph (GPU)
├─ cytoscape.js detail — selected node + N-hop neighbors (fields/arrows/labels)
├─ findings panel — the highlighted gold list
└─ filter·click·notes ──→ the AI reads it back (co-exploration loop)The core loop: the AI draws → the human sees and reacts → the AI reads the reaction → draws more.
Stack: Python backend (FastMCP + FastAPI/WebSocket) + React 19/TypeScript frontend.
Performance (a lag-free browser) is a core design goal. cosmos.gl (WebGL/GPU) does the graph rendering, so the renderer — not the framework — sets the speed; live-push lag is prevented by requestAnimationFrame batching plus keeping bulk data outside React (an M1 hard requirement — "pan/zoom stays lag-free while 1000 pushes/sec stream into a 10K-node graph" is the acceptance bar).
Distribution: M1 is a local web app (visualizebetter serve → browser tab), so it runs on
Windows/Mac/Linux with just Python and a browser. M2 wraps it in a Tauri v2 desktop
shell (OS webview, ~5–10MB bundle) with Python as a sidecar for a native app.
Cross-platform installers are built and signed on a GitHub Actions matrix
(Windows/Mac runners). The web app distribution remains.
What it's for
Recording the structure of AI-built/AI-analyzed codebases — handed off to the next session as a snapshot (the "why build this #2" scenario above)
Reverse engineering — ELF/PE/Mach-O class/field/reference maps (the project's original motivation)
Web API schema mapping — endpoint/model/enum relationships
Filesystem and dependency graphs — scanning projects at the tens-of-thousands-of-nodes scale
Org charts, workflows, any relational data — domain-agnostic
Usage
# run the server from source (PyPI release coming)
uv run visualizebetter serve --port 8765 # opens the browser automatically
# register in Claude Desktop / Claude Code via the stdio proxy
# command: visualizebetter / args: ["mcp-stdio"]User: "Analyze this project's structure and draw it as a graph"
Claude: visualizes discoveries the moment they're made via push_node / push_edge,
attaches evidence with cite(), marks key discoveries with record_finding()
User: (in the browser) types filter 'type == "class"', clicks a node
Claude: get_focused_node() → "That node has 3 unexplored fields. Expand?"
User: "Save it"
Claude: save_snapshot("project-structure-v1") ← the next session loads this and continuesRoadmap
Stage | Contents | Status |
M0 POC | 3 push/query tools + minimal view + E2E verification | ✅ done |
M1 MVP | full MCP API, dual views, filter DSL (base), snapshots, layers, findings, JSON import/export, human↔AI shared view, performance KPIs, security audit | ✅ feature-complete (2026-07-18) |
M2 Feature Complete | MCP Apps (inline chat render), filter DSL direction, GraphML/dot/cytoscape export, undo/redo, Tauri desktop app (real Win .msi build), stdio proxy (real MCP client connection) | ✅ essentially complete (2026-07-19; remainder = niche IDA/ReClass adapters) |
M3 Production | ✅ 100K performance tuning (render 59.9FPS · import 15s · live push 92ms, all three inside target) · ✅ temporal (time-axis scrubber) · ⏳ multi-user · ⏳ 3D view | 🚧 core 2/4 (2026-07-19) |
Next up (locked in 2026-07-28)
Feature | What |
📅 Timeline view | By date — the reasoning and data behind each implemented feature, at a glance; finding/decision overlays on the temporal scrubber |
🌳 Hierarchy mode | A tree/hierarchical layout mode alongside the force graph |
📦 Single-file save/load | The graph + findings + decision history in one file — opens identically on Windows/macOS/Linux; carry it anywhere and resume from that point |
📋 Right-click → copy | Right-click any node, finding, or component to copy it to the clipboard — the fastest way to tell the AI "this one" |
Documents
docs/handoff.md — session handoff protocol + system prompt snippet + implemented tool reference
docs/filter-dsl.md — filter DSL grammar, semantics, and safety
docs/benchmarks.md — how the 100K numbers were measured
KNOWN_ISSUES.md — open limitations, with workarounds caps (canonical)
License
MIT
Available Tools
43 toolsadd_annotationC
화면 (x, y) 에 텍스트 메모를 띄운다 ([5-D]).
text 는 AI 가 쓴 것이라 프론트에서 이스케이프되어 렌더된다([11]).
Inputs: x (required), y (required), text (required), ttl. Returns: object
apply_styleA
방금 push 한 것 등을 임시로 강조한다 ([5-D]) — 그래프는 안 바꾼다.
Inputs: style (required), selector (required), ttl. Returns: object
citeB
노드에 근거 링크를 붙인다 (예: IDA 어드레스, 문서 URL).
한 노드에 여러 citation 이 누적된다. source_url 은 파일 경로/주소도 허용 — 반드시 http 일 필요 없다.
Inputs: node_id (required), source_url (required), source_title (required). Returns: object
clear_allADestructive
그래프의 노드/엣지를 전부 삭제한다 (스냅샷과 findings 는 유지).
실행 직전 자동 스냅샷이 저장되므로 응답의 snapshot_id 로 되돌릴 수 있다.
Inputs: no named parameters. Returns: object
clear_layerADestructive
특정 AI/세션이 그린 노드/엣지를 삭제한다.
삭제되는 노드에 걸린 엣지는 다른 layer 것이라도 함께 사라진다. findings 는 남는다. 실행 직전 자동 스냅샷이 저장되므로 응답의 snapshot_id 로 되돌릴 수 있다.
Inputs: layer (required). Returns: object
clear_styleB
AI 스타일을 지운다 ([5-D]). style_id 생략하면 전부 지운다.
Inputs: style_id. Returns: object
delete_edgeDDestructive
엣지를 삭제한다.
Inputs: source (required), target (required), relation (required), key. Returns: object
delete_findingC
finding 을 삭제한다.
Inputs: finding_id (required). Returns: object
delete_nodeADestructive
노드를 삭제한다.
연결된 엣지가 있는데 cascade=False 면 삭제를 거부하고 { ok: false, error: "has_edges", edge_count } 를 돌려준다 — 끊어진 엣지는 허용되지 않는다.
Inputs: id (required), cascade. Returns: object
export_graphA
그래프를 데이터 포맷 파일로 내보낸다 ([5-E]).
파일은 서버 데이터 디렉토리 안에 생성되고(호출자 경로 지정 불가 — path traversal 차단 [11]) 그 경로를 반환한다. JSON 은 import 로 라운드트립된다.
Inputs: filter, format. Returns: object
find_pathsA
source→target 실제 경로 열거 (무방향, 최단 우선). path_to 의 후속.
필터 DSL 의 path_to 는 "도달 가능?"(bool)만 답한다 — 실제 경로는 여기서 준다.
Inputs: source (required), target (required), max_paths, max_length, +1 more. Returns: object
focus_onA
사람 화면을 이 노드로 이동한다 ([5-D]) — overview → detail 전환.
Inputs: node_id (required), zoom_level. Returns: object
get_active_filterA
사람이 지금 적용한 필터 ([5-C]) — 식과 매칭 노드 수. 없으면 둘 다 null.
AI 가 "사람이 무엇에 집중하고 있나"를 아는 통로다 (공유 뷰).
Inputs: no named parameters. Returns: object
get_findingA
단일 finding 의 전체 내용 (body·evidence 포함) 과 앵커 노드 요약.
앵커가 아직 존재하지 않는 노드를 가리키면 { id, missing: true } 로 온다.
Inputs: finding_id (required). Returns: object
get_focused_nodeA
사람이 지금 선택(focus)한 노드 ([5-C]) — id 와 얼마나 됐는지(since_ms).
선택이 없으면 null. AI 가 작업 사이에 "사람이 지금 뭘 보나"를 아는 통로다.
Inputs: no named parameters. Returns: result
get_graph_summaryA
그래프 전경 — 규모·type 분포·layer·최고 허브. 인수인계 시 먼저 부른다.
수천 노드를 훑기 전에 "무엇이 얼마나 있나"를 한눈에 준다 (MVP 3대 도구).
Inputs: no named parameters. Returns: object
get_neighborsD
id 로부터 depth 홉 이웃 서브그래프 ([5-B]).
Inputs: id (required), depth, direction, max_nodes, +1 more. Returns: object
get_nodeA
노드 하나를 통째로 조회한다 (properties·태그 포함).
properties 의 예약키(_citations/_superseded/_provenance)는 그대로 노출된다 — 읽기 전용이라 위조 위험이 없고, 근거·이력을 보여주는 게 목적이다.
Inputs: id (required), include_neighbors. Returns: object
get_selection_historyB
최근 클릭 히스토리 ([5-C]) — 최신순 [{id, ts}, ...].
Inputs: last_n. Returns: object
get_view_stateA
사람 화면의 뷰 상태 ([5-C], [9-C]) — mode/zoom/camera. 미설정이면 null.
여러 브라우저가 붙어 있으면 가장 최근 활동 클라이언트의 상태다.
Inputs: no named parameters. Returns: result
get_visible_nodesC
사람 화면에서 지금 보이는(필터 통과) 노드 id ([5-C]).
필터가 없으면 전부 보이므로 전체 노드를 준다. 결정적 정렬 + 페이지네이션.
Inputs: limit, offset. Returns: object
import_from_fileA
서버 데이터 디렉토리 안의 파일에서 대량 임포트한다 ([5-E], 100K+).
서버가 파일을 직접 읽어 in-process 처리한다(push_batch 의 MCP 상한 미적용). path 는 데이터 디렉토리 내로 제한된다 — 절대경로/.. traversal/루트 밖 거부([11]). merge 의미론은 import_graph 와 같다.
Inputs: path (required), merge, format. Returns: object
import_graphA
인라인 JSON 데이터를 임포트한다 ([5-E]). payload 1MB 상한.
merge=True 는 identity((id) / (source,target,relation,key))로 멱등 병합, merge=False 는 전체 그래프 교체. 임포트 데이터는 WRITE 검증 경로를 통과하므로 예약('_') 키를 위조할 수 없다([11]/[23-B]) — 서버관리 필드는 무시된다.
Inputs: data (required), merge, format. Returns: object
list_edgesB
엣지 목록 — filter 로 좁히고 결정적 정렬 + 페이지네이션.
Inputs: limit, filter, offset. Returns: object
list_findingsA
이전 세션의 gold 목록 — 인수인계 시 가장 먼저 호출한다.
최신 발견이 먼저 온다 (created_at desc). body 는 무거워질 수 있어 목록에서 빠지며, 상세는 get_finding 으로 가져온다.
Inputs: layer, limit, offset, node_id, +1 more. Returns: object
list_nodesB
노드 목록 — filter 로 좁히고, 결정적 정렬 + 페이지네이션.
Inputs: limit, order, filter, offset, +1 more. Returns: object
list_snapshotsA
저장된 스냅샷 목록 (최신 먼저). 인수인계 시 가장 먼저 호출한다.
kind 는 "manual"(사용자/AI 가 저장) 또는 "auto"(자동 스냅샷)다.
Inputs: no named parameters. Returns: object
load_snapshotA
스냅샷을 불러와 현재 그래프를 통째로 교체한다.
교체 직전 현재 상태가 auto 스냅샷으로 저장되므로, 실수로 불러왔더라도 되돌아갈 지점이 남는다.
Inputs: snapshot_id (required). Returns: object
poll_eventsA
사용자 상태 변화(focus/filter)를 커서 이후분만 폴링한다 ([5-C]).
MCP 는 단발 요청/응답이라 서버가 AI 에게 push 하지 못한다 — AI 는 작업 사이에 이걸 호출해 사람의 변화를 따라잡는다 ([5-C] 폴링 패턴).
Inputs: limit, event_types, since_cursor. Returns: object
push_batchA
여러 노드/엣지를 한 번에 그린다. 배치 안에서 서로 참조해도 된다.
nodes 를 먼저 적용한 뒤 edges 를 적용한다. 호출당 nodes+edges 합계 1,000개 상한 — 대량 유입은 import_from_file 을 쓴다.
Inputs: edges, nodes. Returns: object
push_edgeA
두 노드의 관계를 그린다. 같은 (source,target,relation,key) 재호출 = 갱신.
아직 push 하지 않은 노드를 가리켜도 된다 — 플레이스홀더 노드가 자동 생성되고, 나중에 같은 id 로 push_node 하면 해소된다.
Inputs: source (required), target (required), relation (required), key, +7 more. Returns: object
push_nodeA
발견한 노드를 그래프에 그린다 (분석 중 발견 즉시 호출).
같은 id 로 다시 부르면 갱신된다 (properties 는 merge).
Inputs: id (required), type (required), label (required), ttl, +6 more. Returns: object
record_findingA
AI 가 분석 중 발견한 결정적 통찰(gold)을 못박는다.
수천 개 구조 노드 사이에 묻히지 않도록 별도로 강조·조회된다.
Inputs: title (required), body, tags, layer, +3 more. Returns: object
redoA
[M2e] 방금 undo 한 변경을 다시 적용한다.
새로운 그래프 변경이 일어나면 redo 스택은 비워진다. 다시 적용할 것이 없으면 { ok: false, error: "nothing_to_redo" }.
Inputs: no named parameters. Returns: object
render_in_chatA
이 노드의 이웃 서브그래프를 chat 안 인터랙티브 카드로 렌더한다 ([9-D]).
Claude Desktop 등 MCP Apps 지원 클라이언트가 대화창 안 sandboxed iframe 으로 컴팩트 detail 뷰(이웃 노드/엣지)를 보여준다 — 전체 라이브 뷰는 브라우저 별창. 카드는 서버가 만든 자기완결 스냅샷이라 serve 에 연결하지 않고 비밀도 없다([11]).
Inputs: node_id (required). Returns: object
save_snapshotB
이 세션의 그래프를 스냅샷으로 저장한다 (다음 세션이 이어받을 지점).
Inputs: name (required), description. Returns: object
searchA
노드 부분 일치 검색 — query 를 in_fields 각 필드에서 substring 매치 ([5-B]).
대소문자 무시 substring 매치(정규식 아님 — ReDoS 없음, [11]). in_fields 는 filter DSL 이 아니라 단순 필드명 목록이고, 검색 대상은 화이트리스트로 제한된다: {id, label, type, layer, created_by, parent_id, tags} 와 'properties.' (비예약 키만). 예약('_' 접두) 속성이나 미지 필드는 명확한 에러로 거부한다 — bare 필드명이 시스템 소유 키([23-B])를 읽는 구멍이 되지 않게 한다.
결과는 id 오름차순(결정적)으로 정렬해 limit(상한 1000)까지 준다. total 은 limit 이전 전체 매치 수라, 더 있으면 AI 가 안다. READ 무변형(dirty·이벤트 없음).
Inputs: query (required), limit, in_fields. Returns: object
set_layoutC
상세(cytoscape) 뷰의 레이아웃을 바꾼다 ([5-D], [7-B] 탭 enum 동일).
Inputs: algorithm (required), options. Returns: object
suggest_filterA
사람에게 필터를 제안한다 ([5-D]) — 적용이 아니라 배너로 뜬다.
AI 가 "이걸 보면 좋겠다"를 제시하고, 적용 여부는 사람이 정한다.
Inputs: reason (required), dsl_expr (required). Returns: object
undoA
[M2e] 마지막 그래프 변경(push/update/delete/clear/cite/import)을 되돌린다.
되돌린 결과는 [8-C] 이벤트로 브로드캐스트되어 열린 뷰가 즉시 갱신된다. 되돌릴 것이 없으면 { ok: false, error: "nothing_to_undo" }. (필터/스타일/포커스/스냅샷 같은 뷰 상태는 대상이 아니다.)
Inputs: no named parameters. Returns: object
update_edgeC
엣지를 부분 갱신한다. patch/reason 규약은 update_node 와 같다.
[23-C] RN7 ZZ(1): patch is required, as [5-A] declares it. It had
drifted to | None = None, which made this the one updater that
accepted a missing patch — and the falsy-to-{} degradation that used
to hide behind it reported ok:True while changing nothing but
updated_at, publishing an edge.update for an edit that never
happened. Keyword-only because key carries a default.
Inputs: patch (required), source (required), target (required), relation (required), +2 more. Returns: object
update_findingA
기존 finding 을 부분 갱신한다 (같은 발견의 갱신은 record 대신 이것).
Inputs: patch (required), finding_id (required), reason. Returns: object
update_nodeC
노드를 부분 갱신한다.
Inputs: id (required), patch (required), reason. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 43 tools
Most tools have clearly distinct purposes (push vs update vs delete vs list vs get), but some overlap exists: clear_layer/clear_all/delete_node/delete_edge all delete things, and get_graph_summary/list_nodes/search all provide graph overviews. The descriptions help disambiguate, but the boundaries between clear_layer and delete_node could confuse an agent.
The naming is predominantly verb_noun (push_node, list_edges, delete_finding, load_snapshot) with consistent snake_case. Minor deviations: undo/redo are bare verbs, and focus_on/suggest_filter use prepositions, but the overall pattern is predictable and readable.
43 tools is on the heavy side for a graph visualization server. The scope is broad (graph CRUD, findings, snapshots, view state, events, import/export), so each tool has a role, but the count exceeds the typical well-scoped range and will increase agent selection overhead.
The surface covers the full graph lifecycle (create/read/update/delete for nodes, edges, findings), plus snapshots, import/export, and view-state awareness. Minor gaps: no explicit tool for listing layers or managing citations beyond adding them, and no bulk delete for edges, but agents can work around these.
Maintenance
Related MCP Connectors
Persistent, portable memory for AI assistants — your private memory graph, from any MCP client.
Self-hosted AI workspace: semantic RAG document search, long-term memory, and AI chat via MCP.
Live, editable canvas for AI agents — author graphs via MCP, then watch and reroute runs live.
Personal knowledge graph as an AI memory layer over MCP - read, save, and link your memories.
Related MCP Servers
AlicenseAqualityDmaintenanceGPU-accelerated graph visualization and analytics server for Large Language Models that integrates with Model Control Protocol (MCP), enabling AI assistants to visualize and analyze complex network data.1714 npm12MIT- AlicenseNot gradedqualityBmaintenanceA graph-based MCP server that provides AI coding agents with persistent memory to store patterns, track complex relationships, and retrieve knowledge across sessions. It leverages graph structures to handle temporal queries and relational paths that traditional vector stores often miss.258MIT
- AlicenseNot gradedqualityDmaintenanceAI-native code intelligence graph that builds a persistent knowledge graph of your codebase in Neo4j and exposes it to AI assistants via MCP, enabling contextual code analysis, impact analysis, and dependency tracking.23MIT
- AlicenseNot gradedqualityBmaintenanceAn MCP server that provides a shared graph of an organization's projects, processes, areas, and principles, enabling consistent context for tools and AI agents.2Apache 2.0