Obsidian MCP Server

Productivitystdiov0.2.0
代码仓库

MCP server for Obsidian that connects AI agents to a local Markdown knowledge vault via the Local REST API plugin. Lets agents read, search, create, and update notes, follow links, and manage frontmatter and tags. Useful for personal knowledge management, note synthesis, and grounding agents in your own notes.

连接

将此配置添加到 .claude/mcp.json

{
  "mcpServers": {
    "obsidian": {
      "command": "uvx",
      "args": [
        "mcp-obsidian"
      ],
      "env": {
        "OBSIDIAN_API_KEY": "<YOUR_OBSIDIAN_API_KEY>",
        "OBSIDIAN_HOST": "<YOUR_OBSIDIAN_HOST>"
      }
    }
  }
}

工具 (2)

search_notes

Search the Obsidian vault for notes matching a query.

{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "type": "string",
      "description": "Search query"
    }
  }
}

get_note

Read the contents of a note by its vault path.

{
  "type": "object",
  "required": [
    "path"
  ],
  "properties": {
    "path": {
      "type": "string",
      "description": "Note path relative to the vault root"
    }
  }
}

资源

此服务器未提供任何资源。

提示词

此服务器未提供任何提示词。

服务器信息

作者
Markus Pfundstein (@MarkusPfundstein)
代码仓库
https://github.com/MarkusPfundstein/mcp-obsidian
许可证
MIT
版本
0.2.0
星标
1,600
最后更新
2026年7月9日
Obsidian MCP Server - MCP Server | OpenModels