Atlas / MCP servers / piotr1215 / Obsidian

ObsidianSAFE

mcp/piotr1215/obsidian-23

simple mcp server for interacting with local obsidian notes

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
10 6r · 3w · 1d
Transport
stdio
License
—
Stars
23
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](https://github.com/Piotr1215/mcp-obsidian/actions/workflows/test.yml) [](https://codecov.io/gh/Piotr1215/mcp-obsidian) [](./MCPSPECCOMPLIANCE.md)

MCP server for Obsidian that provides secure, direct file system access to vault files.

Why This Server?

Most existing Obsidian MCP servers rely on the Obsidian REST API plugin, which requires:

  • Obsidian to be installed
  • Obsidian to be running
  • The REST API plugin to be configured

This server instead works directly with Obsidian vault files on disk, making it compatible with setups using obsidian.nvim - a Neovim plugin that provides Obsidian-like features without requiring the Obsidian app.

Logseq and Foam

Any folder of markdown notes works, so the server also reads Foam workspaces and file-based Logseq graphs. Point it at the workspace or graph folder.

For Logseq graphs the server also reads:

  • tags:: and other page properties at the top of a page, reported as tags and frontmatter
  • title:: as the page title, falling back to the file name, with a___b.md read as a/b
  • multi-word #[[tag name]] tags

It skips the copies Logseq keeps under logseq/bak/ and logseq/version-files/, as Logseq does.

Features

  • Direct file system access to Obsidian vaults - no Obsidian app required
  • Security-first design with path traversal prevention and input validation
  • High performance with execution time tracking and
Read from source at commit 83230cc1babfOBSERVED · 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.

claude-code
claude mcp add obsidian-mcp-filesystem -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "obsidian-mcp-filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (10)

6 read · 3 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
append-notewriteAppend content to an existing note or create a new note. Unlike write-note which overwrites, this preserves existing content and adds new content at the end or under a specific heading.
delete-notedestructiveDelete a note
discover-mocswriteRECOMMENDED: Start here to explore the vault! Discover MOCs (Maps of Content) - organizational hub notes tagged with #moc that link to related content. MOCs provide a high-level map of the vault\
get-note-metadatareadGet metadata for a specific note or all notes in the vault
list-notesreadList all notes in the vault or a specific directory
read-notereadRead the content of a specific note
search-by-tagsreadSearch for notes by tags (supports frontmatter, Logseq tags:: properties, inline #tags and #[[multi word]] tags)
search-by-titlereadSearch for notes by title: the first H1, else a title property (YAML or Logseq title::), else the file name
search-vaultreadSearch for content in Obsidian vault notes. CRITICAL: Multiple space-separated terms default to AND (all required). Use OR for better results:
write-notewriteCreate or update a 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
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (8)

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
LOWInventory / provenance · inv.suspicious_name · CWE-1104
tests/text-response-payload.test.js
text-response-payload.test.js
Why it matters. member named after an attack tool
Fix. remove or justify
LOWFilesystem / path · fs.system_paths · CWE-22, CWE-59
tests/validation.test.js:48
const result = validatePathWithinBase(basePath, '/etc/passwd');
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/validation.test.js:35
'../../etc/passwd',
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/validation.test.js:36
'folder/../../etc/passwd',
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
tests/validation.test.js:37
'./../../../etc/passwd'
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, glob, @stryker-mutator/core, @stryker-mutator/vitest-runner, @types/node, @vitest/coverage-v8, vitest
Why it matters. 7 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass, no_license.

Audited 2026-10-09 · audit v0.4.1 · source sha 83230cc1babffull audit observations/trust-audit/mcp-server/piotr1215__obsidian-23.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-0983230cc1babfSAFEB89first audit
06

Questions

What is the Obsidian MCP server?

simple mcp server for interacting with local obsidian notes

What tools does Obsidian expose?

10 in total: 6 read-only, 3 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?

No credential environment variables were found in its source, so it appears to need none.

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-filesystem at 0.1.0.

How current is this page?

The grade is for one exact copy of the source (83230cc1babf), read on 2026-10-09. The repository is watched and re-audited when it changes.

Advertisement