obsidian-mcp-server

obsidian-mcp-server

MCP server that provides natural language access to an Obsidian vault, enabling reading, searching, listing, and creating notes.

Category
Visit Server

README

Obsidian MCP Server

An MCP (Model Context Protocol) server that exposes an Obsidian vault as a structured interface for AI models. Connect Claude Desktop or Claude Code to your vault and interact with your notes in natural language.

What it does

Instead of manually navigating your vault, you can ask Claude:

  • "Read my weekly plan for W31"
  • "Search my notes for anything about HireRight"
  • "What are my 5 most recently modified notes?"
  • "What's the structure of my vault?"
  • "Create today's daily note"

Claude calls the appropriate tool, reads or writes the file, and responds naturally.

Tools

Tool Description
read_note(path) Read a note by path relative to vault root
list_recent(n) List the N most recently modified notes
search_vault(query, tag, folder) Full-text search with optional tag and folder filters
get_vault_structure() Get the folder hierarchy and note counts
create_note(path, content) Create a new note (refuses to overwrite existing)

Architecture

Claude Desktop / Claude Code
        │
        │  stdio (local)
        ▼
  MCP Server (server.py)
        │
        ▼
  Obsidian Vault (filesystem)

The server runs as a local process started by the MCP host (Claude Desktop or Claude Code). Communication happens over stdio — no network exposure, no auth required for local use.

Stack

  • Python 3.10+
  • mcp 2.0.0 — official MCP Python SDK
  • uv — package manager

Setup

1. Clone and install dependencies

git clone https://github.com/DusanMilic/obsidian-mcp-server.git
cd obsidian-mcp-server
uv sync

2. Set your vault path

Edit server.py and update VAULT_PATH:

VAULT_PATH = Path("/your/path/to/obsidian/vault")

3. Connect to Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "obsidian": {
      "command": "/path/to/uv",
      "args": [
        "--directory", "/path/to/obsidian-mcp-server",
        "run", "server.py"
      ]
    }
  }
}

Restart Claude Desktop. The server starts automatically.

4. Connect to Claude Code

claude mcp add --scope user obsidian -- /path/to/uv --directory /path/to/obsidian-mcp-server run server.py

Security

  • All paths are validated to be within the vault root — no path traversal possible
  • create_note refuses to overwrite existing notes
  • No write tool overwrites existing content — create_note is append-safe by design
  • Local stdio transport only — no network exposure in default configuration

Project context

Built as Phase 1 of an AI engineering learning path — the goal is to move from AI consumer to AI builder. This server is used daily to give Claude structured access to a personal Obsidian vault containing journaling, planning, and project notes.

Phase 2 will extend this into a personal finance agent. Phase 4 targets a real estate agentic analyzer over Serbian property data.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured