obsidian-kb
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@obsidian-kb search for notes about MCP"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ObsidianKB MCP Server
Git-backed MCP server for creating and maintaining an Obsidian-style markdown knowledge base.
Implemented Scope
Full MCP toolset:
kb_create,kb_search,kb_get,kb_update,kb_list,kb_delete,kb_syncSeven skills and templates: bug report, API doc, component doc, changelog, ADR, guide, runbook
Frontmatter-aware markdown read/write and path safety checks
MiniSearch indexing with filters and field boosting
Git pull/commit/push workflow
obsidian-kb-mcp init [path]scaffold commandCI workflow (
.github/workflows/validate.yml)
Related MCP server: Zero Brain MCP Server
Requirements
Node.js 20+
Git installed and configured
Installation
npm install
npm run buildUsage
Run as MCP server (stdio transport):
node dist/index.jsInitialize a vault scaffold:
node dist/index.js init ./my-kbConfiguration
Create obsidian-kb.config.json in the runtime working directory:
{
"vault_path": "/absolute/path/to/obsidian-kb",
"remote": "origin",
"default_branch": "main",
"auto_pull_before_read": true,
"auto_push_after_write": true,
"default_author": "your-github-username",
"commit_prefix": "[kb]",
"search": {
"boost": {
"title": 3,
"tags": 2,
"body": 1
},
"fuzzy": 0.2
}
}Environment overrides:
OBSIDIAN_KB_VAULT_PATHOBSIDIAN_KB_AUTHOROBSIDIAN_KB_AUTO_PUSH
Scripts
npm run dev- run server in tsxnpm run build- bundle with tsupnpm run lint- biome checknpm run format- biome formatnpm test- vitest
MCP client example (Cursor)
{
"mcpServers": {
"obsidian-kb": {
"command": "node",
"args": ["/absolute/path/to/obsidianKB/dist/index.js"],
"env": {
"OBSIDIAN_KB_VAULT_PATH": "/absolute/path/to/obsidian-vault",
"OBSIDIAN_KB_AUTHOR": "your-github-username"
}
}
}
}Available Tools
7 toolskb_createD
Inputs: skill (required), title (required), content (required), tags, +3 more.
kb_deleteD
Inputs: path (required), auto_push.
kb_getD
Inputs: path (required).
kb_listD
Inputs: tags, limit, status, section, +1 more.
kb_searchD
Inputs: query (required), tags, limit, status, +1 more.
kb_syncD
Inputs: direction.
kb_updateD
Inputs: path (required), append, content, auto_push, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
The tool names suggest distinct operations: create, get, update, delete for individual notes, list for enumeration, search for querying, and sync for external integration. Some overlap exists between get/list/search, but the verbs indicate different intents.
All tools follow the exact pattern kb_<verb>, using the same namespace and consistent verb style. This creates a predictable and easily navigable API.
Seven tools is well-scoped for a knowledge base server, covering CRUD plus search, list, and sync without unnecessary redundancy.
The set covers core CRUD, querying, and synchronization for an Obsidian-style knowledge base. Missing advanced operations like move or batch, but the main lifecycle is fully represented.
Maintenance
Related MCP Connectors
Hosted MCP server for Obsidian Sync vaults: read, search, edit notes. Not affiliated with Obsidian.
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
A MCP server built for developers enabling Git based project management with project and personal…
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that provides read and write access to an Obsidian vault by interacting directly with markdown files on disk. Supports searching, listing, reading, creating, editing, and appending notes without requiring any Obsidian plugins.3,512 npmISC
- AlicenseAqualityCmaintenanceMCP server for managing a local, domain-agnostic knowledge base using Markdown notes with frontmatter. Enables AI agents to capture, read, search, link, and maintain notes with atomic writes and privacy controls.13MIT
- FlicenseCqualityDmaintenanceMCP server to query and modify an Obsidian vault or any folder of markdown files. It provides search, tag filtering, backlinks, and CRUD operations on notes, with path traversal protection.11-
- AlicenseNot gradedqualityDmaintenanceSelf-hosted MCP server for private Obsidian vaults on GitHub, exposing tools to search, read, write, and analyze Markdown notes and their link graph.MIT