Joplin MCP Server
v0.10.0FastMCP server exposing Joplin notes, notebooks, tags, and imports.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ping_joplin
Test connection to Joplin server. Verifies connectivity to the Joplin application. Use to troubleshoot connection issues. Returns: str: Connection status information.
get_note
Retrieve a note with smart content display and sequential reading support. Smart behavior: Short notes show full content, long notes show TOC only. Sequential reading: Extract specific line ranges for progressive consumption.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | Note ID to retrieve |
force_full | Force full content even for long notes (default: False) | |
line_count | Number of lines to extract from start_line (default: 50) | |
metadata_only | Show only metadata without content (default: False) | |
section | Extract specific section (heading text, slug, or number) | |
start_line | Start line for sequential reading (1-based) | |
toc_only | Show only table of contents (default: False) |
get_note_resources
List resources attached to a note, including OCR text for images and PDFs. Joplin runs OCR on attached images and PDFs and stores the result on each resource. This tool exposes that text so an agent reading a note can also see what's inside its images. Resources without OCR text (audio, plain files, or images not yet OCRed) are still listed unless ``ocr_only=True``.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | Note ID whose resources to list |
ocr_only | Return only resources with non-empty OCR text (default: False) |
get_links
Extract all links to other notes from a given note and find backlinks from other notes. Scans the note's content for links in the format [text](:/noteId) or [text](:/noteId#section-slug) and searches for backlinks (other notes that link to this note). Returns link text, target/source note info, section slugs (if present), and line context. Returns: str: Formatted list of outgoing links and backlinks with titles, IDs, section slugs, and line context. Link formats: - [link text](:/targetNoteId) - Link to note - [link text](:/targetNoteId#section-slug) - Link to specific section in note
| Parameter | Type | Description |
|---|---|---|
note_id * | string | Note ID to extract links from |
create_note
Create a new note in a specified notebook in Joplin. Creates a new note with the specified title, content, and properties. Uses notebook name for easier identification instead of requiring notebook IDs. Notebook can be specified by name or path: - "Work" - matches notebook named "Work" (must be unique) - "Projects/Work" - matches "Work" notebook inside "Projects" Returns: str: Success message with the created note's title and unique ID. Examples: - create_note("Shopping List", "Personal Notes", "- Milk - Eggs", True, False) - Create uncompleted t…
| Parameter | Type | Description |
|---|---|---|
notebook_name * | string | Notebook name or path (e.g., 'Work' or 'Projects/Work/Tasks') |
title * | string | Note title |
body | string | Note content |
is_todo | Create as todo (default: False) | |
todo_completed | Mark todo as completed (default: False) | |
todo_due | Due date: Unix timestamp (ms) or ISO 8601 string (e.g., '2024-12-31T17:00:00'). Only for todos. |
update_note
Update note properties (title, body, todo status, due date) or move a note to another notebook. Replaces the entire body. Use this for metadata changes, moving a note between notebooks, or full body replacement. For targeted text edits (fix a word, append a line) use edit_note instead — it doesn't require reading first. Notebook can be specified by name or path: - "Work" - matches notebook named "Work" (must be unique) - "Projects/Work" - matches "Work" notebook inside "Projects" Returns: str: Success message confirming the note was updated. Examples: - update_note("note123", tit…
| Parameter | Type | Description |
|---|---|---|
note_id * | string | Note ID to update |
body | New content (optional) | |
is_todo | Convert to/from todo (optional) | |
notebook_name | Move note to this notebook by name or path (e.g., 'Work' or 'Projects/Work/Tasks') | |
title | New title (optional) | |
todo_completed | Mark todo completed (optional) | |
todo_due | Due date: Unix timestamp (ms), ISO 8601 string, or 0 to clear. Only for todos. |
edit_note
Precision-edit a note's body without reading or replacing the full content. Preferred over update_note for targeted text changes — no get_note round-trip needed. Use update_note instead when changing metadata (title, todo status, due date) or replacing the entire body. Modes: - Replace: provide old_string and new_string to replace text in the note body. - Delete: provide old_string and set new_string to '' to remove text. - Append: set position='end' (old_string must be None) to append new_string. - Prepend: set position='beginning' (old_string must be None) to prepend new_string.
| Parameter | Type | Description |
|---|---|---|
new_string * | string | Replacement text (use '' to delete) |
note_id * | string | Note ID to edit |
old_string | Text to find and replace (None for positional insert) | |
position | Insert position: 'beginning' or 'end' (only when old_string is None) | |
replace_all | Replace all occurrences (default: False) |
find_notes
Find notes by searching titles and content. Use "*" to list all notes. Query syntax: "exact phrase", title:word, body:word, -exclude, word1 OR word2 Examples: - find_notes("*") - List all notes - find_notes("meeting") - Find notes containing "meeting" - find_notes("*", task=True) - List all tasks - find_notes("*", trash=True) - List trashed (soft-deleted) notes - find_notes("*", limit=20, offset=20) - Page 2 TIP: Use find_notes_with_tag() or find_notes_in_notebook() for filtered searches. TIP: Trashed notes can be restored with restore_from_trash(). IMPORTANT: trash=Tru…
| Parameter | Type | Description |
|---|---|---|
query * | string | Search text or '*' for all notes |
completed | Filter by completion status (default: None) | |
limit | integer | Max results (1-100, default: 20) |
offset | integer | Skip count for pagination (default: 0) |
order_by | Sort field: "title", "created_time", "updated_time" (default: updated_time for *, relevance for text) | |
order_dir | Sort direction: "asc", "desc" (default: asc for title, desc for time fields) | |
task | Filter by task type (default: None) | |
trash | Show trashed (soft-deleted) notes instead of active notes (default: None/False) |
find_in_note
Search for a regex pattern inside a specific note and return paginated matches. Multiline mode is enabled by default so anchors like ``^``/``$`` operate per line, matching the common expectations for checklist-style searches.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | Note ID to search within |
pattern * | string | Regular expression to search for |
case_sensitive | Use case-sensitive matching (default: False) | |
dotall | Dot matches newlines (re.DOTALL, default: False) | |
limit | integer | Max matches per page (1-100, default: 20) |
multiline | Enable multiline flag (affects ^ and $, default: True) | |
offset | integer | Skip count for pagination (default: 0) |
find_notes_with_tag
Find all notes that have a specific tag, with pagination support. MAIN FUNCTION FOR TAG SEARCHES! Use this when you want to find all notes tagged with a specific tag name. Returns: str: List of all notes with the specified tag, with pagination information. Examples: - find_notes_with_tag("time-slip") - Find all notes tagged with "time-slip" - find_notes_with_tag("work", limit=10, offset=10) - Find notes tagged with "work" (page 2) - find_notes_with_tag("work", task=True) - Find only tasks tagged with "work" - find_notes_with_tag("important", task=True, completed=False)…
| Parameter | Type | Description |
|---|---|---|
tag_name * | string | Tag name to search for |
completed | Filter by completion status (default: None) | |
limit | integer | Max results (1-100, default: 20) |
offset | integer | Skip count for pagination (default: 0) |
order_by | Sort field: "title", "created_time", "updated_time" (default: updated_time) | |
order_dir | Sort direction: "asc", "desc" (default: asc for title, desc for time fields) | |
task | Filter by task type (default: None) |
find_notes_in_notebook
Find all notes in a specific notebook, with pagination support. MAIN FUNCTION FOR NOTEBOOK SEARCHES! Use this when you want to find all notes in a specific notebook. Notebook can be specified by name or path: - "Work" - matches notebook named "Work" (must be unique) - "Projects/Work" - matches "Work" notebook inside "Projects" Returns: str: List of all notes in the specified notebook, with pagination information. Examples: - find_notes_in_notebook("Work Projects") - Find all notes in "Work Projects" - find_notes_in_notebook("Personal Notes", limit=10, offset=10) - Find notes i…
| Parameter | Type | Description |
|---|---|---|
notebook_name * | string | Notebook name or path (e.g., 'Work' or 'Projects/Work/Tasks') |
completed | Filter by completion status (default: None) | |
limit | integer | Max results (1-100, default: 20) |
offset | integer | Skip count for pagination (default: 0) |
order_by | Sort field: "title", "created_time", "updated_time" (default: updated_time) | |
order_dir | Sort direction: "asc", "desc" (default: asc for title, desc for time fields) | |
task | Filter by task type (default: None) |
list_notebooks
List all notebooks/folders in your Joplin instance, with note counts. Returns each notebook's id, title, path and note_count. Pass verbose=True to also get the emoji icon, parent_id and timestamps -- rarely needed, and on a large collection they roughly double the size of this response. Returns: str: Formatted list of all notebooks including title, unique ID, path, and note count.
| Parameter | Type | Description |
|---|---|---|
verbose | boolean | Also return icon, parent_id and timestamps (default: False) |
create_notebook
Create a new notebook (folder) in Joplin to organize your notes. Creates a new notebook that can be used to organize and contain notes. You can create top-level notebooks or sub-notebooks within existing notebooks, optionally with an emoji icon shown in Joplin's sidebar. Notebook can be specified by name or path: - "Work" - matches notebook named "Work" (must be unique) - "Projects/Work" - matches "Work" notebook inside "Projects" Returns: str: Success message containing the created notebook's title and unique ID. Examples: - create_notebook("Work Projects") - Create a top-level no…
| Parameter | Type | Description |
|---|---|---|
title * | string | Notebook title |
emoji | Single emoji glyph to use as the notebook's icon (optional) | |
parent_name | Parent notebook name or path (e.g., 'Work' or 'Projects/Work'). Omit for a top-level notebook. |
list_tags
List all tags in your Joplin instance with note counts. Retrieves and displays all tags that exist in your Joplin application. Tags are labels that can be applied to notes for categorization and organization. Returns: str: Formatted list of all tags including title, unique ID and number of notes tagged with it.
| Parameter | Type | Description |
|---|---|---|
verbose | boolean | Also return creation and update timestamps (default: False) |
create_tag
Create a new tag. Creates a new tag that can be applied to notes for categorization and organization. Returns: str: Success message with the created tag's title and unique ID. Examples: - create_tag("work") - Create a new tag named "work" - create_tag("important") - Create a new tag named "important"
| Parameter | Type | Description |
|---|---|---|
title * | string | Tag title |
get_tags_by_note
Get all tags for a specific note. Retrieves all tags that are currently applied to a specific note. Returns: str: Formatted list of tags applied to the note with title, ID, and creation date.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | Note ID to get tags from |
tag_note
Add one or more tags to one or more notes. Both args accept a single string or a list. When either is a list, the cartesian product is applied (every tag on every note) in one call — preferred over looping. Output: aggregated TAG_NOTE report with TOTAL_OPS / SUCCEEDED / FAILED, one row per (note, tag) pair (so the scalar case is a one-row report). Tags must exist beforehand — use create_tag to add new ones. Missing tags are reported up front and nothing is applied. Per-op failures (e.g. invalid note ID or allowlist denial) are captured in the report; other ops still run. Examples:…
| Parameter | Type | Description |
|---|---|---|
note_id * | Note ID, or list of note IDs | |
tag_name * | Tag name, or list of tag names |
untag_note
Remove one or more tags from one or more notes. Both args accept a single string or a list. When either is a list, the cartesian product is applied (remove every tag from every note) in one call. Output: aggregated UNTAG_NOTE report with TOTAL_OPS / SUCCEEDED / FAILED, one row per (note, tag) pair (so the scalar case is a one-row report). Tags must exist (by name). Missing tags are reported up front and nothing is removed. Per-op failures (including allowlist denials) are captured in the report; other ops still run. Examples: - untag_note("abc...", "Work") - Remove one tag from one not…
| Parameter | Type | Description |
|---|---|---|
note_id * | Note ID, or list of note IDs | |
tag_name * | Tag name, or list of tag names |
restore_from_trash
Restore a note or notebook from Joplin's trash. Restores a previously deleted item by setting its deleted_time back to 0. The item reappears in its original notebook. Scope of restore (important): - Only the single item identified by item_id is restored. When restoring a notebook, its sub-notebooks and the notes inside stay trashed and must each be restored individually. Joplin sets deleted_time on every descendant when a notebook is trashed, and this tool clears it on one item per call. - If the original parent notebook is also trashed, restore the parent first or the restored ite…
| Parameter | Type | Description |
|---|---|---|
item_id * | string | Note or notebook ID to restore |
item_type | string | Item type: 'note' or 'notebook'. Restoring a notebook does not restore the items inside it. |