MCP server for Obsidian

MCP server for Obsidian

mcp-obsidian-fazer-ai•byfazer-ai

A Model-Context-Protocol (MCP) server that lets Claude or any MCP-compatible LLM interact with an Obsidian vault.

License: MIT•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •It provides tools to retrieve, patch, append to, create, replace, and delete files in an Obsidian vault.
  • •It can search a vault with Dataview DQL queries, JsonLogic metadata queries, and plain-text fuzzy search.
  • •It supports daily, weekly, monthly, quarterly, and yearly periodic notes, including retrieving, patching, appending to, replacing, and deleting them.
  • •It can list and execute Obsidian command-palette commands by ID.

BEST FOR

  • •Summarizing an existing note such as an architecture call note.
  • •Finding all files that mention a term and briefly explaining the context.
  • •Creating a meeting summary note at a specified vault path with a short introductory text.

ABOUT MCP-OBSIDIAN-FAZER-AI

MCP server for Obsidian is cataloged as an MCP server attributed to fazer-ai. A Model-Context-Protocol (MCP) server that lets Claude or any MCP-compatible LLM interact with an Obsidian vault. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for Obsidian are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which periodic-note periods are supported?

The server supports daily, weekly, monthly, quarterly, and yearly periodic notes.

How can notes be searched in the vault?

It supports Dataview-DQL queries, JsonLogic queries against structured metadata, and plain-text fuzzy search with optional context.

上游原版 README

在 GitHub 查看同一版本原文

README.md · c11188c8af56 · 采集于 2026-11-13 08:09:48 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

MCP server for Obsidian (TypeScript + Bun)

NPM Version

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 nameDescription
obsidian_statusReturns basic details about the Obsidian Local REST API server and your authentication status
obsidian_delete_activeDeletes the note that is currently active in the Obsidian UI
obsidian_get_activeRetrieves the full content of the active note (Markdown or JSON view)
obsidian_patch_activeInserts, replaces or prepends content in the active note relative to a heading, block reference, or front-matter field
obsidian_post_activeAppends Markdown to the end of the active note
obsidian_put_activeReplaces the entire body of the active note
obsidian_get_commandsLists every command available in Obsidian’s command palette
obsidian_execute_commandExecutes a specific Obsidian command by its ID
obsidian_open_fileOpens the given file inside Obsidian (creates it if missing); optional flag to open in a new leaf
obsidian_delete_periodicDeletes the current daily / weekly / monthly / quarterly / yearly note for the requested period
obsidian_get_periodicReturns the content of the current periodic note for the requested period
obsidian_patch_periodicInserts / replaces content in a periodic note relative to a heading, block reference, or front-matter field
obsidian_post_periodicAppends Markdown to the periodic note (creates it if it doesn’t exist)
obsidian_put_periodicReplaces the entire body of a periodic note
obsidian_search_dataviewRuns a Dataview-DQL query across the vault and returns matching rows
obsidian_search_json_logicRuns a JsonLogic query against structured note metadata
obsidian_simple_searchPerforms a plain-text fuzzy search with optional surrounding context
obsidian_list_vault_rootLists all files and directories at the root of your vault
obsidian_list_vault_directoryLists files and directories inside a specific folder of the vault
obsidian_delete_fileDeletes a specific file (or directory) in the vault
obsidian_get_fileRetrieves the content of a file in the vault (Markdown or JSON view)
obsidian_patch_fileInserts / replaces content in an arbitrary file relative to a heading, block reference, or front-matter field
obsidian_post_fileAppends Markdown to a file (creates it if it doesn’t exist)
obsidian_put_fileCreates 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.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for Obsidian from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-obsidian-fazer-ai)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation