Skip to content
MCP server

nb-mcp-server

Rust MCP server for reading, writing and editing nb notebooks without shell escaping

Runs locally

nb-mcp-server is an MCP server for knowledge and memory. It runs locally on your machine and is started by your AI client.

Platforms
CLI, macOS, Linux
Runs
Locally
What it can do
Can delete data (1 tool)
Version
0.16.3
Listing updated

Similar MCP servers

Install

In Claude Desktop → Settings → Extensions

https://github.com/emcd/nb-mcp-server/releases/download/v0.16.3/nb-mcp-server-0.16.3-aarch64-apple-darwin.mcpb

Download the bundle and open it with Claude Desktop, or drag it onto Settings → Extensions and click Install. This server is only published as a Claude Desktop bundle.

Claude Desktop setup guide

Using several servers? Build one config file with the MCP config generator.

About nb-mcp-server

The nb note-taking CLI is awkward for assistants: Markdown with backticks triggers shell substitution, and nb assumes one default notebook. This server accepts content as JSON parameters and qualifies every command with an explicit notebook, so a note full of code fences arrives intact and each project can use its own notebook.

The canonical entry is a single multiplexed nb tool with a command parameter, which keeps the token footprint small. Direct typed tools also exist for notes, todos, bookmarks, folders and imports. Editing is deliberately cautious: replace_note_body requires a fingerprint from a prior show so a stale overwrite is rejected, edit_note_substring checks an expected match count, and edit_note_lines verifies line anchors before applying a batch.

It needs nb installed first and ships as a crates.io package or prebuilt macOS, Linux and Windows binaries. Options include a notebook name by environment variable or flag, disabling commit signing and allowing top-level notes.

Tools this server provides (24)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 24 tools deletes data and 5 change data; 12 names don't say.

From the server's own tool labels and tool names; not verified by us.

nb
Multiplexed tool that runs any nb command by name.
addName suggests: changes
Create a note.
showName suggests: reads
Read a note.
deleteName suggests: deletes
Delete a note.
moveName suggests: changes
Move or rename a note.
listName suggests: reads
List notes.
searchName suggests: reads
Full-text search.
todo
Create a todo.
do
Mark a todo complete.
undo
Reopen a todo.
tasks
List todos.
bookmark
Save a URL.
folders
List folders.
mkdir
Create a folder.
import
Import a file or URL.
statusName suggests: reads
Show notebook info.
notebooks
List notebooks.
replace_note_body
Replace a note body, guarded by a fingerprint.
edit_note_substringName suggests: changes
Replace matches of a pattern with an expected count.
edit_note_linesName suggests: changes
Apply line edits verified against anchors.
retitle_note
Change a note's title.
edit_note_tagsName suggests: changes
Add or remove tags atomically.
show_note_linesName suggests: reads
Read a bounded window of lines.
search_note_linesName suggests: reads
Search with anchored line matches.

What it does

Explicit notebooks
Every command is qualified with a notebook, so projects stay separate.
JSON content
Note bodies pass as parameters with no shell escaping.
Guarded edits
Fingerprints and expected counts block stale or destructive overwrites.
Line-level reads
Anchored windows into a note with line-ending info.
Todos and bookmarks
Create and complete tasks, save URLs and import files.
Atomic tag edits
Add and remove tags in one operation.

Good for

  • Keep per-project decision notes written by an agent
  • Let an assistant tick off todos in a notebook
  • Patch one passage of a long note safely
  • Save bookmarks with comments from a chat

nb-mcp-server FAQ

Do I need nb installed?

Yes. Install nb first, then the server from crates.io or a release binary.

How do I choose the notebook?

Set NB_MCP_NOTEBOOK or pass --notebook, which takes precedence.

Why were whole-note overwrites removed?

The old edit tool was replaced by body-aware tools to avoid destructive overwrites.

Which platforms have builds?

Prebuilt packages exist for Apple Silicon macOS, Linux (arm64 and x86_64) and Windows x86_64.

What are the best alternatives to nb-mcp-server?

The closest alternatives to nb-mcp-server are MCP Notes Server, Provenote MCP, Notes by Halo, SoloMD and Simplenote MCP.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers