Joplin MCP Server

v0.10.0
io.github.alondmnt/joplin-mcp Checked 11 hours ago Published 2 months ago

FastMCP 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.

ParameterTypeDescription
note_id *stringNote ID to retrieve
force_fullForce full content even for long notes (default: False)
line_countNumber of lines to extract from start_line (default: 50)
metadata_onlyShow only metadata without content (default: False)
sectionExtract specific section (heading text, slug, or number)
start_lineStart line for sequential reading (1-based)
toc_onlyShow 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``.

ParameterTypeDescription
note_id *stringNote ID whose resources to list
ocr_onlyReturn only resources with non-empty OCR text (default: False)

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…

ParameterTypeDescription
notebook_name *stringNotebook name or path (e.g., 'Work' or 'Projects/Work/Tasks')
title *stringNote title
bodystringNote content
is_todoCreate as todo (default: False)
todo_completedMark todo as completed (default: False)
todo_dueDue 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…

ParameterTypeDescription
note_id *stringNote ID to update
bodyNew content (optional)
is_todoConvert to/from todo (optional)
notebook_nameMove note to this notebook by name or path (e.g., 'Work' or 'Projects/Work/Tasks')
titleNew title (optional)
todo_completedMark todo completed (optional)
todo_dueDue 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.

ParameterTypeDescription
new_string *stringReplacement text (use '' to delete)
note_id *stringNote ID to edit
old_stringText to find and replace (None for positional insert)
positionInsert position: 'beginning' or 'end' (only when old_string is None)
replace_allReplace 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…

ParameterTypeDescription
query *stringSearch text or '*' for all notes
completedFilter by completion status (default: None)
limitintegerMax results (1-100, default: 20)
offsetintegerSkip count for pagination (default: 0)
order_bySort field: "title", "created_time", "updated_time" (default: updated_time for *, relevance for text)
order_dirSort direction: "asc", "desc" (default: asc for title, desc for time fields)
taskFilter by task type (default: None)
trashShow 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.

ParameterTypeDescription
note_id *stringNote ID to search within
pattern *stringRegular expression to search for
case_sensitiveUse case-sensitive matching (default: False)
dotallDot matches newlines (re.DOTALL, default: False)
limitintegerMax matches per page (1-100, default: 20)
multilineEnable multiline flag (affects ^ and $, default: True)
offsetintegerSkip 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)…

ParameterTypeDescription
tag_name *stringTag name to search for
completedFilter by completion status (default: None)
limitintegerMax results (1-100, default: 20)
offsetintegerSkip count for pagination (default: 0)
order_bySort field: "title", "created_time", "updated_time" (default: updated_time)
order_dirSort direction: "asc", "desc" (default: asc for title, desc for time fields)
taskFilter 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…

ParameterTypeDescription
notebook_name *stringNotebook name or path (e.g., 'Work' or 'Projects/Work/Tasks')
completedFilter by completion status (default: None)
limitintegerMax results (1-100, default: 20)
offsetintegerSkip count for pagination (default: 0)
order_bySort field: "title", "created_time", "updated_time" (default: updated_time)
order_dirSort direction: "asc", "desc" (default: asc for title, desc for time fields)
taskFilter 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.

ParameterTypeDescription
verbosebooleanAlso 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…

ParameterTypeDescription
title *stringNotebook title
emojiSingle emoji glyph to use as the notebook's icon (optional)
parent_nameParent 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.

ParameterTypeDescription
verbosebooleanAlso 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"

ParameterTypeDescription
title *stringTag 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.

ParameterTypeDescription
note_id *stringNote 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:…

ParameterTypeDescription
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…

ParameterTypeDescription
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…

ParameterTypeDescription
item_id *stringNote or notebook ID to restore
item_typestringItem type: 'note' or 'notebook'. Restoring a notebook does not restore the items inside it.