MCP Catalogs
首页

obsidian-mcp-server

by smith-and-web·15·综合分 42

让AI助手管理Obsidian知识库的MCP服务器,提供笔记、标签和搜索功能。

file-systemai-llmproductivity
2
Forks
2
活跃 Issue
本月
最近提交
2 天前
收录于

概述

这个MCP服务器为AI助手与Obsidian知识库交互提供全面功能。支持笔记和目录的CRUD操作、前置元数据和标签管理、全文搜索功能以及链接分析。服务器支持多种部署方式,包括直接npx执行、Docker容器和本地开发环境。实现了SSE和POST端点的MCP通信,并可选择API密钥进行身份验证。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:AI助手检索和更新个人笔记和知识库
:自动化组织和标记markdown文档
:跨大型知识库进行AI驱动的搜索查询
:是否需要身份验证?
:除了Claude,我还能与其他AI助手一起使用吗?

什么时候选它

如果您使用 Obsidian 作为知识库,并希望 AI 助手通过自然语言命令直接与您的笔记库交互,请选择此服务器。

什么时候不要选它

如果您需要访问其他笔记应用程序,如 Notion 或 Roam Research,请不要选择此服务器,因为它专门为 Obsidian 笔记库设计。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • read-note

    Read note contents (supports frontmatterOnly for efficiency)

  • create-note

    Create a new note

  • edit-note

    Replace note contents

  • write-note

    Write with modes: overwrite, append, or prepend

  • get-frontmatter

    Get YAML frontmatter as JSON

  • add-tags

    Add tags to frontmatter or inline

  • search-vault

    Full-text search with context

  • get-backlinks

    Find notes linking to a note

  • find-broken-links

    Find unresolved wiki-links

  • list-vault

    List files and directories

  • list-tags

    List all tags with counts

  • find-replace

    Bulk find and replace

可对比工具

notion-mcpevernote-mcpfile-system-mcpmemex-mcp

安装

安装

**使用npx快速启动:**

VAULT_PATH=/path/to/your/vault npx @smith-and-web/obsidian-mcp-server

**Docker部署:**

docker run -d \
  --name obsidian-mcp \
  -v /path/to/your/vault:/vault:rw \
  -p 3001:3000 \
  -e VAULT_PATH=/vault \
  ghcr.io/smith-and-web/obsidian-mcp-server:latest

**Claude Desktop配置:**

{
  "mcpServers": {
    "obsidian": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://localhost:3001/sse"]
    }
  }
}

FAQ

是否需要身份验证?
身份验证是可选的。当设置API_KEY环境变量时,所有端点都需要通过Bearer令牌或查询参数进行身份验证。
除了Claude,我还能与其他AI助手一起使用吗?
可以,任何兼容MCP的客户端都可以使用mcp-remote工具或直接连接到SSE端点来连接到此服务器。

obsidian-mcp-server 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。