Obsidian MCP Server
Obsidian MCP Server
用于 Obsidian 仓库操作的 FastMCP 服务器 — 通过 Model Context Protocol 读取、写入、搜索和管理笔记。
功能
read_note — 读取笔记,可选解析 frontmatter
write_note — 写入笔记,支持 YAML frontmatter
list_notes — 列出笔记,支持 glob 过滤和递归
search_notes — 在仓库内容中进行正则搜索
search_frontmatter — 按 frontmatter 键/值查询笔记
get_daily_note — 获取或创建带模板的每日笔记
Related MCP server: Obsidian RAG MCP Server
安装
pip install -e .使用方法
obsidian-mcp或在你的 MCP 客户端中配置:
{
"mcpServers": {
"obsidian": {
"command": "obsidian-mcp",
"env": {
"OBSIDIAN_MCP_VAULT_PATH": "C:/path/to/vault"
}
}
}
}配置
环境变量 | 默认值 | 描述 |
| 当前目录 | Obsidian 仓库根目录路径 |
| 10MB | 操作的最大文件大小 |
| utf-8 | 文本编码 |
| true | 解析 YAML frontmatter |
| false | 跟随符号链接 |
工具参考
read_note
{
"path": "Projects/roadmap.md",
"include_frontmatter": true
}write_note
{
"path": "Projects/new-idea.md",
"content": "# New Idea\n\nDetails here...",
"frontmatter": { "tags": ["idea", "draft"], "status": "wip" }
}list_notes
{
"path": "Projects",
"glob_pattern": "**/*.md",
"recursive": true
}search_notes
{
"pattern": "MCP",
"path": ".",
"max_results": 50
}search_frontmatter
{
"key": "status",
"value": "done",
"operator": "eq"
}get_daily_note
{
"date": "2026-08-21",
"folder": "Daily Notes",
"create_if_missing": true
}This server cannot be installed
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 Connectors
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
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…
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables interaction between LLMs and Obsidian vaults through the Model Context Protocol, supporting secure file operations, content management, and advanced search capabilities.5,784671Apache 2.0
- FlicenseNot gradedqualityNot gradedmaintenanceEnables semantic search and content retrieval from local Obsidian vaults through the Model Context Protocol. It allows AI assistants to query notes by meaning, filter by tags, and access full note content for enhanced knowledge integration.
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Obsidian vaults through vector search, vault indexing, and file monitoring. It provides a standardized interface for searching and managing markdown-based personal knowledge management data within the Model Context Protocol.5,7841MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI to manage Obsidian notes, including creation, reading, updating, deletion, full-text search, listing with filtering, sorting, and metadata extraction via the Model Context Protocol.18MIT
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/Airgap-fleet/obsidian-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server