seekstone
v0.28.1Filesystem-direct Obsidian MCP server — search and edit your vault with low context-tax.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search
Full-text search across the vault. Returns ranked excerpts (~120 chars, tunable) — not full notes — to minimise context usage. Supports fuzzy matching and prefix search; with SEEKSTONE_SEMANTIC=1, mode "semantic"/"hybrid" searches by meaning via a local embedding model.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query. |
excerptLength | number | Max characters of match context per hit (20–2000, default 120). |
folder | string | Restrict to a vault-relative folder prefix. |
limit | number | Max results (1–50, default 10). |
mode | string | lexical = keyword search (default). semantic = meaning-based search (requires SEEKSTONE_SEMANTIC=1). hybrid = exact-title lookups go lexical, everything else semantic. |
tag | string | Restrict to notes with this tag. # optional, case-insensitive; nested child tags match ("project" matches project/alpha). |
query_notes
Structured metadata query — filter notes by frontmatter key/value predicates, tag, folder, modified time, and size. Returns compact rows (path + title by default; opt into more via select), not note content. Use this instead of search when filtering by properties rather than text.
| Parameter | Type | Description |
|---|---|---|
folder | string | Restrict to a vault-relative folder prefix. |
limit | number | Max results (1–500, default 100). |
maxSizeBytes | number | Only notes at most this many bytes. |
minSizeBytes | number | Only notes at least this many bytes. |
modifiedAfter | string | Only notes modified at or after this ISO 8601 date/time. |
modifiedBefore | string | Only notes modified before this ISO 8601 date/time. |
order | string | Sort order (default asc). |
select | array | Extra fields per hit: frontmatter keys, or "mtime", "size", "tags". Default returns only path + title. |
sort | string | Sort field (default path). |
tag | string | Restrict to notes with this tag. # optional, case-insensitive; nested child tags match ("project" matches project/alpha). |
where | array | Frontmatter predicates — all must match (AND). |
context_pack
Assemble everything needed to ANSWER a natural-language question in one call, under a strict byte budget (default 2048): ranked excerpts, linked neighbor notes (backlinks/outlinks) with one-line summaries, and follow-up source paths. Retrieval is lexical by default: for a question phrased in words the note itself may not use, pass mode "hybrid" or "semantic", and scope with folder/tag exactly as in search. Use search to locate notes and query_notes for metadata filters; use context_pack when you want answer-ready context without multiple round-trips. Empty excerpts with confidence "none" or "l…
| Parameter | Type | Description |
|---|---|---|
query * | string | Natural-language question or topic. |
budgetBytes | number | Hard cap on response JSON bytes (256–16384, default 2048). |
folder | string | Restrict to a vault-relative folder prefix. |
mode | string | lexical = keyword search (default). semantic = meaning-based over local embeddings (needs SEEKSTONE_SEMANTIC=1 and a fetched model). hybrid = exact-title lookups go lexical, everything else semantic. |
tag | string | Restrict to notes with this tag. # optional, case-insensitive; nested child tags match ("project" matches project/alpha). |
read_note
Read a note or a span of it — by heading section, block reference, or line range. Returns structured JSON with the content, bytes returned, total note size, and a contentHash to pass as prevHash to edit tools for compare-and-swap. Use search or outline_note first to find the right path and section names.
| Parameter | Type | Description |
|---|---|---|
path * | string | Vault-relative path, e.g. "Daily Notes/2026-05-29.md". |
block | string | Return only the line anchored by this block id (^ prefix optional). |
includeFrontmatter | boolean | Prepend frontmatter to section/block span results. Default false for spans. |
lines | object | Return only this line range (1-indexed, inclusive). |
section | string | Return only this heading section (heading text, # prefix optional). First match wins. |
read_notes
Read up to 20 notes (or spans of them) in one call instead of repeated read_note calls, e.g. the top hits from search, query_notes, list_notes, or get_backlinks. Each item takes the same options as read_note and returns the same fields, in request order. budgetBytes (default 16384) caps the total note text: when the notes exceed it, each is cut to a fair share, marked truncated: true, and keeps noteBytes, so read the rest with read_note. A failing item (missing path, unknown section) returns its own error without failing the batch. contentHash is always the whole file's hash, usable as prevHas…
| Parameter | Type | Description |
|---|---|---|
items * | array | Notes to read, 1–20. Same options as read_note. |
budgetBytes | number | Cap on total note text returned across all items, in UTF-8 bytes (256–65536, default 16384). |
list_notes
List notes, optionally filtered by folder prefix or tag.
| Parameter | Type | Description |
|---|---|---|
folder | string | Vault-relative folder prefix. |
limit | number | Max results (1–500, default 100). |
tag | string | Filter by tag. # optional, case-insensitive; nested child tags match ("project" matches project/alpha). |
list_tags
List all tags in the vault with usage counts. Supports substring filtering, minimum count threshold, and sort order. Nested tags (e.g. area/work) include a parent field.
| Parameter | Type | Description |
|---|---|---|
minCount | number | Only return tags used in at least this many notes. |
pattern | string | Substring filter on tag name. Example: "work" matches "work" and "area/work". |
sort | string | Sort by usage count descending (default) or alphabetically. |
list_tasks
List Markdown checkbox tasks as compact structured rows (path, line, state, text, nearest heading) — vault-wide or scoped by note, folder, tag, or modified time. Defaults to open tasks. Custom markers like "/" are single-char states. Rows feed straight into update_task; use this instead of searching for "- [ ]" or reading whole notes.
| Parameter | Type | Description |
|---|---|---|
folder | string | Restrict to a vault-relative folder prefix. |
limit | number | Max tasks (1–500, default 100). |
modifiedAfter | string | Only tasks in notes modified at or after this ISO 8601 date/time. |
path | string | Vault-relative path to a single note. Omit to search the whole vault. |
state | Which tasks to return. Default: open. | |
tag | string | Restrict to notes with this tag. # optional, case-insensitive; nested child tags match ("project" matches project/alpha). |
vault_stats
Vault size and shape: note, folder, tag and link counts, total/median/largest note bytes, notes modified in the last 1/7/30 days. Call first to pick between reading and searching.
create_note
Create a new note at a vault-relative path. Optionally sets frontmatter and body content. Parent directories are created automatically. Fails if the note already exists unless overwrite is true (prevHash may guard the overwrite).
| Parameter | Type | Description |
|---|---|---|
path * | string | Vault-relative path, e.g. "Daily Notes/2026-06-01.md". |
content | string | Body content for the note. |
frontmatter | object | Frontmatter key-value pairs. |
overwrite | boolean | Overwrite an existing note. Defaults to false. |
prevHash | string | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
delete_note
Delete a note. By default it is moved to the vault .trash/ folder (recoverable by moving it back); pass permanent: true to remove it outright.
| Parameter | Type | Description |
|---|---|---|
path * | string | Vault-relative path of the note to delete. |
permanent | boolean | Permanently remove instead of moving to .trash/. Defaults to false. |
prevHash | string | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
move_note
Move or rename a note to a new vault-relative path, rewriting wikilinks and markdown links in other notes that point at it so nothing breaks (links inside fenced code blocks are left alone). Parent directories at the destination are created automatically. Fails if the destination already exists unless overwrite is true.
| Parameter | Type | Description |
|---|---|---|
from * | string | Vault-relative source path. |
to * | string | Vault-relative destination path. |
overwrite | boolean | Overwrite destination if it exists. Defaults to false. |
prevHash | string | Optional compare-and-swap guard on the source note: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
rewriteLinks | boolean | Rewrite references in other notes to follow the move. Defaults to true; pass false to move the file only. |
rename_heading
Rename a heading in a note and rewrite every [[note#heading]] wikilink and embed across the vault so references keep working — aliases preserved, fenced code blocks left alone. Served from the warm backlink index, no vault scan. Heading matching is case-insensitive; with duplicate headings the first match wins, mirroring Obsidian link resolution.
| Parameter | Type | Description |
|---|---|---|
newHeading * | string | New heading text, without # markers. Must not contain newlines, "[", "]", "|", or "#". |
oldHeading * | string | Current heading text, without # markers. Case-insensitive; first match wins. |
path * | string | Vault-relative path of the note containing the heading. |
prevHash | string | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
append_note
Append text to a note body without touching the frontmatter. Safe for meeting notes, daily logs, and append-only workflows.
| Parameter | Type | Description |
|---|---|---|
content * | string | Text to append. |
path * | string | Vault-relative path to the note. |
prevHash | string | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
patch_frontmatter
Set, update, or delete frontmatter keys without reordering existing keys or changing quote style. Pass null as a value to delete a key.
| Parameter | Type | Description |
|---|---|---|
patch * | object | Key-value pairs to set. Null value removes the key. |
path * | string | Vault-relative path to the note. |
prevHash | string | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
outline_note
Return a note's structure — heading tree with offsets, block-reference anchors, and frontmatter key list — without returning any prose. Use this before section reads or patches to discover what sections exist at a fraction of the cost of reading the full note.
| Parameter | Type | Description |
|---|---|---|
path * | string | Vault-relative path to the note. |
includeBlocks | boolean | Include block-reference anchors (^id). Default true. |
includeSizes | boolean | Include per-section character length in each heading entry. Default false. |
patch_note
Surgically edit a section of a note — targeted by heading or block reference — without rewriting the whole file. Operations: append (add after section), prepend (add after heading line), replace (swap section content). Frontmatter is never touched.
| Parameter | Type | Description |
|---|---|---|
content * | string | Content to insert or replace with. |
operation * | string | append: insert after section content. prepend: insert after heading line. replace: swap section content. |
path * | string | Vault-relative path to the note. |
target * | Exactly one of: { heading: "Section Title" } or { block: "block-id" } (without the ^ prefix). | |
createIfMissing | boolean | If the heading target is not found, append a new heading (level 2) + content. Only valid for heading targets. Default false. |
prevHash | string | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
get_backlinks
Return every note that links to the target note, with the source line and an optional excerpt. Results come from the pre-built reverse-link index so this is a fast, pure index lookup. Sort order: source path ascending.
| Parameter | Type | Description |
|---|---|---|
path * | string | Vault-relative path to the target note. |
includeContext | boolean | Include a short excerpt (~200 chars) from the linking line. Default true. |
limit | number | Max backlinks to return (1–500). Default 50. |
get_links
Return all outgoing wikilinks and embeds from a note. Each link is marked resolved (with target path) or unresolved. Duplicate targets are de-duplicated; results sorted by line number.
| Parameter | Type | Description |
|---|---|---|
path * | string | Vault-relative path to the note. |
resolve_note
Resolve a note reference — a wikilink target, bare note name, path without extension, or frontmatter alias — to canonical vault-relative path(s). Each match carries provenance (path | basename | relpath | alias); matches[0] is exactly what a wikilink with that target resolves to, and ambiguous: true means more than one note matched. Empty matches means the reference resolves to nothing (didYouMean then lists close names). Returns paths only — resolve first, then read_notes. Pure index lookup.
| Parameter | Type | Description |
|---|---|---|
reference * | string | Reference to resolve: a vault-relative path ("Projects/Core.md"), a path without extension, a bare note name ("Core"), or a frontmatter alias. |
replace_in_note
Find and replace text within a note body. Supports literal and regex search, case sensitivity, whole-word matching, and a replacement limit. Frontmatter is never touched. Use dryRun to preview matches before writing.
| Parameter | Type | Description |
|---|---|---|
find * | string | Text or pattern to find. |
path * | string | Vault-relative path to the note. |
replace * | string | Replacement text. Supports $1, $2, … backreferences in regex mode. |
caseSensitive | boolean | Case-sensitive matching. Default false. |
dryRun | boolean | If true, report matches without writing. Default false. |
limit | number | Maximum number of replacements. Omit to replace all. |
prevHash | string | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
regex | boolean | Treat find as a regular expression. Default false. |
wholeWord | boolean | Match whole words only (\b boundary). Default false. |
get_periodic_note
Get the path and existence status of a periodic note (daily, weekly, monthly, quarterly, or yearly) for a given date. Reads folder/format config from .obsidian/daily-notes.json (daily) or the periodic-notes plugin data.json. Optionally creates the note from the configured template if it is missing.
| Parameter | Type | Description |
|---|---|---|
createIfMissing | boolean | Create the note from the configured template if it does not exist. Default false. |
date | string | ISO date string (YYYY-MM-DD). Defaults to today when omitted. |
period | string | Period type. Default: daily. |
append_periodic_note
Append text to a periodic note (daily, weekly, monthly, quarterly, or yearly). Preserves existing frontmatter exactly. Creates the note first (from template if configured) when createIfMissing is true (default).
| Parameter | Type | Description |
|---|---|---|
content * | string | Text to append to the note body. |
createIfMissing | boolean | Create the note if it does not exist before appending. Default true. |
date | string | ISO date string (YYYY-MM-DD). Defaults to today when omitted. |
period | string | Period type. Default: daily. |
prevHash | string | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
update_task
Set the state of one Markdown checkbox identified by path + line (from list_tasks), rewriting exactly one character — the rest of the file, frontmatter included, stays byte-identical. Pass expectText to guard against the line having changed, and prevHash for full compare-and-swap. Setting the current state again is a success no-op.
| Parameter | Type | Description |
|---|---|---|
line * | number | 1-based line number of the task, as returned by list_tasks. |
path * | string | Vault-relative path to the note. |
state * | string | New marker character: "x" (done), " " (open), or a custom marker like "/". |
expectText | string | Optional guard: the task text list_tasks returned. Fails with task_text_mismatch on mismatch. |
prevHash | string | Optional compare-and-swap guard: the contentHash from a prior read. Fails with hash_conflict on mismatch. |
list_writes
List recent writes from the journal — every write tool records the pre-image of each file it touches, so any of them can be reverted with undo_write. Returns compact metadata rows (seq, timestamp, tool, paths, undoable), never note content.
| Parameter | Type | Description |
|---|---|---|
limit | number | Max entries to return, newest first (1–200, default 20). |
path | string | Only entries that touched this vault-relative path. |
undo_write
Revert a journaled write: restores every file it touched to its byte-identical pre-write state (a delete is restored even if it was permanent). Defaults to the most recent undoable write. Refuses with undo_conflict if a file changed since that write, unless force: true. The undo is itself journaled — undo it to redo.
| Parameter | Type | Description |
|---|---|---|
force | boolean | Restore even if a file changed after the journaled write; the clobbered state is journaled first so nothing is lost. Defaults to false. |
seq | number | Journal entry to revert (from list_writes). Defaults to the most recent undoable write. |