obsidian-mcp-server
A production-grade that connects to your local vault. Gives Claude full CRUD access to your notes, full-text fuzzy search, backlink resolution, frontmatter parsing, and daily note creation — all over the secure stdio transport.
Power your agent
पब्लिशर का इंस्टॉल। PlugMCP एंडपॉइंट नहीं।
Host a copy with our keys and logs.
रजिस्ट्री में अभी कोई पैकेज्ड रिलीज़ नहीं है। रिपॉज़िटरी का README देखें.
रिमोट URL या आपकी मशीन पर कमांड? दोनों इंस्टॉल में क्या अंतर है
PlugMCP पर चलाएँ
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
लॉन्चपब्लिशर से
A production-grade that connects to your local vault. Gives Claude full CRUD access to your notes, full-text fuzzy search, backlink resolution, frontmatter parsing, and daily note creation — all over the secure stdio transport.
An open-source MCP server that connects Claude.ai to your Obsidian vault — full CRUD, full-text search, backlinks, daily notes & frontmatter parsing. Built with TypeScript + MCP SDK. Contributions welcome!
git clone https://github.com/yourusername/obsidian-mcp-server.git
cd obsidian-mcp-server
npm install
npm run build
npm install -g obsidian-mcp-server
cp .env.example .env
# Edit .env and set OBSIDIAN_VAULT_PATH to your vault directory
Or pass it on the CLI:
node dist/index.js --vault /path/to/your/vault
Add the server to your Claude Desktop config file.
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/claude/claude_desktop_config.json
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/absolute/path/to/obsidian-mcp-server/dist/index.js"],
"env": {
"OBSIDIAN_VAULT_PATH": "/absolute/path/to/your/obsidian/vault"
}
}
}
}
{
"mcpServers": {
"obsidian": {
"command": "obsidian-mcp",
"env": {
"OBSIDIAN_VAULT_PATH": "/absolute/path/to/your/obsidian/vault"
}
}
}
}
After editing the config, restart Claude Desktop. You should see the Obsidian tools available in the tools panel.
read_noteRead a note's body, frontmatter, word count, and last-modified timestamp.
Input:
{
"path": "Projects/MyNote.md"
}
Output:
{
"content": "# My Note\n\nMarkdown body without frontmatter...",
"frontmatter": { "title": "My Note", "tags": ["project"] },
"wordCount": 142,
"lastModified": "2024-03-15T10:30:00.000Z"
}
write_noteCreate or overwrite a note. Set overwrite: true to replace an existing note.
Input:
{
"path": "Projects/NewNote.md",
"content": "# New Note\n\nContent here.",
"frontmatter": { "tags": ["project", "active"] },
"overwrite": false
}
Output:
{
"success": true,
"path": "Projects/NewNote.md",
"created": true
}
append_noteAppend content to an existing note, optionally under a specific heading.
Input:
{
"path": "Daily Notes/2024-03-15.md",
"content": "- Completed code review",
"section": "Tasks"
}
Output:
{
"success": true,
"newWordCount": 187
}
delete_noteMove a note to .trash/ inside the vault (not permanent deletion). Requires confirm: true.
Input:
{
"path": "Archive/OldNote.md",
"confirm": true
}
Output:
{
"success": true,
"deletedPath": "Archive/OldNote.md"
}
list_notesList notes with optional folder, tag, and recursion filters.
Input:
{
"folder": "Projects",
"tag": "active",
"recursive": true,
"limit": 50
}
Output:
{
"notes": [
{
"path": "Projects/Alpha.md",
"title": "Project Alpha",
"tags": ["project", "active"],
"lastModified": "2024-03-15T09:00:00.000Z",
"wordCount": 320
}
]
}
search_notesFull-text fuzzy search with relevance scoring and highlighted excerpts.
Input:
{
"query": "machine learning neural network",
"limit": 10,
"searchIn": ["title", "content"],
"tag": "research"
}
Output:
{
"results": [
{
"path": "Research/ML-Notes.md",
"title": "ML Notes",
"score": 14.2,
"excerpt": "…backpropagation through **neural network** layers enables **machine learning** models to…",
"tags": ["research", "ml"]
}
]
}
get_backlinksFind all notes that link to a given note via [[WikiLinks]] or [text](path.md).
Input:
{
"path": "Concepts/Recursion.md"
}
Output:
{
"backlinks": [
{
"fromPath": "Algorithms/DFS.md",
"fromTitle": "Depth-First Search",
"context": "…DFS uses [[Recursion]] as its core mechanism for traversing…"
}
]
}
create_daily_noteCreate an Obsidian-style daily note at Daily Notes/YYYY-MM-DD.md.
Input:
{
"date": "2024-03-15",
"template": "Templates/Daily.md",
"additionalContent": "## Meeting Agenda\n\n- Sprint planning"
}
Output:
{
"path": "Daily Notes/2024-03-15.md",
"alreadyExisted": false
}
Template tokens: {{date}} → 2024-03-15, {{time}} → 09:30 AM, {{title}} → 2024-03-15.
A typical search → read → write pattern for AI-augmented note-taking:
User: "Summarize all my notes tagged 'meeting' from this week and create a summary note."
Claude:
1. search_notes({ query: "meeting", tag: "meeting", limit: 20 })
→ finds 5 recent meeting notes
2. read_note({ path: "Meetings/2024-03-13.md" })
read_note({ path: "Meetings/2024-03-14.md" })
read_note({ path: "Meetings/2024-03-15.md" })
→ reads each note's content
3. write_note({
path: "Summaries/Week-2024-03-11.md",
content: "# Week Summary\n\n...",
frontmatter: { tags: ["summary", "weekly"] }
})
→ creates the summary note
Every file path provided to the server is validated against the vault root:
path.resolve() against the vault root.../../etc/passwd, /absolute/paths) throws a VaultSecurityError and is rejected before any I/O occurs.All write operations use a write-to-temp-then-rename pattern:
.tmp.PID.TIMESTAMP file.This prevents partial writes from corrupting your notes.
delete_note moves notes to .trash/ inside the vault rather than permanently deleting them. Notes can be recovered manually from that folder.
# Run in dev mode with hot reload
npm run dev
# Type check
npm run typecheck
# Run tests
npm test
# Run tests in watch mode
npm run test:watch
# Lint
npm run lint
# Build for production
npm run build
git checkout -b feat/my-featurenpm testnpm run typecheckPlease follow the existing code style and ensure exactOptionalPropertyTypes strict mode is maintained.
MIT License
Copyright (c) 2024 obsidian-mcp-server contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
An open-source MCP server that connects Claude.ai to your Obsidian vault — full CRUD, full-text search, backlinks, daily notes & frontmatter parsing. Built with TypeScript + MCP SDK. Contributions w
ओवरव्यू
An open-source MCP server that connects Claude.ai to your Obsidian vault — full CRUD, full-text search, backlinks, daily notes & frontmatter parsing. Built with TypeScript + MCP SDK. Contributions welcome!
टूल
अभी टूल सूची नहीं है। रिमोट सर्वर को पहले हेल्थ चेक के बाद सूची मिलती है।
FAQ
इस पेज पर Cursor, Claude Desktop, Claude Code या VS Code के लिए stdio कॉन्फ़िग कॉपी करें। यह पब्लिशर का इंस्टॉल इस्तेमाल करता है, PlugMCP प्रॉक्सी नहीं।
इस रिकॉर्ड में कोई ज़रूरी एनवायरनमेंट वेरिएबल दर्ज नहीं है।
Obsidian stdio पर लोकल चलता है।
पिछली जाँच 2026-10-27 को हुई। An open-source MCP server that connects Claude.ai to your Obsidian vault — full CRUD, full-text search, backlinks, daily notes & frontmatter parsing. Built with TypeScript + MCP SDK. Contributions welcome!