Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Heyditto CLI

MCP server by ditto-assistant Verified · npm:@heyditto

Heyditto CLI is a command-line client for the Ditto memory graph. It lets you save, search, fetch and traverse memories from the shell, for people and AI agents who want persistent memory.

  • Score 86
  • 3 stars
  • 4.7k a week
  • MIT
  • Updated

Install Heyditto CLI

Built from the published package, never by AI.

claude mcp add heyditto-cli -- npx -y @heyditto/cli

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Heyditto CLI in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the heyditto-cli block.

About

Heyditto CLI, published as @heyditto/cli, lets you save, search, fetch and traverse the Ditto memory graph from the terminal. Commands cover memories, subjects, subject edges, knowledge graphs, friends and graph sharing. The package also manages personal BYOK router endpoints and provider keys, and it can launch claude and codex sessions through an inference endpoint.

Humans sign in with heyditto login, which opens the browser and approves a one-time device code. Agents can run heyditto init to create a free claimable agent account without a browser, email or OTP. The agent name is set once at init with --name, because it labels every memory the agent saves. The package is aimed at people and agents who want shell access to their Ditto memories and endpoints.

Written from the project's README and checked against it.

Tools it gives your assistant

  • saveSaves a memory with optional source and source context.
  • searchSearches the memory graph with a query, optionally including public memories.
  • fetchFetches one or more memories by id, in full, outline or blocks format.
  • subjectsFinds subjects that match a query, with a top-k limit.
  • subject-edgesLists edges connected to a subject, with limit and minimum weight options.
  • memoriesLists memories linked to one or more subject ids, optionally filtered by query.
  • updateUpdates a memory's content, title, source context or edits.
  • deleteDeletes a memory by id and requires the --confirm flag.

What you need

  • npm, to install @heyditto/cli globally or run it with npx
  • A Ditto account, or an agent account created with heyditto init
  • A browser to approve heyditto login for human sign-in
  • A Ditto API key (ditto_mcp_...), if you paste a key instead of signing in

Try asking

  • Save this to my Ditto memory: I prefer TypeScript for new projects
  • Search my Ditto memories for what I said about language preferences
  • Show the subjects related to memory architecture in my Ditto graph

Good to know

  • The CLI cannot rename an agent after init yet.
  • Apple's /usr/bin/ditto is a separate command, so use heyditto instead.
  • On Windows, the source recommends external secret managers for key files.
  • Background update checks apply only to eligible global npm installs.

Security check

C
  • Asks for administrator rights (sudo)In README.md: sudo

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Heyditto CLI

All alternatives →

Compare with Zotero MCP, Agentdb or Genkitx MCP

Heyditto CLI: common questions

Does heyditto conflict with the macOS ditto command?

Apple's /usr/bin/ditto is a separate file-copy utility and this package does not install a ditto command. Use heyditto, and remove an old ditto alias if one exists.

Can an agent create an account without a browser?

Yes. Running heyditto init --json creates a free claimable agent account and stores the key in the CLI config directory. The claim URL is shared with a human later.

Does the CLI update itself?

Eligible global npm installs check for newer versions about every six hours in the background. You can disable or pin updates with self-update commands, or suppress checks with environment variables.

How do I install Heyditto CLI?

In Claude Code run claude mcp add heyditto-cli -- npx -y @heyditto/cli. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Heyditto CLI the official server?

Heyditto CLI is published by npm:@heyditto from its verified domain in the official MCP Registry.

Is Heyditto CLI free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Heyditto CLI safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality C. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to Heyditto CLI?

Similar MCP servers: Zotero MCP, Agentdb, Genkitx MCP, Qmd.

Does Heyditto CLI work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Heyditto CLI Install

Add to stack

Loading.