For Obsidian (TypeScript + Bun) MCP Server

MCP server for Obsidian (TypeScript + Bun)

Local serverstdioTypeScript

What is the For Obsidian (TypeScript + Bun) MCP Server?

MCP server for Obsidian (TypeScript + Bun)

What you get

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
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

Configuration

VariableDescriptionRequired
OBSIDIAN_API_KEYCredential the server authenticates with.Yes
OBSIDIAN_HOSTEndpoint or connection string the server talks to.Optional

Example prompts to try

  • “Use For Obsidian (TypeScript + Bun) to obsidian status.”
  • “Use For Obsidian (TypeScript + Bun) to obsidian delete active.”
  • “Use For Obsidian (TypeScript + Bun) to obsidian get active.”

Frequently asked questions

You can set the `OBSIDIAN_API_KEY` environment variable in your MCP client config (recommended) or place it in a `.env` file in the working directory.