Skip to main content

Helix

Global convention memory for AI coding agents — persist your coding preferences once, surface them in every Claude Code, Cursor, or MCP-compatible session.

Install

# With uv (recommended)
uv tool install helix-memory

# Or with pip
pip install helix-memory

Quick start

# 1. Hook Helix into your agent (Claude Code, Cursor, …).
helix install

# 2. Save your first convention. The name is derived from the body.
helix remember "Prefer Pydantic v2 for any external-boundary validation." -t python

From there, your next agent session will see the conventions automatically.

CLI

helix remember "<body>" [--name <name>] [--tags <comma,separated>]
helix list [--tags <tag>]
helix recall "<query>" [--tags <tag>]
helix edit <name>     # open the convention in $EDITOR
helix forget <name>
helix install   [--client <key>] [--scope global|project] [--yes]
helix uninstall [--yes]
helix serve     # start the MCP server
helix version   # print the installed version

remember takes the body three ways — as an argument, from stdin, or from $EDITOR:

helix remember "Always use async I/O." -t python
git log --format=%s -1 | helix remember -
helix remember                 # opens $EDITOR

The convention name is slugified from the body (always-use-async-i-o), with a numeric suffix on collision. Pass --name to choose it yourself; an explicit name overwrites any existing convention with that name.

install is scriptable, so it can live in a dotfiles bootstrap:

helix install --client claude --scope global --yes

Storage

Conventions live in ~/.dev_brain/ as plain markdown, one file per convention, plus an INDEX.md. Point HELIX_BRAIN_DIR at a directory you already sync to carry them between machines:

export HELIX_BRAIN_DIR=~/dotfiles/brain

MCP server

helix serve starts a stdio MCP server that exposes four tools: remember, recall, list_conventions, forget.

Claude Code

helix install also writes a SessionStart hook, so the convention index is injected into every session without the agent having to ask for it:

// ~/.claude/settings.json (global) or .claude/settings.json (project)
{
  "hooks": {
    "SessionStart": [
      {
        "matcher": "startup|resume|clear",
        "hooks": [{ "type": "command", "command": "helix list" }]
      }
    ]
  }
}

Restart Claude Code after installing for the hook to take effect.

Project-scoped (recommended — one .mcp.json per repo):

// .mcp.json at the project root
{
  "mcpServers": {
    "helix": {
      "command": "helix",
      "args": ["serve"]
    }
  }
}

User-scoped (available in every project):

claude mcp add helix -- helix serve

Or edit ~/.claude.json manually:

{
  "mcpServers": {
    "helix": {
      "command": "helix",
      "args": ["serve"]
    }
  }
}

Cursor

Global (all projects):

// ~/.cursor/mcp.json
{
  "mcpServers": {
    "helix": {
      "command": "helix",
      "args": ["serve"]
    }
  }
}

Project-scoped:

// .cursor/mcp.json at the project root
{
  "mcpServers": {
    "helix": {
      "command": "helix",
      "args": ["serve"]
    }
  }
}

After adding the config, restart your client. Verify the server is visible: in Claude Code run /mcp, in Cursor open the MCP panel.

License

MIT

Metadata

Release files for helix-memory 7.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for helix-memory 7.0.0
File Size Uploaded Provenance Actions
helix_memory-7.0.0.tar.gz 103.5 kB With provenance Details for helix_memory-7.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for helix-memory 7.0.0
File Interpreter ABI Platform Actions
helix_memory-7.0.0-py3-none-any.whl Python 3 none any Details for helix_memory-7.0.0-py3-none-any.whl

Total release size: 130.6 kB

Release files / helix_memory-7.0.0.tar.gz

Download URL helix_memory-7.0.0.tar.gz
Size 103.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e78dd1c4d591a498fe4d6d34a4b2d0608f65f96084184df3dd1d1ebbf8b20d15
BLAKE2b-256 checksum
How to use checksums
401206e1fb026b9664e0f48676fa053da08e89367ec42ba01a87524116fe0097
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Release files / helix_memory-7.0.0-py3-none-any.whl

Download URL helix_memory-7.0.0-py3-none-any.whl
Size 27.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c00268efab77b197dd29bf5daa8e3bc1b35dc352c3a441fc30a223f37392656f
BLAKE2b-256 checksum
How to use checksums
ec8d1c5d12c9634edf28a170841524f42b6e2e1f97fbec6aee33465e9384af1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

Security for helix-memory 7.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for helix_memory-7.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page