Skip to main content
Glama
justice8096

Obsidian MCP Server

by justice8096

Obsidian MCP Server

An MCP server that lets Claude (and other MCP clients) read, write, search, and manage an Obsidian vault as a native tool. Local filesystem access only, no cloud sync.

Tools

Tool

Description

Read-only

obsidian_read_note

Read a note's full markdown content

yes

obsidian_write_note

Create or overwrite a note (refuses overwrite unless asked)

no

obsidian_append_to_note

Append markdown to a note, creating it if missing

no

obsidian_list_notes

List notes in the vault or a folder

yes

obsidian_search_vault

Case-insensitive full-text search with line context

yes

obsidian_read_frontmatter

Parse a note's YAML frontmatter as structured data

yes

obsidian_resolve_wikilinks

Extract and resolve [[wikilinks]] to vault files

yes

All paths are relative to the vault root. The .md extension is optional. Paths are validated to stay inside the vault (no directory traversal).

Related MCP server: Obsidian RAG MCP Server

Setup

npm install
npm run build

The vault location is set with the OBSIDIAN_VAULT_PATH environment variable. If unset, it defaults to ~/Obsidian.

Configure in an MCP client

Add to your client's MCP config (example for a stdio client):

{
  "mcpServers": {
    "obsidian": {
      "command": "node",
      "args": ["/path/to/obsidian-mcp-server/dist/index.js"],
      "env": {
        "OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
      }
    }
  }
}

Develop

npm run dev        # run from source with tsx
npm run typecheck  # type-check without emitting
npm run inspect    # launch the MCP Inspector against the server

Roadmap

  • Semantic/vector search (embed notes, query by meaning)

  • Dataview query passthrough

  • Template-aware note creation

  • Backlink graph traversal

License

MIT

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/justice8096/obsidian-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server