MCP server for zk notes

MCP server for zk notes

zk-mcp•bykoei-kaji

An MCP server that lets LLMs query, read, link, tag, and create notes in a zk-managed plain-text knowledge base.

License: MIT•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Searches notes by content strings, filenames, and tags with logical operators, and allows excluding notes by strings or tags.
  • •Discovers relationships between notes, including notes a given note links to, notes linking back to it, and related notes.
  • •Lists all available tags and reads the complete content of a specific note by path.
  • •Creates new notes with a specified title in an optional directory.

BEST FOR

  • •Letting an LLM assistant search and read a personal zk note repository to answer questions.
  • •Exploring connections between notes, such as backlinks and related notes, through an LLM.
  • •Generating new notes in a zk knowledge base programmatically from an LLM client.

ABOUT ZK-MCP

MCP server for zk notes is cataloged as an MCP server attributed to koei-kaji. An MCP server that lets LLMs query, read, link, tag, and create notes in a zk-managed plain-text knowledge base. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for zk notes are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does zk-mcp require an existing zk note directory?

Yes. It integrates with notes managed by zk, and the configuration sets ZK_DIR to the path of your zk notes directory.

Upstream README

View this exact version on GitHub

README.md · 78951f0fae3c · Fetched 2026-11-13 12:55:52 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

zk-mcp

zk-mcp is an MCP (Model Context Protocol) server for integrating notes managed by zk with LLMs. It enables LLMs to efficiently access and interact with knowledge bases managed under zk.

Features

  • Note Query: Search notes by content, tags, and complex filters
  • Link Analysis: Discover relationships between notes (links to, linked by, related)
  • Tag Management: List and filter by available tags
  • Note Access: Read complete note contents
  • Note Creation: Create new notes programmatically

Prerequisites

Installation

  1. Clone this repository:
git clone https://github.com/koei-kaji/zk-mcp.git
cd zk-mcp
  1. Install dependencies:
uv sync

Configuration

Add the following settings to your MCP client's servers.json:

{
  "mcpServers": {
    "zk": {
      "alwaysAllow": [
        "get_note",
        "get_note_paths",
        "get_linking_notes",
        "get_tags",
        "create_note"
      ],
      "args": [
        "--directory",
        "/path/to/zk-mcp/",
        "run",
        "server.py"
      ],
      "command": "uv",
      "env": {
        "ZK_DIR": "/path/to/your/zk-note-directory/"
      }
    }
  }
}

Important: Replace /path/to/zk-mcp/ with the actual path to this repository and /path/to/your/zk-note-directory/ with the path to your zk notes directory.

Available MCP Tools

This server provides the following MCP tools:

get_note_paths

Search for notes based on various criteria:

  • include_str: Filter notes containing specific strings in content or filename
  • include_str_operand: Logical operator (AND/OR) for multiple string filters
  • exclude_str: Exclude notes containing specific strings
  • include_tags: Filter notes by tags
  • include_tags_operand: Logical operator (AND/OR) for multiple tag filters
  • exclude_tags: Exclude notes with specific tags

get_linking_notes

Discover note relationships:

  • link_to_notes: Notes that the specified note links to
  • linked_by_notes: Notes that link to the specified note
  • related_notes: Notes that are related to the specified note

get_tags

List all available tags in the note repository.

get_note

Read the complete content of a specific note by path.

create_note

Create a new note with the specified title in an optional directory.

Development

Commands

  • make run - Run the MCP server in development mode with ZK_DIR=.
  • make format - Format code using ruff (imports + formatting)
  • make lint - Run linting with ruff and type checking with mypy
  • make test - Run all tests with pytest
  • make pre-commit - Run both format and lint (recommended before commits)

Package Management

  • uv add <package> - Add runtime dependency
  • uv add --dev <package> - Add development dependency
  • uv run <command> - Run command in virtual environment

Architecture

The server is built using:

  • FastMCP: MCP server implementation
  • Pydantic: Data validation and serialization
  • zk CLI: Backend integration with zk note system

All tools return JSON responses using Pydantic models for type safety and validation.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for zk notes from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/zk-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation