AI integration with Obsidian vaults
## Obsidian Knowledge MCP Server: Personal Knowledge The **Obsidian Knowledge MCP Server** integrates Obsidian's powerful knowledge management system into Google Antigravity, enabling developers to build interconnected knowledge graphs through AI-assisted note-taking. ### Why Obsidian Knowledge MCP? - **Local-First**: Your notes are plain markdown files you own - **Bidirectional Links**: Create a web of interconnected notes - **Graph View**: Visualize connections between your notes - **Plugin Ecosystem**: Extend with 1000+ community plugins - **Customizable**: Themes, hotkeys, and workflows tailored to you ### Key Features #### 1. Note Operations ```javascript // Create note const note = await obsidian.createNote({ path: "Development/API Design.md", content: `# API Design Patterns ## Overview This note covers common [[REST API]] patterns... ## Related - [[Authentication]] - [[Error Handling]] #api #design #patterns` }); // Search notes const results = await obsidian.search({ query: "authentication", options: { searchContent: true, searchTags: true, searchLinks: true } }); // Get note with backlinks const noteWithLinks = await obsidian.getNote({ path: "Development/API Design.md", includeBacklinks: true, includeOutlinks: true }); ``` #### 2. Knowledge Graph Operations ```javascript // Get linked notes const connections = await obsidian.getConnections({ notePath: "Development/API Design.md", depth: 2 }); // Find orphan notes const orphans = await obsidian.findOrphans(); // Get notes by tag const taggedNotes = await obsidian.getNotesByTag({ tag: "#api", includeNested: true }); // Create daily note const daily = await obsidian.createDailyNote({ date: "2024-12-16", template: "Daily Template" }); ``` ### Configuration ```json { "mcpServers": { "obsidian": { "command": "npx", "args": ["-y", "@anthropic/mcp-obsidian"], "env": { "OBSIDIAN_VAULT_PATH": "/path/to/your/vault", "OBSIDIAN_REST_API_KEY": "your-api-key" } } } } ``` ### Use Cases **Personal Knowledge Base**: Build an interconnected second brain for development knowledge. **Technical Notes**: Capture code patterns, solutions, and learnings with linked context. **Documentation**: Create linked documentation that surfaces related information. The Obsidian Knowledge MCP Server brings networked thinking to your development workflow.
{
"mcpServers": {
"obsidian": {
"mcpServers": {
"obsidian": {
"env": {
"OBSIDIAN_REST_API_KEY": "YOUR_API_KEY",
"OBSIDIAN_REST_API_URL": "http://localhost:27123"
},
"args": [
"-y",
"@cyanheads/obsidian-mcp-server"
],
"command": "npx"
}
}
}
}
}