# Nota > Nota is a local-first Markdown notes app. Notes are `.md` files in a folder (the vault); a SQLite index for search, tags and backlinks sits beside them and can be rebuilt. One small Go codebase gives a desktop app (macOS, Linux; system webview), a web app, a CLI and an MCP server. Sync is optional, to a server you run. - Desktop app 0.1.0: https://github.com/banjo/nota/releases/tag/v0.1.0. Homebrew: `brew install --cask banjo/tap/nota` - CLI and MCP server: the Homebrew cask installs both the app and `nota`; Go users can also run `go install github.com/banjo/nota/cmd/nota@latest` - Web app, sign in with a passkey: https://nota.banjoanton.com/app/ - Free and open source, MIT: https://github.com/banjo/nota - A vault is a folder: `--vault`, `$NOTA_VAULT`, else ~/Notes. New notes land in `Inbox/`. - Frontmatter is the metadata (tags, status, created/updated, custom keys). Edits are line-based, unknown keys survive. ## CLI Every command takes `--json`. - `nota add "text" [--folder F] [--tag T]`: a new note - `nota ls [--tag T] [--folder F] [--where k=v] [--view V]`: list notes - `nota search `, `nota cat `, `nota open ` - `nota set key=value`, `nota tag +tag -tag`, `nota mv `, `nota rm ` - `nota inbox`, `nota views`, `nota tags`, `nota backlinks ` - `nota index --rebuild`: rebuild the index from the files - `nota sync [--watch]`, `nota remote add `, `nota login`, `nota history `, `nota restore ` - `nota serve`: the sync server, web API and HTTP MCP - `nota mcp`: an MCP server on stdio ## MCP Claude Code: `claude mcp add nota -- nota mcp`. Other clients: command `nota`, args `["mcp"]`. On a server the same tools answer at `POST /mcp` with a device token. - `search_notes`: full-text search, with snippets - `read_note`: a note, its frontmatter, links and hash - `list_notes`: a folder, a tag, a where clause or a view - `create_note`: a new note, in the inbox by default - `append_to_note`: adds text to the end of a note - `update_note`: a body, refused if the note moved on - `update_frontmatter`: properties and tags, line by line - `move_note`: files a note into a folder - `list_tags`: every tag with its count - `list_views`: the saved views in .nota/views - `get_backlinks`: the notes that link to a note ## Plugins Plugins live in the vault's `.nota/` folder and sync with it. - Views: `.nota/views/*.yaml` are saved queries shown as virtual folders (`name`, `where`, `tag`, `folder`, `sort`, `limit`). `nota ls --view `. - Hooks: `.nota/hooks.toml` runs shell commands on `note.created`, `note.saved`, `note.moved`, `note.deleted`, `inbox.added`, `sync.completed`, with the event as JSON on stdin. `transform` hooks (on `note.created` and `inbox.added`) print a patch such as `{"folder": "Recipes", "tags": {"add": ["x"]}, "set": {"status": "todo"}}`. The server runs them too with `NOTA_SERVER_HOOKS=on`. `nota hooks list`, `nota hooks test `. - UI plugins (commands, panels, editor widgets with a manifest and permissions) are planned, not released. ## Sync `nota serve` is one Go binary with SQLite and a blob folder. Accounts use passkeys and recovery codes. Sync is file-level with a three-way merge and conflict copies. No end-to-end encryption: the server can read the notes it stores. ## Links - [README](https://github.com/banjo/nota#readme) - [Deploying the server](https://github.com/banjo/nota/blob/HEAD/docs/deploy.md) - [Web API](https://github.com/banjo/nota/blob/HEAD/docs/api.md) - [Sync protocol](https://github.com/banjo/nota/blob/HEAD/docs/sync-protocol.md)