Pyramid memory for LLM-driven CLIs. Git-native, MCP-ready.
Project description
clinotes
Pyramid memory for LLM-driven CLIs. Git-native, MCP-ready.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63df5ab48b38d643d8ad94ea5da3cb94b7ae34c5f57c21e157db45ca7bd2ff24
|
|
| MD5 |
e9b6eb5e684af05aad0d9bd1e22d20e3
|
|
| BLAKE2b-256 |
8e5c3edf1e543571cdf5050654f52aba8e8472346959f2a6ce6774d03e098011
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
768855efe36d7017ffa64c5a7dd82741f6cafffe703a3ac3766528e6232f054d
|
|
| MD5 |
bf18bd5e05f1f863fd7a189cfeaa69cb
|
|
| BLAKE2b-256 |
6128b513801bdb71030ab210b173cbc1c26e58a2c9344ce6b24f8625f1e3977d
|