obsidian-mcp
Enables Claude Code read/write access to an Obsidian vault, including creating, editing, searching, and browsing notes.
README
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
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.
Features
- Read & write notes - Create, edit, and append to markdown files
- Search - Full-text search across your vault
- 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 directly from PyPI in an isolated environment each time.
Via pipx (persistent install)
pipx install obsidian-mcp
Then configure Claude Code:
claude mcp add obsidian -- obsidian-mcp
Via pip
pip install obsidian-mcp
Then configure Claude Code:
claude mcp add obsidian -- python3 -m obsidian_mcp.server
From source
git clone https://github.com/bbdaniels/obsidian-mcp.git
cd obsidian-mcp
pip install -e .
Then configure Claude Code:
claude mcp add obsidian -- obsidian-mcp
First-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 |
|---|---|
obsidian_configure |
Set vault path and daily notes settings |
obsidian_status |
Show current configuration and vault stats |
obsidian_read |
Read a note's contents |
obsidian_write |
Create or overwrite a note |
obsidian_append |
Append to a note (optionally under a heading) |
obsidian_search |
Search notes by content |
obsidian_list |
Browse vault structure |
obsidian_daily |
Read/append to daily notes |
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 |
|---|---|
session-start |
Review daily notes and project context before starting work |
session-end |
Document accomplishments, decisions, and open questions at end of session |
project-checkin |
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
Config is stored 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 |
|---|---|---|
vault_path |
(required) | Absolute path to your Obsidian vault |
daily_notes_folder |
Daily Notes |
Folder for daily notes |
daily_notes_format |
%Y-%m-%d |
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 notes
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。