Search your library
Find notes, links, and saved context by the detail you remember.
luckynote search "project plan"Search your library and save to it without leaving the shell. Built for developers, scripts, and AI agents.
curl -fsSL https://luckynote.io/cli/install.sh | shRequires Node.js 22 · Authenticate with a Luckynote API token
In Luckynote, open Settings → API Tokens, name a new token “CLI”, then copy it when it appears. Tokens are shown only once.
luckynote auth --api-key <your-token>Your token is stored locally with restricted file permissions. Enable the token’s write option only if you want commands such as luckynote save to create notes.
Find notes, links, and saved context by the detail you remember.
luckynote search "project plan"List your library or resolve a folder path without opening the app.
luckynote folders --jsonPrint a saved note to pass it into another shell tool or agent.
luckynote content <message-id>Capture a URL or a thought at the moment you find it.
luckynote save "https://…"Add --json to any command for scripts and agents.
luckynote search "plan" --jsonInstall completion for the commands you use every day.
luckynote completion zshRun luckynote --help in your terminal for the complete command reference and options.
CLI is for people, scripts, and shell-capable agents. MCP connects Luckynote directly to tools such as Claude, Codex, Cursor, and ChatGPT through browser OAuth.
The CLI currently uses a personal access token from Settings → API Tokens. Browser login will be added without replacing the script-friendly token flow.