obsidian-mcp-server
Provides tools to manage Obsidian vaults, including reading, writing, searching, and deleting notes, as well as managing tags and navigating links.
Click on "Install 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-serversearch my notes for meeting notes"
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 Server
A Model Context Protocol (MCP) server for Obsidian vault operations. Works with any MCP-compatible client including Claude Desktop, Cursor, Windsurf, and VS Code.
Features
Full Vault Access: Read, write, search, and delete notes
Link Navigation: Get outgoing links and backlinks for any note
Tag Management: List all tags, find notes by tag
Flexible Search: Search by content, title, tags, or folder
Two Transports: Stdio (local) or Streamable HTTP (remote)
Modern MCP: Built with MCP SDK 1.6.1, Zod validation, tool annotations
Related MCP server: Obsidian Tools MCP Server
Quick Start
# Install dependencies
npm install
# Build
npm run build
# Run (stdio mode)
OBSIDIAN_VAULT_PATH=/path/to/vault npm start
# Run (HTTP mode)
OBSIDIAN_VAULT_PATH=/path/to/vault npm run start:httpConfiguration
Environment Variables
Variable | Required | Default | Description |
| Yes | - | Absolute path to your Obsidian vault |
| No |
| Transport mode: |
| No |
| HTTP server port |
| No |
| HTTP server host |
| No |
| Enable debug logging |
MCP Client Configuration
Claude Desktop / Cursor / Windsurf (stdio)
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/path/to/obsidian-mcp-server/dist/index.js"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/vault"
}
}
}
}HTTP Mode
Start the server:
OBSIDIAN_VAULT_PATH=/path/to/vault TRANSPORT=http npm startConnect via http://localhost:3000/mcp
Available Tools
Note Operations
Tool | Description |
| List notes with pagination and folder filtering |
| Read a note's full content and metadata |
| Create or update a note |
| Permanently delete a note |
| Search notes by content, tags, or folder |
Vault Information
Tool | Description |
| Get vault statistics (note count, size, etc.) |
| List all tags with usage counts |
| Get all notes with a specific tag |
Link Navigation
Tool | Description |
| Get outgoing links from a note |
| Get backlinks to a note |
Response Formats
All tools support a response_format parameter:
json(default): Structured JSON datamarkdown: Human-readable markdown
Development
# Development mode (with auto-reload)
npm run dev
# Build
npm run build
# Test (builds and runs --help)
npm testProject Structure
src/
index.ts # Entry point, transport handling
server.ts # MCP server with tool registrations
vault.ts # Vault operations (CRUD, search, links)
schemas.ts # Zod input validation schemas
types.ts # TypeScript type definitionsLicense
MIT
Maintenance
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
- AlicenseBqualityDmaintenanceEnables direct file system access to Obsidian vaults with auto-discovery, full-text search, and note operations. Supports reading, writing, and searching across Obsidian notes without requiring plugins or REST API.63,786MIT
- FlicenseAqualityDmaintenanceEnables comprehensive management of Obsidian vaults with full CRUD operations, advanced search, link/tag extraction, backlinks discovery, frontmatter editing, and template-based note creation through natural language.16
- Flicense-qualityDmaintenanceEnables LLMs to read, search, and manage Obsidian vault markdown files, including YAML frontmatter, wikilinks, and graph operations through a secure stateless I/O layer.
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Obsidian vaults for creating, reading, searching, and managing notes, daily notes, TODOs, session reports, and backlinks through both stdio and HTTP/SSE transports.103,7864MIT
Related MCP Connectors
Search your Obsidian vault to quickly find notes by title or keyword, summarize related content, a…
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/sethdavis512/obsidian-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server