Skip to content

Local REST API with MCP

Unlock your automation needs by interacting with your notes over a secure REST API.

The above warnings are based on limited information and might not always be accurate.

Data

IDobsidian-local-rest-api
AuthorAdam Coddington
Minimum Obsidian Version1.4.0
Official Release Date2022-02-05
Last update2026-07-11

Last Refresh

Obsidian Stats last refreshed the data behind this page on Jul 13, 2026.

Community plugin snapshotJul 13, 2026
Repository clonelast successful checkout Jul 13, 2026
Release acquisitionrelease metadata checked Jul 13, 2026; latest main.js acquired

Quick Links

Changes

DateChanged PropertyOld ValueNew Value
2022-02-05Plugin Added
2026-05-12authorAdam Coddingtoncoddingtonbear
2026-05-15nameLocal REST APILocal REST API & MCP Server
2026-05-16authorcoddingtonbearAdam Coddington
2026-05-27Plugin Removed
2026-05-27Plugin Re-Added
2026-05-27nameLocal REST API & MCP ServerLocal REST API with MCP

Repository Data

LicenseMIT in package.json
MIT in LICENSE file
Package Managernpm
Uses TypescriptYes
Installed Bundlersesbuild
Installed Testing FrameworksJest
Has Test FilesYes
Latest Release main.js Size3.84 MB
Detected ES VersionES2020
Probably MinifiedNo
main.js API Findings12 disclosures
Uses BRAT beta releasesNo
Dependencies@modelcontextprotocol/sdk, @types/response-time, cors, express, glob-to-regexp, json-logic-js, markdown-patch, matcher, mime-types, minimatch, node-forge, obsidian-daily-notes-interface, obsidian-dataview, query-string, response-time, uuid
Dev Dependencies@eslint/js, @types/cors, @types/express, @types/glob-to-regexp, @types/jest, @types/mime-types, @types/node, @types/node-forge, @types/supertest, @types/uuid, esbuild, eslint, eslint-plugin-obsidianmd, jest, obsidian, supertest, ts-jest, tslib, typescript, typescript-eslint, zod

main.js API Findings

These conservative findings come from static analysis of the latest release main.js. The table includes warnings and high-confidence informational findings; lower-confidence informational findings are omitted to reduce false positives. Warnings indicate usage of potentially risky APIs, but such APIs can be used safely if handled with care.

DisclosureDetected From
Adapter File AccessUses adapter-level vault filesystem APIs
Dynamic Code Or Remote CodeEvaluates dynamic code or injects scripts
Full Vault AccessEnumerates vault files
Global Handlers Or TimersRegisters events, DOM handlers, or intervals
Metadata AccessReads Obsidian metadata cache
Network AccessUses Node HTTP modules
Node Filesystem AccessUses direct Node filesystem-related modules
Note Content AccessReads vault files
Private Network AccessReferences localhost or private-network addresses
Process Or Shell AccessUses Node process or subprocess APIs
Vault File WriteRenames, deletes, trashes, or copies vault files, Writes vault files
Worker UsageUses Worker APIs
FindingTypeConfidenceEvidence
Evaluates dynamic code or injects scriptsWarningHighFunction (3), dynamic_code:function_constructor (1)
Uses direct Node filesystem-related modulesWarningHighbuffer (7), fs (9), path (12), stream (6)
Uses Node process or subprocess APIsWarningHighprocess.env (33)
References localhost or private-network addressesWarningMedium0.0.0.0 (2), 127.0.0.1 (9)
Renames, deletes, trashes, or copies vault filesWarningHighapp.fileManager.renameFile (1)
Uses persistent browser storageInfoHighlocalStorage (4)
Uses Worker APIsInfoHighWorker (2)
Registers events, DOM handlers, or intervalsInfoHighsetTimeout (6)
Reads Obsidian metadata cacheInfoHighapp.metadataCache.getFileCache (5), app.metadataCache (11), app.metadataCache.resolvedLinks (2)
References URLs or constructs URL objectsInfoHighhttp:// (18), https:// (32), URL (6)
Uses Node HTTP modulesInfoHighhttp (6), https (1)
Persists plugin settings or dataInfoHighthis.loadData (1), this.saveData (1)
Registers plugin settings UIInfoHighthis.addSettingTab (1), Setting (21), obsidian.Setting (21)
Accesses Obsidian vault APIsInfoHighapp.vault (34)
Enumerates vault filesInfoHighapp.vault.getFiles (2), app.vault.getMarkdownFiles (3)
Opens or creates files through workspace or file manager APIsInfoHighapp.workspace.openLinkText (1)
Reads vault filesInfoHighapp.vault.cachedRead (2), app.vault.read (3)
References Obsidian URI linksInfoHighobsidian:// (3)
Uses adapter-level vault filesystem APIsInfoHighapp.vault.adapter (15)
Writes vault filesInfoHighapp.vault.createFolder (3)
Accesses Obsidian workspace APIsInfoHighapp.workspace (7)
Accesses the active file or editorInfoHighapp.workspace.getActiveFile (5)

The above data may not be accurate and contain errors. For more information refer to the page about data collection.

Lines of Code

The plugin has a total of 8510 lines of code. The following chart shows the lines of code split by programming language.

Downloads

The following chart shows the total number of downloads of the plugin over time. The second chart shows the delta of downloads per week, which is the number of new downloads per week. New version releases are marked with vertical lines.

Version History

VersionRelease DateNote
1.0.12022-01-27Released while not listed
1.0.22022-01-28Released while not listed
1.0.32022-01-28Released while not listed
1.0.42022-01-28Released while not listed
1.0.52022-01-30Released while not listed
1.0.82022-01-31Released while not listed
1.0.92022-01-31Released while not listed
1.0.102022-02-06None
1.0.112022-02-07None
1.0.122022-02-07None
1.1.02022-02-11None
1.2.02022-02-24None
1.2.12022-02-25None
1.3.02022-02-26None
1.3.12022-02-26None
1.3.42022-04-26None
1.3.52022-04-26None
1.3.92022-05-29None
1.4.02022-10-31None
1.5.12022-11-06None
1.5.22023-01-08None
1.6.02023-06-16None
1.6.12023-06-16None
2.0.32023-12-24None
2.0.42023-12-29None
2.0.62024-01-30None
2.1.02024-02-13None
2.1.12024-02-17None
2.2.02024-03-06None
2.2.12024-03-06None
2.2.22024-03-06None
2.3.02024-03-08None
2.4.12024-06-17None
2.4.32024-06-19None
2.5.42024-08-01None
3.0.12024-11-17None
3.0.22024-11-17None
3.0.32024-11-19None
3.0.42024-11-19None
3.0.52025-03-09None
3.0.62025-03-09None
3.1.02025-03-17None
3.2.02025-05-25None
3.3.02026-01-08None
3.4.02026-01-11None
3.4.12026-01-11None
3.4.22026-01-13None
3.4.32026-02-07None
3.4.42026-02-22None
3.4.52026-03-07None
3.4.62026-03-07None
3.5.02026-03-19None
3.6.02026-04-06None
3.6.12026-04-09None
3.6.22026-05-06None
4.0.02026-05-15None
4.0.12026-05-16None
4.0.22026-05-17None
4.0.32026-05-21None
4.1.02026-05-22None
4.1.12026-05-27None
4.1.22026-05-29None
4.1.32026-06-04None
4.1.42026-07-10None
4.1.52026-07-11None
4.1.62026-07-11None
4.1.72026-07-11None

Blacklisted versions are versions that are known to cause major issues or contain security concerns and have thus been blacklisted by the Obsidian team. Obsidian will disable plugins on startup whose installed version is blacklisted. Released while not listed versions happened outside the period where the plugin was present in the community plugin list and are excluded from aggregate release statistics.