Keep Claude Code’s bugs and todos after the session ends.

Claude Code finds bugs and leaves todos as it works. Hutch keeps them as records the next session can query, in this repo or any other.

  1. 01

    The next session picks up the list. Open bugs are a query away, not in a closed terminal.

  2. 02

    One list across repos. Hutch is added for your user, so every project sees it.

  3. 03

    You see the board too. Open the collection as a table and reprioritize by hand.

CONNECT IN ONE PROMPT

Paste this into Claude Code. It runs claude mcp add for your user account and starts the sign-in. In the browser, choose Read + write and click Approve.

Connect Hutch (hutchdb.com) to Claude Code as an MCP server.

URL: https://app.hutchdb.com/api/mcp

Transport: remote streamable HTTP

Auth: OAuth (no API key). I'll approve in the browser.

How to do it in Claude Code:

Run: claude mcp add --transport http --scope user hutch https://app.hutchdb.com/api/mcp

Then run claude mcp login hutch, or tell me to run /mcp and authenticate hutch.

1. Add the server for my user account, not just this project, so it works everywhere.

2. Start the OAuth login, or tell me exactly what to click if you can't start it yourself.

3. Tell me if I need to restart or reload you. Then call hutch_list_collections to confirm it works.

Full setup ↓

Watch a session use it

Claude Code runs the tests, files what it finds, fixes what it can, and leaves the rest open for next time.

claude-code / ~/src/api6 CALLS
  1. Ran the test suite: 3 failures

    Bashclaude

  2. Checked bugs for failures already filed in this repo

    Hutchhutch_query_recordsclaude

  3. Filed the 2 new failures with the file and test name

    Hutchhutch_store_recordsclaude

  4. Fixed both pagination bugs in paginate.ts

    Editclaude

  5. Reran the tests: 1 failure left

    Bashclaude

  6. Marked 2 bugs fixed and left the flaky test open

    Hutchhutch_set_record_statusclaude

hutch / bugsTABLE
Example: the bugs collection after the session
bugfilestatus
Page 2 repeats the last rowpaginate.tsfixed
Empty cursor throwspaginate.tsfixed
Sync test times outsync.test.tsopen

3 records · 2 filed and 2 fixed in one session

Where the work goes when the session ends

A session ends or compacts, and the details go with it. CLAUDE.md tells Claude how to work in a repo. Hutch holds the work itself: bugs, todos, and follow-ups as records Claude can filter and update.

BUGS / TODOS / FOLLOW-UPS
CODE.01

File it, don’t scroll for it

When Claude spots a bug it won’t fix in this change, it saves a record with the file, the failing test, and a status. Tomorrow, ask for the open bugs in this repo.

CODE.02

Same collections in every repo

Added with --scope user, Hutch is there in every project. A todo filed while you work on the API shows up when you’re in the frontend.

CODE.03

Other agents see it

A bug Claude Code files is a record that Codex, Claude Desktop, or a teammate can open. Change its status in one place and everyone sees it.

Set it up by hand

The prompt above is the fast path: Claude Code makes the changes and walks you through the sign-in. These are the same steps if you’d rather do them yourself. No Hutch account yet? You’ll create one when you approve the sign-in.

~/hutch/install-claude-codeSETUP

01Step 1. Connect

Run this in your terminal:

SHELL
claude mcp add --transport http --scope user hutch https://app.hutchdb.com/api/mcp

--scope user makes Hutch available in every project. Drop it to add Hutch to the current project only.

02Step 2. Authenticate

Start Claude Code and run:

PROMPT
/mcp

Select hutch and authenticate. A browser window opens: sign in to Hutch, choose Read + write, and click Approve. Over SSH, run claude mcp login hutch --no-browser in your shell instead.

03Step 3. Try it

From a Claude Code session, try:

  • >"Store this article in my Hutch reading-list collection."
  • >"Save the bugs we just discussed to a "tickets" collection in Hutch."
  • >"What collections do I have in Hutch?"
  • >"Find my notes about caching in Hutch."

Before you ask

FAQ.01

Does this replace CLAUDE.md?

No. CLAUDE.md holds instructions for working in a repo. Hutch holds the work Claude produces, like bugs, todos, and decisions, as records with fields it can filter and update.

FAQ.02

Is Hutch added to one project or all of them?

The command uses --scope user, so every project gets it. Drop the flag to add Hutch to the current project only.

FAQ.03

What does the sign-in ask for?

You sign in to Hutch in your browser once, then see an Authorize access page. Choose Read + write so Claude can save records, and click Approve. Claude Code refreshes the token from then on.

FAQ.04

Can my team see it?

Yes. Invite teammates to your Hutch org and they get the same collections in the browser, no MCP required.

Give Claude Code an app database