Kioku
Provides tools to read, write, search, and manage notes in an Obsidian vault, including full-text search, tag management, frontmatter editing, and backlink navigation.
Click on "Install 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., "@Kiokusearch for notes containing 'project plan' in my vault"
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.
Kioku — persistent memory for AI agents in Obsidian
Kioku (記憶) means “memory” in Japanese.
Latest tagged server release: 2.3.0 · Documentation · Releases
Kioku is a local-first Model Context Protocol server that lets Claude Code, Codex, OpenCode, and other MCP clients continue work across fresh sessions by reading and updating structured knowledge in an Obsidian vault.
It combines typed MCP contracts, a strict vault filesystem boundary, concurrent work-session ownership, full-text and semantic retrieval, and an optional Obsidian bridge. The server supports local stdio and authenticated Streamable HTTP deployments.
The develop branch can contain verified but unreleased changes beyond the latest tag. Use generated contracts from the branch you are running.
The handoff, proven
Kioku's core claim is that one agent's work survives its process exiting, and a second, unrelated agent can pick it up cold. scripts/Kioku.HandoffDemo drives the real MCP stdio protocol end to end. Agent 1 opens a work session, records a plan, an ADR, and a bug, then closes the session. Agent 2 starts in another process and connection, calls get_project_context, retrieves the persisted work, and continues without accessing Agent 1's session. A third connection verifies both sessions afterward.
See docs/multi-agent-handoff-demo.md for the reproducible procedure and captured transcript.
Related MCP server: Grove
Why Kioku
Deterministic handoff — agents can record project context, decisions, plans, bugs, daily notes, and session handoffs.
Obsidian-native storage — Markdown and YAML frontmatter remain readable and editable without Kioku.
Safe vault access — writes stay inside the configured vault; external reads and permanent deletion require explicit opt-in.
Stable MCP contracts — tool schemas, annotations, prompts, and resources are mechanically documented from live discovery.
Local AI support — optional Ollama embeddings and generation keep note content on your machine under the default configuration.
Optional UI bridge — the Obsidian plugin can open notes, run approved commands, and integrate supported plugins.
Repository scope
This repository is the source of truth for the .NET MCP server, its integrations, packaging, deployment, tests, and public operational documentation. The Obsidian plugin is maintained and released separately in sandovaldavid/kioku-obsidian.
Open issues, historical plans, and pull-request descriptions are not implementation evidence. Current behavior is defined by the target branch's code, tests, and generated contracts.
Quick start
Install the server
dotnet tool install --global kioku-mcp-serverSet the vault path and register kioku in your MCP client:
export KIOKU_VAULT_PATH="/absolute/path/to/your/vault"
kiokuFor supported client installers:
./scripts/add-to-client.sh codex --vault /absolute/path/to/your/vault
./scripts/add-to-client.sh opencode --vault /absolute/path/to/your/vault
./scripts/add-to-client.sh antigravity --vault /absolute/path/to/your/vaultClaude Code users can install the bundled plugin and skill:
claude plugin marketplace add sandovaldavid/kioku
claude plugin install kioku@kiokuSee the installation guide for manual client configuration, source builds, Docker, and the optional Obsidian plugin.
Architecture
MCP client
├─ stdio (local process)
└─ Streamable HTTP (long-running authenticated server)
│
▼
Kioku.Mcp.Server (.NET 10)
├─ typed MCP tools, prompts, and resources
├─ bounded vault indexing and hybrid retrieval
├─ application and infrastructure services
└─ optional authenticated WebSocket bridge
│
▼
Obsidian vault + optional Obsidian plugin (sandovaldavid/kioku-obsidian)See the current architecture for operational component boundaries.
Public contracts and guides
Start with the documentation index. The main maintained references are:
MCP contract reference — live
tools/list, schemas, annotations, prompts, resources, and profile counts.Server configuration reference — every public
KIOKU_*variable and canonicalKioku:*path.Vault configuration — folders, defaults, exclusions, capabilities, frontmatter, and generated indexes.
Focused-tool migration — current replacements for deprecated generic creation wrappers.
Versioning policy — server, plugin, workspace, and bridge compatibility semantics.
Performance benchmarks — cold-start, indexing, search latency, and retrieval quality with environment and dataset caveats.
Threat and privacy model — implemented mitigations, known gaps, and external data flows.
Regenerate and verify public metadata with:
node scripts/generate-public-docs.mjs --write
node scripts/generate-public-docs.mjs --checkSecurity defaults
stdiois the default transport.Streamable HTTP binds to
127.0.0.1by default.Non-loopback HTTP requires
KIOKU_API_KEYunless an explicit unsafe override is set.Browser origins and trusted proxies use exact allowlists.
External reads and permanent deletion are disabled by default.
Obsidian bridge authentication uses a separate shared token.
Review Streamable HTTP security before exposing Kioku through a VM, LAN, reverse proxy, container, or tunnel.
Development
dotnet restore Kioku.slnx
dotnet build Kioku.slnx --configuration Release --no-restore
dotnet test src/Kioku.Mcp.Server.Tests/Kioku.Mcp.Server.Tests.csproj --configuration Release --no-restore
dotnet format Kioku.slnx whitespace --verify-no-changes --no-restore
dotnet format Kioku.slnx style --verify-no-changes --no-restore
corepack enable
pnpm install --frozen-lockfile
pnpm docs:checkSee CONTRIBUTING.md and AGENTS.md for repository conventions.
License
MIT — see LICENSE.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceProvides an MCP server that allows AI assistants to interact with Obsidian vaults, enabling reading/writing notes, managing metadata, searching content, and working with daily notes.Last updated36MIT
- Alicense-qualityCmaintenanceAn open-source MCP server that makes your Obsidian vault accessible from any AI client with hybrid search, read/write, and graph analysis capabilities.Last updated923MIT
- Alicense-qualityDmaintenanceAn Obsidian plugin that runs an MCP server, enabling AI agents to read, edit, search notes, and run Dataview queries in your vault.Last updated3BSD Zero Clause
- Alicense-qualityAmaintenanceBuilt-in MCP server that gives AI agents direct access to an Obsidian vault for reading, writing, searching notes, and executing commands.Last updated372,726MIT
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
An MCP server that integrates with Discord to provide AI-powered features.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sandovaldavid/kioku'
If you have feedback or need assistance with the MCP directory API, please join our Discord server