claude-obsidian

claude-obsidian

Connects Claude Desktop to an Obsidian vault, enabling natural language management of PM documents like PRDs, Jira notes, meeting notes, and ideas with automatic folder structuring and full-text search.

Category
访问服务器

README

claude-obsidian MCP

A Model Context Protocol (MCP) server that connects Claude Desktop to your Obsidian vault — making Obsidian the single source of truth for all your PM work: PRDs, processes, Jira notes, meeting notes, and ideas.


What This Enables

Once installed, you can talk to Claude naturally and it will automatically manage your Obsidian notes:

Say to Claude What happens
"Create a PRD for the new onboarding flow" Creates a structured PRD in PRDs/
"Log notes for PROJ-123, it's about payment timeout" Creates Jira/PROJ-123.md with full context
"Create meeting notes for today's sprint planning" Creates a structured meeting note in Meetings/
"Capture this thought: we should rethink the checkout UX" Saves to Ideas/ with timestamp
"Document the deployment process" Creates a process SOP in Processes/
"Search my notes for authentication" Full-text search across your entire vault
"Show me my vault overview" Lists all folders and note counts
"Set up my vault structure" Creates all folders + index notes in one shot

Prerequisites

1. Obsidian + Local REST API Plugin

  1. Open Obsidian
  2. Go to Settings → Community plugins → Browse
  3. Search for "Local REST API" and install it
  4. Enable it, then go to Settings → Local REST API
  5. Copy the API Key shown there — you'll need it in Step 3 below
  6. Leave Obsidian open while using Claude (the plugin serves on localhost:27124)

Note: Your vault is at /Users/harunzeybek/Documents

2. Node.js

Requires Node.js 18 or later. Check with:

node --version

Installation

Step 1 — Clone & Build

git clone https://github.com/harunzybk/claude-obsidian.git
cd claude-obsidian
npm install
npm run build

Step 2 — Note the full path to the built server

pwd
# e.g. /Users/harunzeybek/Repositories/claude-obsidian

The server binary is at: <that path>/dist/index.js

Step 3 — Configure Claude Desktop

Open your Claude Desktop config file:

open ~/Library/Application\ Support/Claude/claude_desktop_config.json

Add the following inside the "mcpServers" object (replace YOUR_API_KEY with the key from Step 1):

{
  "mcpServers": {
    "obsidian": {
      "command": "node",
      "args": ["/Users/harunzeybek/Repositories/claude-obsidian/dist/index.js"],
      "env": {
        "OBSIDIAN_API_KEY": "YOUR_API_KEY",
        "OBSIDIAN_VAULT_PATH": "/Users/harunzeybek/Documents",
        "OBSIDIAN_USE_HTTPS": "true"
      }
    }
  }
}

If the file doesn't exist yet, create it with the full content above.

Step 4 — Restart Claude Desktop

Quit and reopen Claude Desktop. You should see "obsidian" listed as a connected MCP server (look for the 🔌 icon or check Settings → Developer).

Step 5 — Initialize Your Vault Structure

In Claude Desktop, say:

"Set up my Obsidian vault structure"

Claude will create all folders and index notes automatically.


Available Tools

Note Operations

Tool Description
create_note Create a new note at any path
read_note Read a note's full content
update_note Replace a note's content
append_to_note Add content to the end of a note
delete_note Delete a note
list_notes List files in a folder

Search

Tool Description
search_notes Full-text search across the vault
search_by_tag Find notes by Obsidian #tag

Vault Management

Tool Description
list_folders List folders
create_folder Create a new folder
get_vault_overview Top-level structure + note counts

PM Templates

Tool Description
create_prd Structured PRD with goals, requirements, success metrics
create_process_doc SOP / process documentation
log_jira_note Rich Jira ticket context notes
capture_thought Quick idea / brain dump
create_meeting_note Meeting notes with agenda + action items
create_project_note Project overview and tracking
setup_vault_structure Initialize all folders + index notes

Vault Folder Structure

Your Vault (Documents/)
├── Home.md               ← Start here — links to everything
├── PRDs/                 ← Product Requirements Documents
├── Processes/            ← SOPs and process documentation
├── Jira/                 ← Jira ticket context notes
├── Meetings/             ← Meeting notes (YYYY-MM-DD-title.md)
├── Ideas/                ← Quick thoughts and brain dumps
├── Projects/             ← Project tracking notes
└── Resources/            ← Reference materials

Troubleshooting

Claude says it can't connect to Obsidian

  • Make sure Obsidian is open
  • Check that "Local REST API" plugin is enabled in Obsidian
  • Verify the API key in your claude_desktop_config.json is correct

"Cannot find module" error

  • Run npm run build again in the project folder
  • Make sure the path in claude_desktop_config.json points to dist/index.js, not src/index.ts

HTTPS certificate error

  • Set "OBSIDIAN_USE_HTTPS": "false" in your config (HTTP mode)

Development

npm run dev      # Watch mode — recompiles on change
npm run build    # Production build
npm start        # Run the compiled server

License

MIT © harunzybk

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选