kObsidian

v0.2.1
io.github.bezata/kobsidian-mcp Checked 3 days ago Published 7 months ago

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

ParameterTypeDescription
path *string
vaultPathstring

notes.create Create Note

Create a new note using filesystem-first behavior.

ParameterTypeDescription
content *string
path *string
overwriteboolean
vaultPathstring

notes.update Update Note

Update an existing note, replacing or appending content.

ParameterTypeDescription
content *string
path *string
createIfNotExistsboolean
mergeStrategystring
vaultPathstring

notes.delete Delete Note

Delete a note from the vault.

ParameterTypeDescription
path *string
vaultPathstring

notes.search Search Notes

Search notes by text with lightweight support for tag: and path: filters.

ParameterTypeDescription
query *string
contextLengthinteger
vaultPathstring

notes.searchByDate Search Notes By Date

List notes by created or modified date.

ParameterTypeDescription
dateTypestring
daysAgointeger
operatorstring
vaultPathstring

notes.list List Notes

List notes in the vault or a folder.

ParameterTypeDescription
directorystring
recursiveboolean
vaultPathstring

notes.listFolders List Folders

List folders in the vault.

ParameterTypeDescription
directorystring
recursiveboolean
vaultPathstring

notes.move Move Note

Move a note and optionally update links that reference it.

ParameterTypeDescription
destinationPath *string
sourcePath *string
updateLinksboolean
vaultPathstring

notes.createFolder Create Folder

Create a folder in the vault.

ParameterTypeDescription
folderPath *string
vaultPathstring

notes.moveFolder Move Folder

Move a folder and optionally update links inside the vault.

ParameterTypeDescription
destinationFolder *string
sourceFolder *string
updateLinksboolean
vaultPathstring

notes.info Note Info

Get note metadata and lightweight statistics without loading the result into a client-specific schema.

ParameterTypeDescription
path *string
vaultPathstring

notes.insertAfterHeading Insert After Heading

Insert content immediately after a markdown heading.

ParameterTypeDescription
content *string
filePath *string
heading *string
vaultPathstring

notes.insertAfterBlock Insert After Block

Insert content after a block reference.

ParameterTypeDescription
blockId *string
content *string
filePath *string
vaultPathstring

notes.updateFrontmatter Update Frontmatter

Create or update a frontmatter field.

ParameterTypeDescription
field *string
filePath *string
value *
vaultPathstring

notes.append Append To Note

Append content to the end of a note.

ParameterTypeDescription
content *string
filePath *string
vaultPathstring

tags.analyze Analyze Tags

Extract frontmatter and inline tags from a note.

ParameterTypeDescription
path *string
vaultPathstring

tags.add Add Tags

Add tags to a note frontmatter block.

ParameterTypeDescription
path *string
tags *array
vaultPathstring

tags.update Update Tags

Replace or merge a note's frontmatter tags.

ParameterTypeDescription
path *string
tags *array
mergeboolean
vaultPathstring

tags.remove Remove Tags

Remove tags from frontmatter.

ParameterTypeDescription
path *string
tags *array
vaultPathstring

tags.search Search By Tag

Find notes that contain a tag in frontmatter or inline content.

ParameterTypeDescription
tag *string
vaultPathstring

tags.list List Tags

List unique tags used across the vault.

ParameterTypeDescription
includeCountsboolean
sortBystring
vaultPathstring

links.outgoing Get Outgoing Links

Extract links referenced by a note.

ParameterTypeDescription
path *string
checkValidityboolean
vaultPathstring

links.broken Find Broken Links

Find broken note links in the vault or a folder.

ParameterTypeDescription
directorystring
vaultPathstring

links.graph Get Link Graph

Build the vault link graph.

ParameterTypeDescription
vaultPathstring

links.orphaned Find Orphaned Notes

Find notes with no incoming or outgoing links.

ParameterTypeDescription
vaultPathstring

links.hubs Find Hub Notes

Find notes with many outgoing links.

ParameterTypeDescription
minOutlinksinteger
vaultPathstring

links.health Analyze Link Health

Summarize link density and broken-link metrics.

ParameterTypeDescription
vaultPathstring

links.connections Get Note Connections

Explore direct and multi-hop note connections.

ParameterTypeDescription
noteName *string
depthinteger
vaultPathstring

stats.note Note Statistics

Get statistics for a single note.

ParameterTypeDescription
filePath *string
vaultPathstring

stats.vault Vault Statistics

Get aggregate statistics for the whole vault.

ParameterTypeDescription
vaultPathstring

tasks.search Search Tasks

Search Tasks-plugin style markdown tasks across the vault.

ParameterTypeDescription
dueAfterstring
dueBeforestring
dueWithinDaysinteger
hasRecurrenceboolean
limitinteger
prioritystring
sortBystring
statusstring
tagstring
vaultPathstring

tasks.create Create Task

Append a task line to a note.

ParameterTypeDescription
content *string
filePath *string
createdDatestring
doneDatestring
dueDatestring
prioritystring
recurrencestring
scheduledDatestring
startDatestring
statusstring
vaultPathstring

tasks.toggle Toggle Task

Toggle a task complete/incomplete by file and line number.

ParameterTypeDescription
lineNumber *integer
sourceFile *string
doneDatestring
vaultPathstring

tasks.updateMetadata Update Task Metadata

Update task dates, priority, or recurrence in place.

ParameterTypeDescription
lineNumber *integer
sourceFile *string
dueDatestring
prioritystring
recurrencestring
scheduledDatestring
startDatestring
vaultPathstring

tasks.stats Task Statistics

Get aggregate task statistics for the vault.

ParameterTypeDescription
vaultPathstring

dataview.index.read Read Dataview Index

Read page, list-item, task, DQL, and DataviewJS metadata from a note.

ParameterTypeDescription
filePath *string
vaultPathstring

dataview.fields.extract Extract Dataview Fields

Extract scoped Dataview fields from a note.

ParameterTypeDescription
filePath *string
vaultPathstring

dataview.fields.search Search Dataview Fields

Search notes by Dataview field key and optional value.

ParameterTypeDescription
key *string
scopestring
value
valueTypestring
vaultPathstring

dataview.fields.add Add Dataview Field

Insert a Dataview field into a note.

ParameterTypeDescription
filePath *string
key *string
value *
insertAtstring
lineNumberinteger
scopestring
syntaxTypestring
vaultPathstring

dataview.fields.remove Remove Dataview Field

Remove a Dataview field from a note.

ParameterTypeDescription
filePath *string
key *string
lineNumberinteger
scopestring
vaultPathstring

dataview.query.read Read Dataview Query Blocks

Extract fenced dataview DQL blocks from a note.

ParameterTypeDescription
filePath *string
vaultPathstring

dataview.query.update Update Dataview Query Block

Replace one fenced dataview DQL block source-preservingly.

ParameterTypeDescription
filePath *string
source *string
blockIdstring
indexinteger
vaultPathstring

dataview.js.read Read DataviewJS Blocks

Extract fenced dataviewjs blocks from a note without executing them.

ParameterTypeDescription
filePath *string
vaultPathstring

dataview.js.update Update DataviewJS Block

Replace one fenced dataviewjs block source-preservingly.

ParameterTypeDescription
filePath *string
source *string
blockIdstring
indexinteger
vaultPathstring

dataview.query Run Dataview Query

Execute a Dataview Query Language (DQL) query through the Obsidian API.

ParameterTypeDescription
query *string

dataview.listByTag List Notes By Tag (DQL)

Run a DQL LIST query for a tag.

ParameterTypeDescription
tag *string
limitinteger
sortBystring
whereClausestring

dataview.listByFolder List Notes By Folder (DQL)

Run a DQL LIST query for a folder.

ParameterTypeDescription
folder *string
limitinteger
sortBystring
whereClausestring

dataview.table Table Query (DQL)

Run a DQL TABLE query.

ParameterTypeDescription
fields *array
fromClausestring
limitinteger
sortBystring
whereClausestring

mermaid.blocks.list List Mermaid Blocks

List fenced Mermaid blocks in a note or across the vault.

ParameterTypeDescription
filePathstring
vaultPathstring

mermaid.blocks.read Read Mermaid Block

Read one Mermaid block with source spans, directives, and config metadata.

ParameterTypeDescription
filePath *string
blockIdstring
indexinteger
vaultPathstring

mermaid.blocks.update Update Mermaid Block

Replace one fenced Mermaid block source-preservingly.

ParameterTypeDescription
filePath *string
source *string
blockIdstring
indexinteger
vaultPathstring

marp.deck.read Read Marp Deck

Read Marp deck frontmatter, slides, directives, and source spans.

ParameterTypeDescription
filePath *string
vaultPathstring

marp.slides.list List Marp Slides

List Marp slides with separator and directive metadata.

ParameterTypeDescription
filePath *string
vaultPathstring

marp.slides.read Read Marp Slide

Read one Marp slide source-preservingly.

ParameterTypeDescription
filePath *string
indexinteger
slideIdstring
vaultPathstring

marp.slides.update Update Marp Slide

Replace one Marp slide body without rewriting neighboring slides.

ParameterTypeDescription
filePath *string
source *string
indexinteger
slideIdstring
vaultPathstring

marp.frontmatter.update Update Marp Frontmatter

Update selected Marp deck frontmatter fields while preserving unrelated source.

ParameterTypeDescription
fields *object
filePath *string
vaultPathstring

kanban.parse Parse Kanban Board

Parse a markdown Kanban board file.

ParameterTypeDescription
filePath *string
vaultPathstring

kanban.addCard Add Kanban Card

Add a card to a Kanban column.

ParameterTypeDescription
cardText *string
columnName *string
filePath *string
dueDatestring
positionstring
statusstring
vaultPathstring

kanban.moveCard Move Kanban Card

Move a card between Kanban columns.

ParameterTypeDescription
cardText *string
filePath *string
fromColumn *string
toColumn *string
positionstring
vaultPathstring

kanban.toggleCard Toggle Kanban Card

Toggle a Kanban card complete/incomplete.

ParameterTypeDescription
cardText *string
filePath *string
columnNamestring
vaultPathstring

kanban.stats Kanban Statistics

Get card counts and completion rates for a Kanban board.

ParameterTypeDescription
filePath *string
vaultPathstring

templates.expand Expand Template

Expand filesystem template variables into content.

ParameterTypeDescription
templatePath *string
filenamestring
variablesobject
vaultPathstring

templates.createNote Create Note From Template

Create a note from a filesystem template.

ParameterTypeDescription
targetPath *string
templatePath *string
variablesobject
vaultPathstring

templates.list List Templates

List markdown templates in a folder.

ParameterTypeDescription
templateFolderstring
vaultPathstring

templates.renderTemplater Render Templater Template

Render a Templater template via the Obsidian API.

ParameterTypeDescription
templateFile *string
targetFilestring

templates.createNoteTemplater Create Note From Templater

Create a note from a Templater template via the Obsidian API.

ParameterTypeDescription
targetFile *string
templateFile *string
openFileboolean

templates.insertTemplater Insert Templater Template

Insert a Templater template into the active note.

ParameterTypeDescription
templateFile *string
activeFileboolean

canvas.create Create Canvas

Create a new empty Obsidian canvas (.canvas) file.

ParameterTypeDescription
filePath *string
overwriteboolean
vaultPathstring

canvas.parse Parse Canvas

Parse an Obsidian canvas file.

ParameterTypeDescription
filePath *string
vaultPathstring

canvas.addNode Add Canvas Node

Add a text or file node to an Obsidian canvas.

ParameterTypeDescription
content *string
filePath *string
nodeType *string
x *number
y *number
heightinteger
vaultPathstring
widthinteger

canvas.addEdge Add Canvas Edge

Connect two nodes in a canvas.

ParameterTypeDescription
filePath *string
fromNode *string
toNode *string
labelstring
vaultPathstring

canvas.removeNode Remove Canvas Node

Remove a node and its edges from a canvas.

ParameterTypeDescription
filePath *string
nodeId *string
vaultPathstring

canvas.connections Canvas Node Connections

Get incoming and outgoing edges for a canvas node.

ParameterTypeDescription
filePath *string
nodeId *string
vaultPathstring

workspace.activeFile Get Active File

Get the currently active file in Obsidian.

workspace.openFile Open File

Open a file in Obsidian.

ParameterTypeDescription
filePath *string
newPaneboolean

workspace.closeActiveFile Close Active File

Close the active file in Obsidian.

workspace.navigateBack Navigate Back

Go back in Obsidian history.

workspace.navigateForward Navigate Forward

Go forward in Obsidian history.

workspace.toggleEditMode Toggle Edit Mode

Toggle edit/preview mode in Obsidian.

commands.execute Execute Command

Execute an Obsidian command by ID.

ParameterTypeDescription
commandId *string
argsobject

commands.list List Commands

List all available Obsidian commands.

commands.search Search Commands

Search Obsidian commands by ID or name.

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

ParameterTypeDescription
forceboolean
vaultPathstring
wikiRootstring

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.

ParameterTypeDescription
title *string
authorstring
confidencestring
contentstring
ingestedAtstring
relatedConceptsarray
relatedEntitiesarray
slugstring
sourcePathstring
sourceTypestring
summarystring
tagsarray
urlstring
vaultPathstring
wikiRootstring

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.

ParameterTypeDescription
op *string
title *string
bodystring
datestring
refsarray
vaultPathstring
wikiRootstring

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.

ParameterTypeDescription
includeCountsboolean
vaultPathstring
wikiRootstring

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.

ParameterTypeDescription
topic *string
limitinteger
vaultPathstring
wikiRootstring

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.

ParameterTypeDescription
staleDaysinteger
vaultPathstring
wikiRootstring

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.

ParameterTypeDescription
newSection *string
targetPath *string
aliasesarray
citationQuotestring
citationSourcestring
entityKindstring
headingstring
pageTypestring
summarystring
vaultPathstring
wikiRootstring

system.version Server Version

Return the running kObsidian server name, version, and host runtime.