Obsidian Mcp Plugin

High-performance Model Context Protocol (MCP) server for Obsidian that provides AI tools with direct vault access through semantic operations and HTTP transport.

aaronsb
作者 aaronsb
AI 与机器学习 · MIT · TypeScript · 更新时间: 3 months ago
288
星标
24
Forks
已验证
A
安全:
优秀
A
质量:

Obsidian MCP Plugin

GitHub stars GitHub forks Downloads Latest Release License

Give AI semantic agency over your knowledge graph

This plugin connects your Obsidian vault to AI assistants through MCP (Model Context Protocol), giving them the ability to understand and navigate your notes as a connected knowledge graph, not just isolated files. Through semantic hints and graph traversal, AI gains the agency to explore concepts, follow connections, and synthesize information across your entire vault.

MCP (Model Context Protocol) is the open standard that lets AI assistants interact with external tools and data sources. This plugin works with any MCP-compatible client including:

Why Semantic MCP?

Traditional file access gives AI a narrow view - one document at a time. This plugin transforms that into semantic agency:

Quick Start

Prerequisites: You need an MCP-compatible AI client like Claude Desktop, Claude Code, or Continue.dev.

1. Install the Plugin

Via Obsidian Community Plugins (coming soon)

Via BRAT (for beta testing)

2. Configure Your AI Client

Claude Code

claude mcp add --transport http obsidian http://localhost:3001/mcp --header "Authorization: Bearer YOUR_API_KEY"

Claude Desktop, Cline, and other MCP clients

{
  "mcpServers": {
    "obsidian-vault": {
      "transport": {
        "type": "http",
        "url": "http://localhost:3001/mcp",
        "headers": {
          "Authorization": "Bearer YOUR_API_KEY"
        }
      }
    }
  }
}

Copy the ready-to-use config with your API key from the plugin settings page.

3. Start Using

Once connected, simply chat with your AI assistant about your notes! For example:

Your AI assistant now has these capabilities:

Core Tools

The plugin provides 8 semantic tool groups that give AI comprehensive vault access:

Tool Purpose Key Actions
📁 vault File operations list, read, create, search, move, split, combine
✏️ edit Content modification window editing, append, patch sections
👁️ view Content display view files, windows, active note
🕸️ graph Link navigation traverse, find paths, analyze connections
💡 workflow Contextual hints suggest next actions based on state
📊 dataview Query notes Execute DQL queries (if installed)
🗃️ bases Database views Query and export Bases (if available)
ℹ️ system Vault info Server status, commands, web fetch

Documentation

Detailed documentation for each tool and feature:

The Semantic Advantage

This plugin doesn't just give AI access to files - it provides semantic understanding:

Example: Research Assistant

User: "Summarize my research on machine learning optimization"

AI uses semantic tools to:
1. Search for notes with ML optimization concepts
2. Traverse graph to find related papers and techniques  
3. Follow backlinks to discover applications
4. Synthesize findings from multiple connected notes

Example: Knowledge Explorer

User: "What connections exist between my notes on philosophy and cognitive science?"

AI uses graph tools to:
1. Find notes tagged with both topics
2. Analyze shared concepts via graph traversal
3. Identify bridge notes that connect domains
4. Map the conceptual overlap

Features

Semantic Search

Graph Intelligence

Content Operations

Integration

Plugin Settings

Access settings via: Settings → Community plugins → Semantic MCP

Key configuration options:

Support

License

MIT

🔓 登录解锁更多
使用 GitHub 登录