AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Mcp Obsidian

mcp-fazer-ai-mcp-obsidian · by fazer-ai

MCP server for Obsidian (TypeScript + Bun)

No reviews yet
0 installs
51 views
0.0% view→install

Install

$ agentstack add mcp-fazer-ai-mcp-obsidian

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-fazer-ai-mcp-obsidian)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
8mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mcp Obsidian? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MCP server for Obsidian (TypeScript + Bun)

[](https://www.npmjs.com/package/@fazer-ai/mcp-obsidian)

> A Model-Context-Protocol (MCP) server that lets Claude (or any MCP-compatible LLM) interact with your Obsidian vault through the Local REST API community plugin – written in TypeScript and runnable with bunx.


✨ Components

Tools

| Tool name | Description | |-----------|-------------| | obsidianstatus | Returns basic details about the Obsidian Local REST API server and your authentication status | | obsidiandeleteactive | Deletes the note that is currently active in the Obsidian UI | | obsidiangetactive | Retrieves the full content of the active note (Markdown or JSON view) | | obsidianpatchactive | Inserts, replaces or prepends content in the active note relative to a heading, block reference, or front-matter field | | obsidianpostactive | Appends Markdown to the end of the active note | | obsidianputactive | Replaces the entire body of the active note | | obsidiangetcommands | Lists every command available in Obsidian’s command palette | | obsidianexecutecommand | Executes a specific Obsidian command by its ID | | obsidianopenfile | Opens the given file inside Obsidian (creates it if missing); optional flag to open in a new leaf | | obsidiandeleteperiodic | Deletes the current daily / weekly / monthly / quarterly / yearly note for the requested period | | obsidiangetperiodic | Returns the content of the current periodic note for the requested period | | obsidianpatchperiodic | Inserts / replaces content in a periodic note relative to a heading, block reference, or front-matter field | | obsidianpostperiodic | Appends Markdown to the periodic note (creates it if it doesn’t exist) | | obsidianputperiodic | Replaces the entire body of a periodic note | | obsidiansearchdataview | Runs a Dataview-DQL query across the vault and returns matching rows | | obsidiansearchjsonlogic | Runs a JsonLogic query against structured note metadata | | obsidiansimplesearch | Performs a plain-text fuzzy search with optional surrounding context | | obsidianlistvaultroot | Lists all files and directories at the root of your vault | | obsidianlistvaultdirectory | Lists files and directories inside a specific folder of the vault | | obsidiandeletefile | Deletes a specific file (or directory) in the vault | | obsidiangetfile | Retrieves the content of a file in the vault (Markdown or JSON view) | | obsidianpatchfile | Inserts / replaces content in an arbitrary file relative to a heading, block reference, or front-matter field | | obsidianpostfile | Appends Markdown to a file (creates it if it doesn’t exist) | | obsidianputfile | Creates a new file or replaces the entire body of an existing file |

See Obsidian's Local REST API specifications for more details.


Example prompts

# Summarize the latest “architecture call” note
# (Claude will transparently call list_files_in_vault → get_file_contents)
Get the contents of the last “architecture call” note and summarize them.

# Find all mentions of Cosmos DB
Search for all files where “Azure CosmosDb” is mentioned and explain the context briefly.

# Create a summary note
Summarize yesterday’s meeting and save it as “summaries/2025-04-24-meeting.md”. Add a short intro suitable for e-mail.

⚙️ Configuration

Obsidian REST API key

There are two ways to pass the Obsidian API key to the server:

  1. Server config (recommended) – pass it via the env field in your Claude (or other client) MCP-server declaration:
// claude_desktop_config.json
{
  "mcpServers": {
    "@fazer-ai/mcp-obsidian": {
      "command": "bunx",
      "args": ["@fazer-ai/mcp-obsidian@latest"],
      "env": {
        "OBSIDIAN_API_KEY": "your-obsidian-api-key"
      }
    }
  }
}

>[!NOTE] > Use @fazer-ai/mcp-obsidian@latest to ensure you always run the most up to date version of the server.

  1. Alternatively, you can use an .env file. Place the key in the .env you created above. Note it must be placed in the working directory where the MCP server is running.

Environment variables

You can use the .env.example file as reference to create your own .env file.

OBSIDIAN_API_KEY=   # Obtain this from the plugin settings in Obsidian
OBSIDIAN_PROTOCOL=http
OBSIDIAN_HOST=localhost
OBSIDIAN_PORT=27123 # Port the Local REST API plugin is bound to

🛠 Development

Running local version on Claude Desktop

After cloning this repo, you can update Claude's config to run your local version of the server instead of pulling from npm. This is useful for quickly testing changes before publishing.

>[!NOTE] >Keep in mind any changes you make on the code will only take effect after restarting the Claude Desktop app.

  1. Clone this repo and run bun install to install dependencies.
  2. Update your claude_desktop_config.json to point to your local version of the server:
// claude_desktop_config.json
{
  "mcpServers": {
    "@fazer-ai/mcp-obsidian": {
      "command": "bun",
      "args": ["/path/to/repo/src/index.ts"],
      "env": {
        "OBSIDIAN_API_KEY": "your-obsidian-api-key"
      }
    }
  }
}

>[!IMPORTANT] >Note we use bun instead of bunx here.

Debugging

MCP servers talk over stdio, so normal debuggers aren’t helpful. Use the MCP Inspector:

npx @modelcontextprotocol/inspector bun /path/to/repo/src/index.ts

Open the URL it prints to step through requests (usually http://localhost:6274), inspect tool calls, and watch logs in real time.


📦 Publishing

  1. Update the version in package.json.
  2. Create GitHub release.
  3. Run bun publish.

License

MIT – see [LICENSE](LICENSE).

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.