ObsidianSAFE
A server to connect local Obisdian instances and remote vaults with Desktop AI tools like Claude and ChatGPT Desktop
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://github.com/YOUR_USERNAME/obsidian-mcp/actions/workflows/test.yml)
A comprehensive Model Context Protocol (MCP) server for Obsidian that provides powerful vault access, knowledge graph analysis, and advanced integration features.
📚 Documentation
- Quick Start Guide - Get up and running in 5 minutes
- Claude Desktop Setup - Connect to Claude Desktop
- Vault Types Explained - Understanding local/remote/API configurations
- Testing Guide - Running tests and contributing
- API Documentation - Complete tool reference
Features
🗂️ Multi-Vault Support
- Local Vaults: Direct file system access with real-time file watching
- Remote Vaults: HTTP/REST API integration with automatic sync
- Seamless switching between multiple vaults
🔗 Knowledge Graph
- Build and analyze complete knowledge graphs from your notes
- Find related notes based on links, tags, and content similarity
- Analyze graph structure (hubs, orphan notes, clusters)
- Suggest potential links between related notes
- Path finding between notes
🔍 Advanced Search
- Full-text search across all notes
- Filter by tags, folders, and metadata
- Server-side and client-side search strategies
📝 Note Operations
- Read, create, update, and delete notes
- Parse Obsidian-flavored markdown with frontmatter
- Extract and track internal links, embeds, and tags
- Automatic backlink generation
📊 Analytics
- Vault statistics (note count, word count, link count)
- Tag usage analysis
- Folder structure insights
🎯 Obsidian Integration
- Optional integration with community "Local REST API" plugin
- Open notes directly in Obsidian app
- Execute Obsidian commands
- Create daily notes
- Access to Obsidian URI protoco
a3fbde076217OBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add obsidian-mcp-server --env OBSIDIAN_API_KEY=${OBSIDIAN_API_KEY} --env OBSIDIAN_REMOTE_API_KEY=${OBSIDIAN_REMOTE_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"obsidian-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"OBSIDIAN_API_KEY": "${OBSIDIAN_API_KEY}",
"OBSIDIAN_REMOTE_API_KEY": "${OBSIDIAN_REMOTE_API_KEY}"
}
}
}
}Exposed tools (29)
17 read · 11 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
add_canvas_edge | write | Add an edge between nodes in canvas |
add_canvas_node | write | Add a node to canvas (file, text, link, or group) |
analyze_graph | read | Analyze the knowledge graph structure |
create_canvas | write | Create a new canvas file |
create_daily_note | write | Create a daily note for a specific date |
create_from_template | write | Create a new note from a template |
create_monthly_note | write | Create a monthly note for a specific date |
create_note | write | Create a new note |
create_weekly_note | write | Create a weekly note for a specific date |
create_yearly_note | write | Create a yearly note for a specific year |
dataview_query | write | Execute a Dataview-style query on notes |
delete_note | destructive | Delete a note |
get_canvas | read | Get canvas file contents |
get_knowledge_graph | read | Get the complete knowledge graph for a vault |
get_note | read | Get a note by its path |
get_note_metadata | read | Get metadata for a specific note |
get_periodic_note_info | read | Get info about a periodic note |
get_related_notes | read | Get notes related to a specific note |
get_unique_values | read | Get all unique values for a metadata field |
get_vault_stats | read | Get statistics about a vault |
list_canvas_files | read | List all canvas files in vault |
list_folders | read | List all folders in a vault |
list_periodic_notes | read | List periodic notes of a specific type |
list_tags | read | List all tags in a vault |
list_templates | read | List all available templates |
render_template | read | Render a template with variables |
search_notes | read | Search for notes in a vault |
suggest_links | read | Suggest related notes for linking |
update_note | write | Update an existing note |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (2 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (3)
delete_note
import type { Note } from '../../types/index.js';Gates applied: no_behavioural_pass, no_license.
a3fbde076217full audit observations/trust-audit/mcp-server/bazylhorsey__obsidian-22.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | a3fbde076217 | SAFE | B | 89 | first audit |
Questions
What is the Obsidian MCP server?
A server to connect local Obisdian instances and remote vaults with Desktop AI tools like Claude and ChatGPT Desktop
What tools does Obsidian expose?
29 in total: 17 read-only, 11 that write, and 1 that can delete or overwrite (delete_note). Every one is listed on this page with its risk.
Is Obsidian safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Obsidian need?
It reads OBSIDIAN_API_KEY and OBSIDIAN_REMOTE_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Obsidian run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as obsidian-mcp-server at 1.0.0.
How current is this page?
The grade is for one exact copy of the source (a3fbde076217), read on 2026-10-09. The repository is watched and re-audited when it changes.