About
Obsidian Vault Management Server integrates the Obsidian note-taking application with AI assistants through the Model Context Protocol. It enables programmatic management of Markdown-based knowledge bases stored in Obsidian vaults. Key capabilities include: - Template-driven note creation with variable substitution for consistent note formatting - Reading and updating existing notes within the vault - Tag management and full-text file search across the knowledge base - Advanced link management including wiki link creation between notes - Broken link detection and repair suggestions to maintain vault integrity - Backlink analysis to understand note relationships and graph structure - Automatic Map of Contents (MOC) generation for organizing related notes - Directory and file system navigation within the vault structure
README
Obsidian MCP Server
English | 日本語
ObsidianとModel Context Protocol (MCP)を連携させるサーバーです。
機能
基本機能
リンク管理機能(高優先度機能)
セットアップ
1. 依存関係のインストール:
npm install
2. TypeScriptのコンパイル:
npm run build
3. 環境変数の設定:
export OBSIDIAN_VAULT_PATH="/path/to/your/obsidian/vault"
export OBSIDIAN_TEMPLATE_DIR="TEMPLATE"
注意: OBSIDIAN_VAULT_PATHは実際のObsidianボルトのパスに置き換えてください。4. サーバーの起動:
npm start
MCP設定方法
Claude Desktop での設定
1. 設定ファイルの場所を確認:
- macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
- Windows: %APPDATA%\Claude\claude_desktop_config.json
- Linux: ~/.config/claude/claude_desktop_config.json
2. プロジェクトのパスを確認:
pwd
このコマンドでプロジェクトの絶対パスを確認してください。3. Node.jsのパスを確認:
which node
このコマンドでNode.jsのパスを確認してください。4. 設定ファイルを編集: 設定ファイルに以下の設定を追加してください:
基本設定:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/path/to/obsidian-mcp-server/dist/server.js"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/obsidian/vault",
"OBSIDIAN_TEMPLATE_DIR": "TEMPLATE"
}
}
}
}
設定例:
{
"mcpServers": {
"obsidian": {
"command": "node",
"args": ["/Users/username/Projects/obsidian-mcp-server/dist/server.js"],
"env": {
"OBSIDIAN_VAULT_PATH": "/Users/username/Documents/MyVault",
"OBSIDIAN_TEMPLATE_DIR": "TEMPLATE"
}
}
}
}
トラブルシューティング用(Node.jsパスを明示的に指定):
{
"mcpServers": {
"obsidian": {
"command": "/usr/local/bin/node",
"args": ["/path/to/obsidian-mcp-server/dist/server.js"],
"env": {
"OBSIDIAN_VAULT_PATH": "/path/to/your/obsidian/vault",
"OBSIDIAN_TEMPLATE_DIR": "TEMPLATE"
}
}
}
}
重要な置き換えポイント:
- /path/to/obsidian-mcp-server/dist/server.js → 実際のプロジェクトパス
- /path/to/your/obsidian/vault → 実際のObsidianボルトのパス
- /usr/local/bin/node → which nodeで確認したNode.jsのパス
5. Claude Desktop を再起動
他のMCPクライアントでの設定
他のMCPクライアントを使用する場合は、以下の設定を参考にしてください:
node /path/to/obsidian-mcp-server/dist/server.jsOBSIDIAN_VAULT_PATH: Obsidianボルトのパス
- OBSIDIAN_TEMPLATE_DIR: テンプレートディレクトリ名利用可能なツール
1. create_note_from_template
テンプレートを使用してObsidianノートを作成します。パラメータ:
templateName (必須): TEMPLATEフォルダ内のテンプレート名(.md拡張子なし)variables (必須): テンプレート内の変数を置換するためのオブジェクトoutputPath (必須): ノートの保存先パス(vault相対パス)overwrite (オプション): 既存ファイルを上書きするかどうか(デフォルト: false)2. list_templates
TEMPLATEフォルダ内の利用可能なテンプレート一覧を取得します。パラメータ: なし
3. read_note
Obsidianノートの内容を読み込みます。パラメータ:
notePath (必須): ノートのパス(vault相対パス)4. update_note
Obsidianノートの内容を更新します。パラメータ:
notePath (必須): ノートのパス(vault相対パス)content (必須): 新しいノートの内容5. list_tags
Obsidianボルト内のすべてのタグを一覧表示します。パラメータ: なし
6. rename_tag
Obsidianボルト内のタグを一括でリネームします。パラメータ:
oldTag (必須): 変更前のタグ名(#付きまたは#なし)newTag (必須): 変更後のタグ名(#付きまたは#なし)7. search_files
Obsidianボルト内のファイルとディレクトリを検索します。パラメータ:
searchPath (オプション): 検索を開始するパス(vault相対パス、省略時はルート)pattern (オプション): 検索パターン(ファイル名の一部、省略時は全て)リンク管理ツール(高優先度機能)
8. link_notes
ノート間にウィキリンクを作成します。パラメータ:
sourceNote (必須): リンク元ノートパス(vault相対パス)targetNote (必須): リンク先ノートパス(vault相対パス)linkText (オプション): 表示テキスト(省略時はファイル名)insertPosition (オプション): 挿入位置('end'、'cursor'、または行番号、デフォルト: 'end')機能:
[[ターゲット|表示テキスト]] で挿入9. find_broken_links
壊れたリンクの検出と修復支援を行います。パラメータ: なし
機能:
[[]] とMarkdownリンク []() の両方対応戻り値:
{
"brokenLinks": [
{
"sourceFile": "notes/example.md",
"linkText": "Missing Note",
"targetPath": "missing-note",
"lineNumber": 15,
"suggestions": ["similar-note", "missing-note-backup"]
}
],
"totalCount": 1
}
10. analyze_backlinks
バックリンク分析とグラフ構造の把握を行います。パラメータ:
targetNote (必須): 分析対象のノートパス(vault相対パス)機能:
戻り値:
{
"targetNote": "important-concept.md",
"backlinks": [
{
"sourceFile": "notes/research.md",
"context": "この概念は[[important-concept]]として知られている",
"linkType": "wiki"
}
],
"relatedNotes": ["notes/research.md"],
"metrics": {
"popularity": 5,
"centrality": 0.1
}
}
11. create_moc
Map of Contents(目次ノート)を自動生成します。パラメータ:
title (必須): MOCのタイトルtargetPath (必須): MOCの保存先パス(vaulRelated MCP Servers
AI Research Assistant
hamid-vakilzadeh
AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar
Linkup
LinkupPlatform
Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages
Math-MCP
EthanHenrickson
Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support