Skip to main content
Glama
obsidian-mcp-server

obsidian-mcp-server

by mpesavento

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port.3100
AUTH_TOKENNoStatic bearer token for Claude Code remote access.
SERVER_URLNoPublic URL for OAuth metadata endpoints.http://localhost:PORT
VAULT_PATHYesAbsolute path to Obsidian vault root.
LINK_REWRITE_SKIPNoComma-separated globs of notes vault_move must not edit when rewriting links; they are reported instead. Empty string protects nothing.10-identity/**,60-daily/**,**/decisions.md,00-meta/agent-comms/**
AGENT_NAME_DEFAULTNoDefault agent name for frontmatter attribution.claude

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
vault_readA

Read a note from the vault. Returns parsed YAML frontmatter and body content separately.

vault_writeA

Create or overwrite a note. Auto-manages created/modified timestamps and created_by/last_modified_by in frontmatter. If the file exists, preserves original created/created_by values, and keeps its existing frontmatter when you pass none. A non-empty frontmatter object REPLACES the existing fields (use vault_frontmatter to change individual fields).

vault_patchA

Replace a unique string in a note with another string. The old_str must appear exactly once in the file content (not frontmatter). Use for surgical edits: updating links, fixing sections, replacing status fields. Updates modified timestamp.

vault_appendA

Append content to an existing note with a separator. Updates modified timestamp and last_modified_by in frontmatter. Ideal for log entries and incremental additions.

vault_deleteB

Soft-delete a note by moving it to .trash/. The file can be recovered from .trash/ if needed.

vault_moveA

Move or rename a note within the vault. Creates destination directories if needed and refuses to overwrite an existing note. By default, links to the note in other notes (wikilinks, embeds, markdown links; alias/#heading/^block kept) are rewritten, so nothing dangles. Notes in protected zones (LINK_REWRITE_SKIP, default: identity, daily notes, decisions.md, agent-comms) are never edited; they are listed in protected_skipped. Ambiguous links (several notes share the name) are listed, not guessed. Use dry_run to preview.

vault_frontmatterA

Read or atomically update specific YAML frontmatter fields on a note without touching the body content. If 'updates' is omitted, returns the current frontmatter. If provided, merges the updates into existing frontmatter.

vault_infoA

Get vault statistics: total file count, total size, and top-level directory structure.

vault_grepA

Full-text grep search across vault notes. Uses ripgrep if available, falls back to pure Node.js search. Case-insensitive. Use vault_search for semantic/keyword search instead.

vault_listB

List files and folders in a vault directory. Excludes .obsidian, .trash, and .git directories.

vault_recentA

Get the most recently modified notes in the vault, sorted by modification time (newest first).

vault_searchA

Search vault with multiple modes. 'vector' (default) = semantic similarity via embeddings, best for conceptual queries. 'keyword' = BM25 text matching, best for exact terms/names. Zones filter results to specific vault areas:

  • meta: 00-meta/ (agent protocols, conventions)

  • identity: 10-identity/ (Mike's identity, values)

  • people: 15-people/ (entity files for people)

  • context: 20-context/ (projects, platforms)

  • knowledge: 30-knowledge/ (reusable knowledge artifacts)

  • playbooks: 35-playbooks/ (operational runbooks, how-to guides)

  • queues: 50-queues/ (task queues)

  • daily: 60-daily/ (daily notes)

  • introspection: 70-introspection/ (insights, patterns)

  • archive: 90-archive/ (completed/inactive items)

vault_search_statusA

Check the status of the vault search index (QMD). Shows whether the index exists, when it was last updated, and if embeddings are available for vector search.

vault_search_updateA

Update the vault search index to reflect recent file changes. Run this after adding or modifying many files to ensure search results are current.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 14 tools

Disambiguation4/5

Each tool targets a distinct operation (read, write, patch, append, delete, move, frontmatter, search, list, info). The one real overlap is vault_grep vs vault_search, but the descriptions explicitly differentiate them (grep = exact full-text, search = vector/BM25), and vault_read vs vault_frontmatter differ by scope. Minor residual ambiguity but well handled.

Naming Consistency5/5

Every tool follows the vault_<noun/verb> snake_case pattern consistently (vault_read, vault_write, vault_search_status, vault_frontmatter). No mixed conventions or inconsistent casing.

Tool Count5/5

14 tools sits comfortably within a well-scoped range. Each tool earns its place—core CRUD, navigation, and search/indexing are all represented without redundancy.

Completeness4/5

Full note lifecycle is covered: create/overwrite, surgical edits, append, soft-delete, move/rename with link rewriting, and frontmatter management, plus multiple search modes and index maintenance. Minor gaps remain (no directory-level create/rename/delete, no tag or backlink-graph query), but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues