Obsidian MCP Server
@roelven
关于 Obsidian MCP Server
MCP (Model Context Protocol) server for Obsidian notes access via CouchDB LiveSync
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"obsidian-mcp-server-roelven": {
"command": "docker",
"args": [
"build",
"-t",
"obsidian-mcp-server",
"."
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is Obsidian MCP Server?
A Model Context Protocol (MCP) server that gives AI models read-only access to your Obsidian notes by connecting through your existing LiveSync CouchDB setup. It is intended for users who want to query, search, and browse their Obsidian vault programmatically via MCP clients like Claude Desktop.
How to use Obsidian MCP Server?
Install via Docker (recommended) or run locally with Python 3.10+. Configure required environment variables (COUCHDB_BASE_URL, COUCHDB_DATABASE_NAME, COUCHDB_USER, COUCHDB_PASSWORD, API_KEY) in a .env file. Start the server with obsidian-mcp-server --transport stdio for direct MCP client connections or --transport sse --port 8000 for HTTP-based access. Integrate with clients like Claude Desktop by adding a mcpServers entry that runs the Docker image with the .env file.
Key features of Obsidian MCP Server
- Read-only access to Obsidian notes via LiveSync CouchDB
- Performance-optimized resource listing (10 recent notes)
- Automatic content inclusion for small result sets (≤3 notes)
- Metadata extraction: frontmatter, tags, and aliases
- Reassembles chunked notes automatically
- Supports encrypted vaults (if
VAULT_PASSPHRASEis set) - Docker support and full environment variable configuration
Use cases of Obsidian MCP Server
- AI assistants answering questions by searching your Obsidian notes
- Browsing recent notes sorted by modification, creation time, or path
- Quickly retrieving the most recent note with full content
- Integrating with Claude Desktop to query your vault without direct file access
- Searching notes by title, content, or tags from any MCP‑compatible client
FAQ from Obsidian MCP Server
What prerequisites are needed?
A running Obsidian LiveSync CouchDB instance with read‑access credentials, plus Python 3.10+ (local) or Docker.
Can Obsidian MCP Server read encrypted notes?
Yes. Set the VAULT_PASSPHRASE environment variable to decrypt encrypted Obsidian LiveSync notes. If not set, encrypted notes will not be decrypted.
Does Obsidian MCP Server support write operations?
No. The server provides read‑only access to your notes for safety. Write operations are listed as a future enhancement.
What transport protocols are available?
The server supports two MCP transports: stdio (direct client connection) and SSE (HTTP‑based on a configurable port, default 8000).
How can I improve query performance?
Create a JSON index on the type and mtime fields in your LiveSync CouchDB database. This index is recommended for efficient listing and sorting of notes.
记忆与知识 分类下的更多 MCP 服务器
Notion MCP Server
awkoyNotion MCP server for Claude, Cursor, ChatGPT & Claude Desktop. Connect AI agents to Notion via Model Context Protocol — pages, databases, blocks, comments, files.

Dash Api Docs Mcp Server
KapeliMCP server for Dash, the macOS API documentation browser
MCP server for Obsidian
MarkusPfundsteinMCP server that interacts with Obsidian via the Obsidian rest API community plugin
Notion MCP Server
makenotionOfficial Notion MCP Server
Basic Memory
basicmachines-coAI conversations that actually remember. Never re-explain your project to your AI again. Join our Discord: https://discord.gg/tyvKNccgqN
评论