Skip to main content
Glama
quinny1187

Obsidian MCP Server

by quinny1187

Obsidian MCP Server

Direct file system access to Obsidian vaults through Model Context Protocol (MCP).

Features

  • Direct vault access - No plugins or REST API required

  • Auto-discovery - Finds vaults from Obsidian config and common locations

  • Full-text search - Search across all notes with regex support

  • Note operations - Read, write, append, prepend to notes

  • Vault management - List vaults, get statistics, browse files

  • Windows optimized - Handles Windows paths correctly

Related MCP server: Obsidian MCP Server

Installation

  1. Make sure the project is built:

cd C:\repos\obsidian-mcp
npm install
npm run build
  1. Add to Claude Desktop configuration:

Edit %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "obsidian-mcp": {
      "command": "node",
      "args": ["C:\\repos\\obsidian-mcp\\dist\\index.js"],
      "env": {
        "OBSIDIAN_VAULT": "C:\\Users\\YourName\\Documents\\YourVault"
      }
    }
  }
}
  1. Restart Claude Desktop

Available Tools

Vault Management

  • list_vaults - Discover available Obsidian vaults

  • get_vault_info - Get statistics about a vault

Note Operations

  • read_note - Read a note with frontmatter and metadata

  • write_note - Create or update a note (overwrite/append/prepend)

  • list_notes - List all notes in vault or folder

  • search_vault - Full-text search with regex and case-sensitive options

Usage Examples

// List available vaults
list_vaults()

// Read a note
read_note(vault_path: "C:\\Users\\Name\\Vault", note_path: "Daily Notes/2024-01-17")

// Write a note
write_note(
  vault_path: "C:\\Users\\Name\\Vault",
  note_path: "New Note",
  content: "# My New Note\n\nContent here",
  mode: "overwrite"
)

// Search vault
search_vault(
  vault_path: "C:\\Users\\Name\\Vault",
  query: "project",
  options: { case_sensitive: false }
)

Vault Discovery

The server automatically discovers vaults from:

  1. Obsidian's configuration (%APPDATA%\obsidian\obsidian.json)

  2. Common locations:

    • %USERPROFILE%\Documents\Obsidian

    • %USERPROFILE%\OneDrive\Documents\Obsidian

  3. Environment variable OBSIDIAN_VAULT

Development

# Install dependencies
npm install

# Build
npm run build

# Run in development
npm run dev

# Type checking
npm run typecheck

Troubleshooting

  • No vaults found: Make sure you have at least one Obsidian vault with .obsidian folder or .md files

  • Permission errors: Run Claude Desktop as the same user who owns the vault files

  • Path not found: Use full absolute paths for vault_path

Future Features

  • Graph navigation (trace links N levels deep)

  • Template execution

  • Smart search with fuzzy matching

  • Active file tracking

  • Partial file updates (patch operations)

  • Frontmatter management

Install Server
A
license - permissive license
B
quality
D
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.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables AI assistants to interact with Obsidian vaults via direct filesystem access for managing notes, folders, and metadata. It features advanced search capabilities and multi-layer caching to provide efficient, real-time access to your personal knowledge base.
    Last updated
    3,555
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to interact with local Obsidian vaults through direct filesystem access for reading, creating, and managing notes. It features high-performance SQLite indexing for fast searches, regex support, and tools for organizing tags and links without requiring additional plugins.
    Last updated
    27
    1
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Enables AI assistants to search, read, create, and modify Markdown notes in local Obsidian vaults directly through filesystem operations. Supports tag-based discovery and frontmatter parsing without requiring Obsidian to be open, facilitating integration with VS Code Copilot via stdio transport.
    Last updated
    5
    18
    4
    MIT

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Appeared in Searches

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/quinny1187/obsidian-mcp'

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