Claude Code planning and memory in a task tree

Gnothi's MCP server gives every Claude Code session one plan to read and keep: the steps, which session is on which, the parts you tagged #spec, and the questions waiting on you.

The connector and API keys are free. You need a Claude account.

Plan a feature as a tree any session can keep

A plan inside a Claude Code session lasts as long as the session. In Gnothi, it's a tree that outlives it.

Ask Claude to plan a feature, say CSV export, as a tree: the feature on top, its steps under it, each step's details in its note. As steps get done, Claude checks them off and records the progress in the parent's note, so the tree shows what's done and what's left. In any session, tell Claude "add a to-do to review Sam's pull request" and it's on your list without leaving the terminal.

Quick tour

Full walkthrough

Context engineering: titles first, details on demand

Claude reads the plan's titles first, about 30 tokens an item, and opens a step only as far as it needs. With AI on, a note over 40 words gets a brief and one over 500 also gets a summary, so Claude can read the gist before the whole note. When the context compacts, or you come back tomorrow, the plan is still there: Claude writes where each step stands into its note, and the next session picks up from it.

Parallel sessions and subagents on one plan

Run several Claude Code sessions at once and each claims the step it starts with a #wip tag, so the others pick different steps. Gnothi stamps each claim with the session that holds it and an expiry. While the claim is live, only that session can release it; once it expires, a claim left by a session that died can be taken. Sessions that share one key send a short agent label so their claims can be told apart.
Subagents inherit their session's MCP tools, so a subagent can read the tree and report back on a step without filling the main session's context. To point a session at one branch, open the item's menu, choose Copy ID, and paste the id into the session.
Questions from every session wait on the items they're about, in one Needs review on your board, so you answer them in the app, on your phone if you like, instead of in each terminal. The next session that reads the item reads your answer.
I built Gnothi, and I plan my own work in it. I usually have eight Claude Code sessions going on one board, each with many subagents, and one root session has run for seven days without a pause.

Spec-driven development with #spec, alone or with Spec Kit

Write down what you expect of your app, the behavior rather than the implementation, in a field in your board's Data column, and tag each part you've settled #spec. Claude can't create a #spec item, adding or removing the tag waits on you, and every edit Claude makes to a #spec item, a move or check-off included, waits on you in Needs review, where a reject rolls it back. When Claude needs your call on a step, it asks on the item. A bug Claude finds off to the side can become its own item, so the step in hand stays on track.
GitHub's Spec Kit is a toolkit for spec-driven development, run as commands in your agent's chat such as /speckit-specify, /speckit-plan and /speckit-tasks. Use it to write the spec, and put the tasks it produces in a Gnothi tree, where sessions claim them and you approve changes to the parts tagged #spec. Spec Kit is open source and keeps its files with your project.

Decisions that outlive the feature

When a feature ships, what's worth keeping, like why you chose one library over another, moves to your Reference field, and later steps point back to it. Claude can also read an item's change log for the last 90 days, with who made each change and why, so a step's history shows how it got there.

CLAUDE.md, plan mode and a task tree: what each one keeps

Each Claude Code session begins with a fresh context window. CLAUDE.md carries the instructions you write into every session, and auto memory carries notes Claude writes itself. Plan mode has Claude read files and propose a plan, making no edits until you approve.
A Gnothi tree keeps the plan's state: which steps exist, which are done, which session is on which, what you answered, and what was decided. Your CLAUDE.md can point at it in one line, and a plan you approved in plan mode can become the tree. CLAUDE.md lives in your repository, versioned with your code and loaded with no network call; plan mode is built into Claude Code.

When a Markdown file is enough

If a plan lasts one session and you want it in git beside the code, a Markdown file in the repo does the job: it's versioned, it's free, and Claude reads it with no network call. A Gnothi tree lives on Gnothi's servers, outside your git history, and needs an account. It earns its keep when the plan runs across many sessions, when parallel sessions work it at once, when you want to approve changes from your phone, or when the decisions should outlast the feature.

Connect Claude Code to Gnothi over MCP

If you sign in to Claude Code with the claude.ai account you added Gnothi on, it's already there under /mcp. Otherwise, run:
claude mcp add --transport http --scope user gnothi https://api.gnothiai.com/mcp
Then run /mcp in Claude Code, choose Authenticate, and pick a key on Gnothi's connect page.
Claude reaches only the fields the key you connect gives it, read only or able to change them, and journal access starts off on a new key.
Other MCP clients that take a custom header, such as Cursor, connect to https://api.gnothiai.com/mcp with an API key as an Authorization: Bearer header. The same board also works in claude.ai, the Claude app and Cowork: Claude as your second brain.

Common questions

Can two Claude Code sessions work the same step?

Each session claims the step it starts with #wip, and while the claim is live only that session can release it, so the others pick different steps. Once a claim expires, a step left by a session that died can be taken.

Does the plan live in my git repository?

No. A Gnothi tree lives on Gnothi's servers, outside your git history. Any branch exports as Markdown or OPML on the web, and a plan that lasts one session may be better as a Markdown file in the repo.

Can Claude Code change a #spec item?

It can edit one, but every edit, a move or check-off included, waits on you in Needs review, and a reject rolls it back. Claude can't create a #spec item, and adding or removing the tag waits on you.

What does it cost?

The connector and API keys are free, and Claude Code's work runs on your Claude plan. Briefs and summaries of long notes need AI on in Gnothi, which uses Gnothi credits.

Put your next plan in a tree

The connector and API keys are free. Add Gnothi to Claude Code with one command, pick a key, and ask Claude to plan your next feature as a tree.

Connect Claude Code free