Skip to main content

Pyramid memory for LLM-driven CLIs. Git-native, MCP-ready.

Project description

clinotes

Pyramid memory for LLM-driven CLIs. Git-native, MCP-ready.

License: MIT

What it is

clinotes is project memory that lives in your repo. It stores decisions and learnings as plain Markdown with YAML frontmatter inside a .clinotes/ directory. Because the format is text-first and git-native, any LLM can recall it cheaply without hallucinating your stack.

Why

LLMs forget between sessions. Inline code comments rot. Wikis live outside the repo. clinotes gives your agent a structured, versioned memory layer it can read in ~200 tokens and expand only when needed.

Install

pip install clinotes

Quickstart

clinotes init          # scaffold .clinotes/
clinotes ls            # show the index (L0)
clinotes show d1       # show a detail (L2)

MCP Setup

Add clinotes to your editor so the LLM can recall and record project memory.

Claude Code:

claude mcp add clinotes -- uvx clinotes-mcp

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "clinotes": {
      "command": "uvx",
      "args": ["clinotes-mcp"]
    }
  }
}

Python API

from clinotes import note_decision, recall_index, recall_detail

# Record a decision
note_decision(
    title="postgres over mysql",
    why="client DBA only supports pg",
    alternatives=["mysql", "sqlite"],
    refs=["infra/db.py"]
)

# Recall
print(recall_index())          # L0 — cheap survey
print(recall_detail("d1"))     # L2 — full detail

Format

The on-disk layout, ID scheme, and frontmatter specification are defined in SPEC.md.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clinotes-0.1.0.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clinotes-0.1.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file clinotes-0.1.0.tar.gz.

File metadata

  • Download URL: clinotes-0.1.0.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for clinotes-0.1.0.tar.gz
Algorithm Hash digest
SHA256 63df5ab48b38d643d8ad94ea5da3cb94b7ae34c5f57c21e157db45ca7bd2ff24
MD5 e9b6eb5e684af05aad0d9bd1e22d20e3
BLAKE2b-256 8e5c3edf1e543571cdf5050654f52aba8e8472346959f2a6ce6774d03e098011

See more details on using hashes here.

File details

Details for the file clinotes-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: clinotes-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for clinotes-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 768855efe36d7017ffa64c5a7dd82741f6cafffe703a3ac3766528e6232f054d
MD5 bf18bd5e05f1f863fd7a189cfeaa69cb
BLAKE2b-256 6128b513801bdb71030ab210b173cbc1c26e58a2c9344ce6b24f8625f1e3977d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page