SuperAPIAI Directory

kika-obsidian-mcp

github.com · AI developer platforms

kika-obsidian-mcp is a local-first MCP server for Obsidian vaults, allowing MCP-enabled clients to directly read and write Markdown files on disk. It requires no Obsidian plugin, no API Key, no cloud service, and does not require Obsidian to be running in the background. Main capabilities include reading and searching notes, creating and updating notes, managing folders, extracting tags, backlinks and wikilinks, and providing create, update, read, list, and delete support with schema validation for Obsidian Bases (.base files). The project also provides security options such as read-only mode, backups before writes, and path traversal protection, suitable for personal knowledge bases, project logs, daily notes, and Markdown-first workflows.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsAPI

About this tool

Purpose kika-obsidian-mcp is a local-first MCP server for allowing MCP clients to directly operate on Markdown files in an Obsidian vault. It does not depend on an Obsidian plugin, API Key, or cloud service, and does not require Obsidian to be running in the background. The project is an independent open-source project and is not affiliated with Obsidian, Anthropic, OpenAI, or any MCP client.

Main capabilities Note operations: read a single note by its vault-relative path; create new notes with optional metadata; update note content or frontmatter; delete Markdown notes; list notes in a vault or folder; search notes by title, content, and tags. Tags and links: list unique tags from frontmatter and inline tags; find backlinks to a note; extract wikilinks from notes. Folder management: create folders in the vault; return the vault's folder tree structure. Bases support: dedicated tools for Obsidian Bases (.base files), including create, update, read, list, and delete. Before writing, it validates against the official Bases schema to avoid writing files that Obsidian would silently reject; error messages indicate the specific path. It supports four view modes: table, list, cards, and map, which can be mixed within a single base; map views from the Maps community plugin preserve markers and zoom settings across read-write round trips.

Usage Requires Python 3.10 or later, and an Obsidian vault stored as local Markdown files. The project provides install.sh, which can create a local virtual environment, install dependencies, validate against the vault, and output paste-ready configuration for the selected client; client parameters include claude, claude-desktop, codex, cursor, cline, grok, with all by default. Manual configuration is also possible: the server is a local stdio MCP server; point the client to the Python in the virtual environment and server.py, set the vault path via environment variables, then restart or reconnect the client. Claude Desktop, Cursor, and Cline use the mcpServers configuration block; Codex or Grok Use TOML configuration. All note paths resolve relative to OBSIDIAN_VAULT_PATH; absolute paths and ../ path traversal are rejected.

Security and limitations You can set OBSIDIAN_READ_ONLY=true to enter read-only mode, rejecting write operations such as create, update, delete, and create folder, and it also blocks Bases write tools. You can set OBSIDIAN_BACKUP_ON_WRITE=true to copy existing notes and .base files to .obsidian-mcp-backups/ before updating or deleting. Delete operations are limited by extension: delete_note only deletes .md, delete_base only deletes .base. The server does not make external network calls. Corrupted YAML frontmatter will not cause listing or search to fail; notes remain readable, with empty metadata.

Current limitations include: search is simple substring search, not semantic or indexed search; no Obsidian command palette or plugin API access is provided; simultaneous edit conflicts are not handled; no template expansion; no awareness of sync service providers.

Use cases Suitable for users who use MCP clients (such as Claude Code, Claude Desktop, Cursor, Cline, Codex, Grok) and want secure local access to an Obsidian vault; developers who prefer file-system-based Obsidian automation over the Local REST API plugin; users who want agents to create and edit Obsidian Bases; and personal knowledge bases, project logs, daily notes, task notes, and Markdown-first workflows. The project also includes common workflow documentation, copyable note templates, and lightweight agent workflow skill instructions.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools