kObsidian
v0.2.1Filesystem-first MCP for Obsidian — an LLM-maintained wiki inspired by Karpathy's LLM Wiki.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
notes.read Read Note
Read a note from the vault with parsed metadata.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
vaultPath | string |
notes.create Create Note
Create a new note using filesystem-first behavior.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
path * | string | |
overwrite | boolean | |
vaultPath | string |
notes.update Update Note
Update an existing note, replacing or appending content.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
path * | string | |
createIfNotExists | boolean | |
mergeStrategy | string | |
vaultPath | string |
notes.delete Delete Note
Delete a note from the vault.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
vaultPath | string |
notes.search Search Notes
Search notes by text with lightweight support for tag: and path: filters.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
contextLength | integer | |
vaultPath | string |
notes.searchByDate Search Notes By Date
List notes by created or modified date.
| Parameter | Type | Description |
|---|---|---|
dateType | string | |
daysAgo | integer | |
operator | string | |
vaultPath | string |
notes.list List Notes
List notes in the vault or a folder.
| Parameter | Type | Description |
|---|---|---|
directory | string | |
recursive | boolean | |
vaultPath | string |
notes.listFolders List Folders
List folders in the vault.
| Parameter | Type | Description |
|---|---|---|
directory | string | |
recursive | boolean | |
vaultPath | string |
notes.move Move Note
Move a note and optionally update links that reference it.
| Parameter | Type | Description |
|---|---|---|
destinationPath * | string | |
sourcePath * | string | |
updateLinks | boolean | |
vaultPath | string |
notes.createFolder Create Folder
Create a folder in the vault.
| Parameter | Type | Description |
|---|---|---|
folderPath * | string | |
vaultPath | string |
notes.moveFolder Move Folder
Move a folder and optionally update links inside the vault.
| Parameter | Type | Description |
|---|---|---|
destinationFolder * | string | |
sourceFolder * | string | |
updateLinks | boolean | |
vaultPath | string |
notes.info Note Info
Get note metadata and lightweight statistics without loading the result into a client-specific schema.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
vaultPath | string |
notes.insertAfterHeading Insert After Heading
Insert content immediately after a markdown heading.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
filePath * | string | |
heading * | string | |
vaultPath | string |
notes.insertAfterBlock Insert After Block
Insert content after a block reference.
| Parameter | Type | Description |
|---|---|---|
blockId * | string | |
content * | string | |
filePath * | string | |
vaultPath | string |
notes.updateFrontmatter Update Frontmatter
Create or update a frontmatter field.
| Parameter | Type | Description |
|---|---|---|
field * | string | |
filePath * | string | |
value * | ||
vaultPath | string |
notes.append Append To Note
Append content to the end of a note.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
filePath * | string | |
vaultPath | string |
tags.analyze Analyze Tags
Extract frontmatter and inline tags from a note.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
vaultPath | string |
tags.add Add Tags
Add tags to a note frontmatter block.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
tags * | array | |
vaultPath | string |
tags.update Update Tags
Replace or merge a note's frontmatter tags.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
tags * | array | |
merge | boolean | |
vaultPath | string |
tags.remove Remove Tags
Remove tags from frontmatter.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
tags * | array | |
vaultPath | string |
tags.search Search By Tag
Find notes that contain a tag in frontmatter or inline content.
| Parameter | Type | Description |
|---|---|---|
tag * | string | |
vaultPath | string |
tags.list List Tags
List unique tags used across the vault.
| Parameter | Type | Description |
|---|---|---|
includeCounts | boolean | |
sortBy | string | |
vaultPath | string |
links.backlinks Get Backlinks
Find notes that link to a target note.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
contextLength | integer | |
includeContext | boolean | |
vaultPath | string |
links.outgoing Get Outgoing Links
Extract links referenced by a note.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
checkValidity | boolean | |
vaultPath | string |
links.broken Find Broken Links
Find broken note links in the vault or a folder.
| Parameter | Type | Description |
|---|---|---|
directory | string | |
vaultPath | string |
links.graph Get Link Graph
Build the vault link graph.
| Parameter | Type | Description |
|---|---|---|
vaultPath | string |
links.orphaned Find Orphaned Notes
Find notes with no incoming or outgoing links.
| Parameter | Type | Description |
|---|---|---|
vaultPath | string |
links.hubs Find Hub Notes
Find notes with many outgoing links.
| Parameter | Type | Description |
|---|---|---|
minOutlinks | integer | |
vaultPath | string |
links.health Analyze Link Health
Summarize link density and broken-link metrics.
| Parameter | Type | Description |
|---|---|---|
vaultPath | string |
links.connections Get Note Connections
Explore direct and multi-hop note connections.
| Parameter | Type | Description |
|---|---|---|
noteName * | string | |
depth | integer | |
vaultPath | string |
stats.note Note Statistics
Get statistics for a single note.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
stats.vault Vault Statistics
Get aggregate statistics for the whole vault.
| Parameter | Type | Description |
|---|---|---|
vaultPath | string |
tasks.search Search Tasks
Search Tasks-plugin style markdown tasks across the vault.
| Parameter | Type | Description |
|---|---|---|
dueAfter | string | |
dueBefore | string | |
dueWithinDays | integer | |
hasRecurrence | boolean | |
limit | integer | |
priority | string | |
sortBy | string | |
status | string | |
tag | string | |
vaultPath | string |
tasks.create Create Task
Append a task line to a note.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
filePath * | string | |
createdDate | string | |
doneDate | string | |
dueDate | string | |
priority | string | |
recurrence | string | |
scheduledDate | string | |
startDate | string | |
status | string | |
vaultPath | string |
tasks.toggle Toggle Task
Toggle a task complete/incomplete by file and line number.
| Parameter | Type | Description |
|---|---|---|
lineNumber * | integer | |
sourceFile * | string | |
doneDate | string | |
vaultPath | string |
tasks.updateMetadata Update Task Metadata
Update task dates, priority, or recurrence in place.
| Parameter | Type | Description |
|---|---|---|
lineNumber * | integer | |
sourceFile * | string | |
dueDate | string | |
priority | string | |
recurrence | string | |
scheduledDate | string | |
startDate | string | |
vaultPath | string |
tasks.stats Task Statistics
Get aggregate task statistics for the vault.
| Parameter | Type | Description |
|---|---|---|
vaultPath | string |
dataview.index.read Read Dataview Index
Read page, list-item, task, DQL, and DataviewJS metadata from a note.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
dataview.fields.extract Extract Dataview Fields
Extract scoped Dataview fields from a note.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
dataview.fields.search Search Dataview Fields
Search notes by Dataview field key and optional value.
| Parameter | Type | Description |
|---|---|---|
key * | string | |
scope | string | |
value | ||
valueType | string | |
vaultPath | string |
dataview.fields.add Add Dataview Field
Insert a Dataview field into a note.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
key * | string | |
value * | ||
insertAt | string | |
lineNumber | integer | |
scope | string | |
syntaxType | string | |
vaultPath | string |
dataview.fields.remove Remove Dataview Field
Remove a Dataview field from a note.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
key * | string | |
lineNumber | integer | |
scope | string | |
vaultPath | string |
dataview.query.read Read Dataview Query Blocks
Extract fenced dataview DQL blocks from a note.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
dataview.query.update Update Dataview Query Block
Replace one fenced dataview DQL block source-preservingly.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
source * | string | |
blockId | string | |
index | integer | |
vaultPath | string |
dataview.js.read Read DataviewJS Blocks
Extract fenced dataviewjs blocks from a note without executing them.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
dataview.js.update Update DataviewJS Block
Replace one fenced dataviewjs block source-preservingly.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
source * | string | |
blockId | string | |
index | integer | |
vaultPath | string |
dataview.query Run Dataview Query
Execute a Dataview Query Language (DQL) query through the Obsidian API.
| Parameter | Type | Description |
|---|---|---|
query * | string |
dataview.listByTag List Notes By Tag (DQL)
Run a DQL LIST query for a tag.
| Parameter | Type | Description |
|---|---|---|
tag * | string | |
limit | integer | |
sortBy | string | |
whereClause | string |
dataview.listByFolder List Notes By Folder (DQL)
Run a DQL LIST query for a folder.
| Parameter | Type | Description |
|---|---|---|
folder * | string | |
limit | integer | |
sortBy | string | |
whereClause | string |
dataview.table Table Query (DQL)
Run a DQL TABLE query.
| Parameter | Type | Description |
|---|---|---|
fields * | array | |
fromClause | string | |
limit | integer | |
sortBy | string | |
whereClause | string |
mermaid.blocks.list List Mermaid Blocks
List fenced Mermaid blocks in a note or across the vault.
| Parameter | Type | Description |
|---|---|---|
filePath | string | |
vaultPath | string |
mermaid.blocks.read Read Mermaid Block
Read one Mermaid block with source spans, directives, and config metadata.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
blockId | string | |
index | integer | |
vaultPath | string |
mermaid.blocks.update Update Mermaid Block
Replace one fenced Mermaid block source-preservingly.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
source * | string | |
blockId | string | |
index | integer | |
vaultPath | string |
marp.deck.read Read Marp Deck
Read Marp deck frontmatter, slides, directives, and source spans.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
marp.slides.list List Marp Slides
List Marp slides with separator and directive metadata.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
marp.slides.read Read Marp Slide
Read one Marp slide source-preservingly.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
index | integer | |
slideId | string | |
vaultPath | string |
marp.slides.update Update Marp Slide
Replace one Marp slide body without rewriting neighboring slides.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
source * | string | |
index | integer | |
slideId | string | |
vaultPath | string |
marp.frontmatter.update Update Marp Frontmatter
Update selected Marp deck frontmatter fields while preserving unrelated source.
| Parameter | Type | Description |
|---|---|---|
fields * | object | |
filePath * | string | |
vaultPath | string |
kanban.parse Parse Kanban Board
Parse a markdown Kanban board file.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
kanban.addCard Add Kanban Card
Add a card to a Kanban column.
| Parameter | Type | Description |
|---|---|---|
cardText * | string | |
columnName * | string | |
filePath * | string | |
dueDate | string | |
position | string | |
status | string | |
vaultPath | string |
kanban.moveCard Move Kanban Card
Move a card between Kanban columns.
| Parameter | Type | Description |
|---|---|---|
cardText * | string | |
filePath * | string | |
fromColumn * | string | |
toColumn * | string | |
position | string | |
vaultPath | string |
kanban.toggleCard Toggle Kanban Card
Toggle a Kanban card complete/incomplete.
| Parameter | Type | Description |
|---|---|---|
cardText * | string | |
filePath * | string | |
columnName | string | |
vaultPath | string |
kanban.stats Kanban Statistics
Get card counts and completion rates for a Kanban board.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
templates.expand Expand Template
Expand filesystem template variables into content.
| Parameter | Type | Description |
|---|---|---|
templatePath * | string | |
filename | string | |
variables | object | |
vaultPath | string |
templates.createNote Create Note From Template
Create a note from a filesystem template.
| Parameter | Type | Description |
|---|---|---|
targetPath * | string | |
templatePath * | string | |
variables | object | |
vaultPath | string |
templates.list List Templates
List markdown templates in a folder.
| Parameter | Type | Description |
|---|---|---|
templateFolder | string | |
vaultPath | string |
templates.renderTemplater Render Templater Template
Render a Templater template via the Obsidian API.
| Parameter | Type | Description |
|---|---|---|
templateFile * | string | |
targetFile | string |
templates.createNoteTemplater Create Note From Templater
Create a note from a Templater template via the Obsidian API.
| Parameter | Type | Description |
|---|---|---|
targetFile * | string | |
templateFile * | string | |
openFile | boolean |
templates.insertTemplater Insert Templater Template
Insert a Templater template into the active note.
| Parameter | Type | Description |
|---|---|---|
templateFile * | string | |
activeFile | boolean |
canvas.create Create Canvas
Create a new empty Obsidian canvas (.canvas) file.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
overwrite | boolean | |
vaultPath | string |
canvas.parse Parse Canvas
Parse an Obsidian canvas file.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
vaultPath | string |
canvas.addNode Add Canvas Node
Add a text or file node to an Obsidian canvas.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
filePath * | string | |
nodeType * | string | |
x * | number | |
y * | number | |
height | integer | |
vaultPath | string | |
width | integer |
canvas.addEdge Add Canvas Edge
Connect two nodes in a canvas.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
fromNode * | string | |
toNode * | string | |
label | string | |
vaultPath | string |
canvas.removeNode Remove Canvas Node
Remove a node and its edges from a canvas.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
nodeId * | string | |
vaultPath | string |
canvas.connections Canvas Node Connections
Get incoming and outgoing edges for a canvas node.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
nodeId * | string | |
vaultPath | string |
workspace.activeFile Get Active File
Get the currently active file in Obsidian.
workspace.openFile Open File
Open a file in Obsidian.
| Parameter | Type | Description |
|---|---|---|
filePath * | string | |
newPane | boolean |
workspace.closeActiveFile Close Active File
Close the active file in Obsidian.
workspace.toggleEditMode Toggle Edit Mode
Toggle edit/preview mode in Obsidian.
commands.execute Execute Command
Execute an Obsidian command by ID.
| Parameter | Type | Description |
|---|---|---|
commandId * | string | |
args | object |
commands.list List Commands
List all available Obsidian commands.
commands.search Search Commands
Search Obsidian commands by ID or name.
| Parameter | Type | Description |
|---|---|---|
query * | string |
wiki.init Initialize Wiki
Scaffold the wiki layout: Sources/, Concepts/, Entities/ folders plus seed index.md, log.md, and wiki-schema.md. Idempotent; use force:true to re-seed index/log/schema files.
| Parameter | Type | Description |
|---|---|---|
force | boolean | |
vaultPath | string | |
wikiRoot | string |
wiki.ingest Ingest Source
File a new source into the wiki: create Sources/<slug>.md with canonical frontmatter, append a log entry, and return proposedEdits for index + related concept/entity pages for the LLM to apply via notes.update.
| Parameter | Type | Description |
|---|---|---|
title * | string | |
author | string | |
confidence | string | |
content | string | |
ingestedAt | string | |
relatedConcepts | array | |
relatedEntities | array | |
slug | string | |
sourcePath | string | |
sourceType | string | |
summary | string | |
tags | array | |
url | string | |
vaultPath | string | |
wikiRoot | string |
wiki.logAppend Append Wiki Log Entry
Append a typed chronological entry to the wiki log using the convention '## [YYYY-MM-DD] <op> | <title>'. Initializes the wiki if needed.
| Parameter | Type | Description |
|---|---|---|
op * | string | |
title * | string | |
body | string | |
date | string | |
refs | array | |
vaultPath | string | |
wikiRoot | string |
wiki.indexRebuild Rebuild Wiki Index
Regenerate the wiki index.md from the current state of Sources/, Concepts/, and Entities/. Groups entries by category; supports optional per-category counts.
| Parameter | Type | Description |
|---|---|---|
includeCounts | boolean | |
vaultPath | string | |
wikiRoot | string |
wiki.query Query Wiki
Rank wiki pages relevant to a topic using filename, alias, tag, summary and body hits. Returns the top pages so the LLM can drill in with notes.read.
| Parameter | Type | Description |
|---|---|---|
topic * | string | |
limit | integer | |
vaultPath | string | |
wikiRoot | string |
wiki.lint Lint Wiki
Health-check the wiki: orphans, broken links, stale sources, missing concept pages, singleton tags, and index.md parity. Read-only; returns grouped findings with totals.
| Parameter | Type | Description |
|---|---|---|
staleDays | integer | |
vaultPath | string | |
wikiRoot | string |
wiki.summaryMerge Merge Summary Into Concept Or Entity Page
Add a cited section into an existing concept or entity page (or create the page with canonical frontmatter if missing). Bumps 'updated' on existing pages.
| Parameter | Type | Description |
|---|---|---|
newSection * | string | |
targetPath * | string | |
aliases | array | |
citationQuote | string | |
citationSource | string | |
entityKind | string | |
heading | string | |
pageType | string | |
summary | string | |
vaultPath | string | |
wikiRoot | string |
system.version Server Version
Return the running kObsidian server name, version, and host runtime.