· via Hacker News – Front Page (hnrss.org)
SessionGraph indexes coding agent sessions locally and exposes them via MCP and REST
SessionGraph, featured on Hacker News, indexes coding agent history from multiple harnesses entirely on your machine, visualizes it as a graph, and lets agents query it via MCP or a REST API.

A local index for scattered agent history
SessionGraph, a tool that reached the Hacker News front page, targets a growing annoyance for developers working with AI coding agents: every harness keeps its own session log, and finding an old conversation means first remembering which tool it ran in. According to the project's site, SessionGraph pulls session data from the store your harness writes, indexes it, and opens a desktop app where that history can be explored as an interactive graph.
The distinguishing constraint is locality. The site stresses that all of this happens on the user's machine, with nothing uploaded, and frames the whole pitch around privacy. Getting started is a one-liner: running npx sessiongraph in a terminal, with an installer offered as an alternative for those who prefer one.
One search box for every harness
Once sessions are indexed, they become searchable from a single place regardless of which harness produced them. The site's demo query, "invoice retries," returns two matches — a bug-fixing session from Codex and a backoff-testing session from Claude Code, the two harnesses that appear by name on the page. The use cases the project highlights are digging up an old conversation, resuming earlier work, and reviewing what changed during a given session.
The page claims broad harness support and points to a fuller list of sources, but beyond the Codex and Claude Code examples it does not enumerate which session stores are actually covered.
MCP and REST access to the index
The desktop app is only part of the design. SessionGraph also exposes the local index to other software in two ways.
The first is MCP, the protocol that lets AI applications call external tools. With this support, a coding agent can query past sessions itself: in the site's example, a user asks in plain language for sessions about invoice retries, and the request is resolved into a search_sessions tool call that returns the two matching sessions. In effect, an agent can consult its own history — and the history of other harnesses — without leaving the conversation.
The second is a REST API. The same search capability is available over HTTP through a simple GET endpoint that takes a query parameter and returns JSON results. That makes the index scriptable, so custom tooling, dashboards, or automation can query it the same way the desktop app does.
Comparing graphs with others
One feature stands out as unusual: the page invites users to compare their session graph against those of friends. It does not, however, explain how that comparison works or what is shared in a design otherwise built around keeping everything on your machine.
Why it matters
Session history is quietly becoming a valuable asset for developers. Agents accumulate long transcripts of what was attempted, what failed, and what ultimately fixed a bug — and today that record is siloed per harness and effectively write-only. A local index that spans harnesses turns the archive into queryable context instead of dead storage.
The MCP angle is the most interesting part. An agent that can search past sessions can bootstrap itself with prior context — what was already tried, which approach worked — without a human pasting it in. For teams standardizing on MCP, a session index exposed as a tool slots into existing workflows rather than demanding a new one.
The privacy posture also contrasts with cloud-based analytics approaches: there is nothing to leak because nothing leaves the device. That said, the source here is the project's own marketing page surfaced via Hacker News, so claims about harness coverage and behavior await independent hands-on verification. The longer-term question is whether harness vendors build equivalent cross-tool history search natively, or whether third-party local indexes like this become the standard layer on top.
- #developer-tools
- #coding-agents
- #mcp
- #local-first
- #privacy