Live survey304 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Local REST API MCP server

by coddingtonbear/obsidian-local-rest-apiMIT licenceAudited 22 Sep 2026 · source 3205801641e5

npm obsidian-local-rest-api 5.2.0streamable-http★ 2,946
!CAUTIONGrade B · 87/100 · 22 Sep 2026 · 3205801
2,946GitHub stars

Is it safe? With care — CAUTION, grade B (87/100). It exposes 7 tools: 7 read, 0 write and 0 destructive. The audit recorded 14 findings (0 critical, 0 high, 2 medium, 12 low). Maintainer's description: A secure REST API and Model Context Protocol (MCP) server for your vault.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Local REST API MCP server (coddingtonbear/obsidian-local-rest-api)”. Retrieved 22 Sep 2026. https://modelsatlas.com/mcp/coddingtonbear/local-rest-api

Trust audit

Audit 0.4.1 · full source read 22 Sep 2026

Trust score87/100!CAUTION B
0 critical0 high2 medium12 low0 info

14 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemNone observedNothing seen in the source
  • NetworkDeclared3 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainWARN 14 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner coddingtonbearUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmobsidian-local-rest-api at version 5.2.0
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit read3205801641e5The audit covers exactly this commit, read on 22 Sep 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory7 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (14)

Sorted by severity

MEDIUMHard-coded secretssecret.private_key · src/certificates.test.ts:133
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMHard-coded secretssecret.private_key · src/certificates.test.ts:136
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:1646
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
await expect(cb({ path: "a.md", destination: "../../../etc/passwd" })).rejects.toThrow(
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:1723
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
await expect(cb({ path: "a.md", destination: "../../../etc/passwd" })).rejects.toThrow(
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:2451
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
["relative traversal", "../../Ausserhalb.md"],
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:2452
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
["deep relative traversal", "../../../../some/other/writable/path/file.md"],
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/mcpHandler.test.ts:2454
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
["traversal in the middle", "notes/../../outside.md"],
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:62
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -k https://127.0.0.1:27124/
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:66
F-04 Network egressCWE-200 · CWE-319Layer L1
https://127.0.0.1:27124/vault/
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:70
F-04 Network egressCWE-200 · CWE-319Layer L1
https://127.0.0.1:27124/vault/path/to/note.md
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:74
F-04 Network egressCWE-200 · CWE-319Layer L1
https://127.0.0.1:27124/vault/path/to/note.md/heading/My%20Section
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:81
F-04 Network egressCWE-200 · CWE-319Layer L1
https://127.0.0.1:27124/vault/path/to/note.md
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.tls_off · src/integration/meta.test.ts:71
F-04 Network egressCWE-200 · CWE-319Layer L1
{ host: hostname, port: Number(port), rejectUnauthorized: false, servername: hostname },
Why
certificate verification is disabled
Fix
leave verification on
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@eslint/js, @types/cors, @types/express, @types/glob-to-regexp, @types/jest, @types/mime-types, @types/node, @types/node-forge
Why
30 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

7 declared in source · 0 destructive

7 read0 write0 destructive
ToolRiskWhat it does
custom_toolreadFirst
extension_toolreadFrom an extension
my_toolreadDoes something
notifying_toolreadFrom an extension
removable_toolreadDesc
temporary_toolreadGoes away
vault_listreadOverride

Install

Package version 5.2.0 · audited commit 3205801

Read the findings first. The most severe is Hard-coded secrets (medium) at src/certificates.test.ts.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 5.2.0. The audit covers commit 3205801 only.

claude mcp add obsidian-local-rest-api --env OBSIDIAN_API_KEY=${OBSIDIAN_API_KEY} -- npx -y [email protected]

The command pins the package version recorded in the source (5.2.0); the audit covers commit 3205801641e5. Transport: streamable-http. Reads this environment variable: OBSIDIAN_API_KEY. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 87 / 100

    Score 88 -> 87 · 3205801641e5

  2. !CAUTION B 88 / 100

    First audit · 47c34ac34b2c

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/coddingtonbear/local-rest-api/badge.svg)](https://modelsatlas.com/mcp/coddingtonbear/local-rest-api/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Local REST API MCP server

What is the Local REST API MCP server?
A secure REST API and Model Context Protocol (MCP) server for your vault.
What tools does Local REST API expose?
7 in total: 7 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Local REST API safe to connect to an agent?
With care. The audit graded it B (87/100) and found 14 things worth knowing before you trust this server, listed below with the exact line each was found on.
What credentials does Local REST API need?
It reads OBSIDIAN_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 Local REST API run?
It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as obsidian-local-rest-api at 5.2.0.
How current is this page?
The grade is for one exact copy of the source (3205801641e5), read on 2026-09-22. The repository is watched and re-audited when it changes.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.