Atlas / MCP servers / bazylhorsey / Obsidian

ObsidianSAFE

mcp/bazylhorsey/obsidian-22

A server to connect local Obisdian instances and remote vaults with Desktop AI tools like Claude and ChatGPT Desktop

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
29 17r · 11w · 1d
Transport
stdio
License
—
Stars
22
01

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
Read from source at commit a3fbde076217OBSERVED · 2026-10-09
02

Connect

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-code
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]
claude-desktop
{
  "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}"
      }
    }
  }
}
03

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.

ToolRiskDescription
add_canvas_edgewriteAdd an edge between nodes in canvas
add_canvas_nodewriteAdd a node to canvas (file, text, link, or group)
analyze_graphreadAnalyze the knowledge graph structure
create_canvaswriteCreate a new canvas file
create_daily_notewriteCreate a daily note for a specific date
create_from_templatewriteCreate a new note from a template
create_monthly_notewriteCreate a monthly note for a specific date
create_notewriteCreate a new note
create_weekly_notewriteCreate a weekly note for a specific date
create_yearly_notewriteCreate a yearly note for a specific year
dataview_querywriteExecute a Dataview-style query on notes
delete_notedestructiveDelete a note
get_canvasreadGet canvas file contents
get_knowledge_graphreadGet the complete knowledge graph for a vault
get_notereadGet a note by its path
get_note_metadatareadGet metadata for a specific note
get_periodic_note_inforeadGet info about a periodic note
get_related_notesreadGet notes related to a specific note
get_unique_valuesreadGet all unique values for a metadata field
get_vault_statsreadGet statistics about a vault
list_canvas_filesreadList all canvas files in vault
list_foldersreadList all folders in a vault
list_periodic_notesreadList periodic notes of a specific type
list_tagsreadList all tags in a vault
list_templatesreadList all available templates
render_templatereadRender a template with variables
search_notesreadSearch for notes in a vault
suggest_linksreadSuggest related notes for linking
update_notewriteUpdate an existing note
04

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (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)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_note
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.no_license · CWE-1104
Why it matters. no LICENSE file and no repo licence
Fix. add a licence
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
src/services/__tests__/KnowledgeGraph.test.ts:2
import type { Note } from '../../types/index.js';

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-09 · audit v0.4.1 · source sha a3fbde076217full audit observations/trust-audit/mcp-server/bazylhorsey__obsidian-22.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-09a3fbde076217SAFEB89first audit
06

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.

Advertisement