obsidian-mcp
You can use this MCP server to configure and work with an Obsidian vault from Claude Code, including reading, writing, searching, and organizing notes.
Configure the vault path and daily note settings, and view configuration/status.
Read note contents; create or overwrite notes; append content, optionally under a heading.
Search with ranked full-text section search or regex/case-sensitive file scans, with folder and result limits.
Inspect note metadata: frontmatter properties, tags, headings, outgoing links, size, and modified time.
Find notes by frontmatter property using operators such as exists, equals, contains, gt, and lt.
List all tags with counts, or list notes carrying a tag.
Find backlinks to a note from wikilinks or Markdown links.
Browse vault folders and notes, recursively if requested.
Read or append to daily notes by date.
Access only the configured vault directory.
Provides read/write access to an Obsidian vault, enabling AI agents to create, edit, append, search, and browse notes, as well as manage daily notes and project documentation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@obsidian-mcp Search my notes for the API design doc"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Obsidian MCP
An MCP (Model Context Protocol) server that gives Claude Code read/write access to your Obsidian vault.
Documentation | PyPI | GitHub
Quick Start with Claude Code
The fastest way to get up and running:
claude mcp add obsidian -- uvx obsidian-mcp-serverOn PyPI this project is obsidian-mcp-server. The name obsidian-mcp there belongs to a different project, so uvx obsidian-mcp or pip install obsidian-mcp installs that one, not this. To run the unreleased code on main, use uvx --from git+https://github.com/bbdaniels/obsidian-mcp obsidian-mcp.
Then restart Claude Code and tell it:
"Configure obsidian vault at /path/to/your/vault"
That's it -- Claude can now read, write, and search your Obsidian notes.
Related MCP server: Vault Cortex Obsidian MCP Server
Features
Read & write notes - Create, edit, and append to markdown files
Search - Ranked full text search of note sections, with regular expression search beside it
Properties, tags and links - Find notes by frontmatter property, by tag, or by the notes that link to them
Daily notes - Read or append to daily notes with configurable date format
Browse - List files and folders in your vault
Secure - Only accesses your configured vault directory
Installation
Via uvx (recommended -- no install needed)
If you set up via the Quick Start above, you don't need to install anything. uvx runs the package from PyPI in an isolated environment.
Via pipx (persistent install)
pipx install obsidian-mcp-serverThen configure Claude Code:
claude mcp add obsidian -- obsidian-mcpVia pip
pip install obsidian-mcp-serverThen configure Claude Code:
claude mcp add obsidian -- python3 -m obsidian_mcp.serverFrom source
git clone https://github.com/bbdaniels/obsidian-mcp.git
cd obsidian-mcp
pip install -e '.[dev]'
pytestThen configure Claude Code:
claude mcp add obsidian -- obsidian-mcpFirst-Time Setup
Once configured, tell Claude:
"Configure obsidian vault at /path/to/your/vault"
Claude will run obsidian_configure to set up the vault path. Your configuration is stored at ~/.config/obsidian-mcp/config.json.
Available Tools
Tool | Description |
| Set vault path and daily notes settings |
| Show current configuration and vault stats |
| Read a note's contents |
| Create or overwrite a note |
| Append to a note (optionally under a heading) |
| Ranked full text search of note sections, or a regular expression scan |
| Show a note's properties, tags, headings and outgoing links |
| Find notes by a frontmatter property ( |
| List every tag with its count, or the notes carrying a tag |
| List the notes that link to a note |
| Browse vault structure |
| Read/append to daily notes |
Search
obsidian_search answers a plain-word query from a full text index of the vault, kept in SQLite (FTS5) and ranked by BM25.
One result per section. A note is split at its
##and###headings; the text before the first such heading is a section of its own. Each result gives the note, the section heading, the line, and a snippet.Query syntax. Every word is required. A
"quoted phrase"must appear as written. Operators and punctuation (OR,NOT,*,-,:, parentheses) are taken as text, so any query is safe to pass as typed. Matching ignores case and accents and finds word forms (indexalso findsindexes).What is searched. The text of each section, its heading, and the note's title and path. Frontmatter is not searched; use
obsidian_search_propertyfor it.Superseded sections. A section whose first line is
Superseded YYYY-MM-DD by [[Note#Heading]].is shown withsuperseded: YYYY-MM-DDand ranked after every section that is not.Regular expressions. With
regex: true, or withcase_sensitive: true, the search scans whole files in path order, frontmatter included, as it always has. A query with no word in it (only punctuation) is scanned too.
The index is a cache at <vault>/.obsidian/mcp-search-index.db (add it, with its -wal and -shm files, to the vault's .gitignore if the vault is in git). It is built on the first search, in a few seconds for a vault of a few thousand notes, and brought up to date at every search afterwards: a note whose modification time or size changed is indexed again, a new note added, a deleted one dropped. A search when nothing changed takes a few tens of milliseconds. The database uses a write-ahead log, so several sessions can search at once; one that cannot update the index in time answers from the index as it stands and says how many changed notes it may miss. A damaged database, or one from another version, is deleted and built again. Where Python's SQLite has no FTS5, the search falls back to the scan and the answer says so.
The same search runs without the server:
python -m obsidian_mcp.search "quoted phrase" other words --folder Projects --max-results 20It reads the vault from --vault, else OBSIDIAN_VAULT_PATH, else the saved configuration, takes --regex and --case-sensitive, and prints exactly what the tool answers.
Built-in Prompts
The server includes MCP prompts that provide structured workflows for common note-taking patterns. These show up as invocable prompts in Claude Code.
Prompt | Description |
| Review daily notes and project context before starting work |
| Document accomplishments, decisions, and open questions at end of session |
| Review and update a specific project's documentation |
Each prompt accepts an optional project argument to focus on a specific project folder.
Automatic Instructions
When this server is connected, Claude automatically receives guidance about when and how to use the Obsidian tools -- no CLAUDE.md configuration needed. The built-in instructions tell Claude to:
Check for project context at the start of sessions
Document decisions as they're made (not just at the end)
Update daily notes with session summaries
Search for existing notes before creating new ones
Example Usage
Once configured, you can ask Claude things like:
"Search my notes for authentication patterns"
"Read my project architecture note"
"Append today's session summary to my daily note"
"Create a new note at Projects/my-project/decisions.md"
"List all notes in my Work folder"
Configuration
Set the vault with the OBSIDIAN_VAULT_PATH environment variable (for example claude mcp add obsidian -e OBSIDIAN_VAULT_PATH=/path/to/vault -- ...), which takes precedence, or let obsidian_configure store it at ~/.config/obsidian-mcp/config.json:
{
"vault_path": "/path/to/your/vault",
"daily_notes_folder": "Daily Notes",
"daily_notes_format": "%Y-%m-%d"
}Options
Option | Default | Description |
| (required) | Absolute path to your Obsidian vault |
|
| Folder for daily notes |
|
| Date format for daily note filenames |
Customizing Claude Instructions (Optional)
The server includes built-in instructions that guide Claude's note-taking behavior automatically. For additional customization, you can add to ~/.claude/CLAUDE.md:
## Obsidian Note-Taking
### Project Notes
- Vault uses project folders (e.g., MyProject/) with notes like Technical Notes.md, Overview.md
- Always update BOTH daily notes AND project-specific notes
- Include commit hashes and file references in technical notesLicense
MIT
Available Tools
12 toolsobsidian_appendA
Append content to an existing note, or create it if it doesn't exist. Prefer this over obsidian_write when adding to existing project documentation.
Inputs: path (required), content (required), heading.
obsidian_backlinksA
List the notes that link to a note, by [[wikilink]] or Markdown link, with each linking line.
Inputs: path (required), max_results.
obsidian_configureA
Configure the Obsidian vault path and settings. Run this first to set up your vault.
Inputs: vault_path (required), daily_notes_folder, daily_notes_format.
obsidian_dailyA
Read or append to today's daily note. Creates the note if it doesn't exist. Use this at the end of work sessions to document accomplishments, decisions, and open questions.
Inputs: action (required), date, content.
obsidian_infoA
Show a note's metadata without its text: frontmatter properties, tags, headings, outgoing links, size and modified time.
Inputs: path (required).
obsidian_listB
List notes and folders in the vault. Use at the start of sessions to discover project folders and available documentation.
Inputs: folder, recursive.
obsidian_readB
Read the contents of a note from the Obsidian vault. Returns the full markdown content.
Inputs: path (required).
obsidian_searchA
Search the vault. Plain words are looked up in a full text index of note sections (split at ## and ### headings) and ranked by relevance: every word is required, a "quoted phrase" is kept together, and note titles, paths and headings count; frontmatter is not searched. Each result gives the note, the section heading, the line, a snippet, and 'superseded: YYYY-MM-DD' for a section marked superseded, which is ranked after live ones. A regular expression or a case-sensitive query scans whole files in path order instead. Use before creating new notes to find existing relevant documentation.
Inputs: query (required), regex, folder, max_results, +1 more.
obsidian_search_propertyA
Find notes by a frontmatter property, for example status equals active, or updated gte 2026-01-01. Property names ignore case; a list property matches when any item does.
Inputs: property (required), value, folder, operator, +1 more.
obsidian_statusA
Show current configuration and vault status.
Inputs: no named parameters.
obsidian_tagsA
With no tag, list every tag in the vault with the number of notes carrying it. With a tag, list the notes that carry it or a tag nested under it. Reads both the tags property and #tags in the text.
Inputs: tag, folder, max_results.
obsidian_writeA
Create or overwrite a note in the Obsidian vault. Creates parent folders if needed.
Inputs: path (required), content (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Search variants are well distinguished: obsidian_search (full-text), obsidian_search_property (frontmatter), obsidian_tags, and obsidian_backlinks each target different retrieval semantics, and obsidian_info vs obsidian_read (metadata vs content) is clear. The only soft overlap is the write family — obsidian_append, obsidian_write, and obsidian_daily all create/append content — but the descriptions explicitly steer usage (append 'prefer over obsidian_write' for existing docs).
All tools share a consistent obsidian_ prefix and snake_case, which makes the set predictable. Minor deviation: several tools are noun-only (obsidian_info, obsidian_status, obsidian_tags, obsidian_backlinks, obsidian_daily) while others use verb_noun (obsidian_read, obsidian_write, obsidian_append, obsidian_search_property), so the pattern isn't strictly uniform.
Twelve tools sit squarely in the ideal 3-15 range for a vault server. Each tool covers a distinct capability — setup, discovery, search, metadata, navigation, and writing — with no obvious filler.
The surface covers the core lifecycle: configure, list, read, write/overwrite, append, search (text and property), tags, backlinks, info, daily notes, and status. Gaps exist for delete and move/rename, and there is no dedicated way to edit a single frontmatter property without rewriting the whole note, but agents can mostly work around these.
Maintenance
Related MCP Connectors
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Safe folder access for ChatGPT and Claude: read, write and search files, risky tools opt-in.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Notes and memory assistant: one Markdown vault that Claude, ChatGPT and any MCP client can share.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables Claude to read, write, search, and manage Obsidian vault notes with Git-backed sync support for multi-device access and extensible AI workflows.3,465 npm-
- AlicenseAqualityAmaintenanceStandalone MCP server for Obsidian vaults - hybrid search (FTS5 + vector + reranking), files in agent-readable form (images, PDFs, canvases, HTML, scripts, data files), Kanban-aware tasks (Tasks-plugin + Dataview formats), structured memory with topic recall, fine-grained read/write tools, and link graph support. Run locally, self-host, or one-click deploy for remote access. OAuth 2.1.163539MIT
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code to serve as the primary interface for a personal knowledge vault (zk or Obsidian), allowing full read, write, search, and synthesis operations on notes.Apache 2.0
- AlicenseAqualityDmaintenanceGives Claude direct access to an Obsidian vault, enabling read, write, search, and automatic git sync for cross-device use.16MIT