zk-utils
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., "@zk-utilsfind notes about project planning"
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.
zk-utils
zk-utils is an MCP (Model Context Protocol) server for zk note management tools. It provides functionality for note search, creation, and link analysis by integrating with zk.
Prerequisites
zk command line tool
Related MCP server: brain-mcp
Usage
Using uvx (Recommended)
Add the following to mcp configuration file:
{
"mcpServers": {
"zk-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/koei-kaji/zk-utils", "zk-utils-mcp"],
"env": {
"ZK_DIR": "/path/to/your/notes"
}
}
}
}Environment Variables
ZK_DIR: Path to zk notes directory (required)
Using Docker
Initial Setup
If you are creating a zk notebook for the first time, initialize the note directory with zk init:
cd /path/to/your/zk-notes
docker run -it --rm -v $(pwd):/zk-notes -w /zk-notes koeikajidev/zk-utils-mcp zk initMCP Configuration
Add the following to mcp configuration file:
{
"mcpServers": {
"zk-utils": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/absolute/path/to/your/zk-notes:/zk-notes:ro",
"koeikajidev/zk-utils-mcp"
]
}
}
}Note: Use absolute path for the zk-notes directory.
Available MCP Tools
get_notes: Search and retrieve zk notes with filtering and paginationget_note_content: Retrieve the full content of a specific zk noteget_link_to_notes: Get all notes that are linked FROM the specified note (outbound links)get_linked_by_notes: Get all notes that link TO the specified note (inbound links)get_related_notes: Find notes that could be good candidates for linkingget_tags: Retrieve all available tags from the zk note collectioncreate_note: Create a new zk note with the specified title and pathget_last_modified_note: Retrieve the most recently modified noteget_tagless_notes: Retrieve all notes that have no tags assignedget_random_note: Retrieve a randomly selected note from the zk collection
Index Freshness
zk-utils automatically runs zk index --quiet before operations that rely on zk's index. Notes changed outside an LSP-aware editor, such as by shell scripts, sync tools, or AI agents, are therefore reindexed before zk-utils queries them; no separate scheduled reindexing is required for zk-utils itself.
This server cannot be deployed
Maintenance
Related MCP Connectors
Markdown-based note-taking with a hosted MCP server. Your notes serve you and your AI.
An MCP server that used to create notes
Personal knowledge base MCP server with semantic search, auto-categorization, metadata extraction
Serve a folder of Markdown notes as an MCP server: hybrid search, reading, and sourced answers.
Related MCP Servers
- AlicenseCqualityFmaintenanceAn MCP server that integrates the zk note-taking system with LLMs, enabling users to search, read, create, and manage notes. It provides tools for link analysis, tag management, and complex note queries to interact with local knowledge bases.51MIT
- AlicenseAqualityDmaintenanceAn MCP server for managing Obsidian-style note vaults, providing tools for full-text search, note creation, and backlink tracking. It enables users to navigate, structure, and update their personal knowledge base through natural language.9MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides Claude and other MCP clients with persistent memory through a Zettelkasten knowledge base of interconnected markdown notes. It enables LLMs to create, search, link, and reference atomic notes across sessions without requiring manual copy-pasting.MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that enables full-text search and link navigation over Markdown files as a knowledge graph.-