akatsuki
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., "@akatsukisearch my vault for docker swarm routing notes"
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.
π Akatsuki (ζ)
Universal CLI and Model Context Protocol (MCP) Gateway for Living System Memory and Architectural Contracts for Autonomous AI Agents.
ποΈ What is Akatsuki?
As AI coding swarms and autonomous agents (Antigravity, Claude Code, pi, OpenCode, Cursor) write and refactor code, traditional static documentation decays. Infrastructure configurations drift, network ports clash, and architectural boundaries get silently breached.
Akatsuki solves this by providing a Living Systems Memory Substrate:
Machine-Verifiable Contracts: Inspect living system contracts, service boundaries, and cluster topology before mutating code.
Living Invariant Testing (
bash:verify): Test system health against machine-executable verification assertions embedded directly within Markdown notes.Fast Okapi BM25 Search: Zero-daemon, in-process SQLite full-text search with morphological expansion and excerpt ranking.
Native Dual-Interface (CLI + MCP): Operate seamlessly from the human terminal (
akatsuki <command>) or equip autonomous agents directly through stdio Model Context Protocol (akatsuki mcp).Zero Runtime Dependencies: Written entirely in Python standard library (
sqlite3,pathlib,argparse,fcntl,json). No heavy dependencies, no build friction.
Related MCP server: SeekLink
π Quick Start
1. Installation
Option A: Standard Installation (Pure Standard Library, Zero Dependencies) Runs with pure in-process Okapi BM25 ranking, instant startup, zero dependencies:
# Via pip
pip install git+https://github.com/fusuyfusuy/akatsuki.git
# Or via uv tool
uv tool install git+https://github.com/fusuyfusuy/akatsuki.gitOption B: With Semantic Vector Embeddings & Hybrid RRF Search (Optional Extra)
Equips Akatsuki with local offline semantic search powered by intfloat/multilingual-e5-small (384D) clamped safely to 2 CPU threads:
# Via pip
pip install "akatsuki[embeddings] @ git+https://github.com/fusuyfusuy/akatsuki.git"
# Or via uv tool with lightweight CPU PyTorch wheel:
uv tool install --editable /path/to/akatsuki --with sentence-transformers --with torch --extra-index-url https://download.pytorch.org/whl/cpu --force2. Bootstrap a Living Memory Vault
# Initialize a fresh living memory vault in the current directory or specified path
akatsuki init ./knowledge-base
cd ./knowledge-baseThis creates the standard Akatsuki vault structure:
knowledge-base/
βββ .akatsuki/ # Local SQLite BM25 + vector search index and locks (gitignored)
βββ .gitignore # Pre-configured multi-machine ignores
βββ AGENTS.md # Master architectural protocol and invariants
βββ INDEX.md # Auto-maintained catalog and domain index
βββ 01-Daily/ # Daily activity ledgers & worklogs
βββ 20-Projects/ # Active software project architectures
βββ 40-Systems/ # Host specifications, topologies & ADRs
βββ _templates/ # Note, system, and daily templates3. Basic CLI Commands
# Hybrid Search (Okapi BM25 + Dense Semantic Vectors via RRF, k=60)
akatsuki search "docker swarm routing" --mode hybrid
# Pure lexical BM25 search
akatsuki search "docker swarm routing" --mode bm25
# Pure semantic vector search
akatsuki search "hardware specifications of primary host" --mode vector
# Read a note or specific section with token budget packing
akatsuki read "Cluster-Topology" --section "Private Network Routing"
# Calculate blast radius for a service before making changes
akatsuki blast auth-service
# Run living invariant checks across system documentation
akatsuki test
# Record a telegraphic caveman ledger entry
akatsuki log -p "web" -s "migrate edge certs -> let encrypt automated; exit 0"
# Surgically update frontmatter without corrupting note bodies
akatsuki set "20-Projects/filament" -k status -v "live"π€ MCP Server Setup (for AI Agents)
Akatsuki runs as a native stdio Model Context Protocol (MCP) server exposing 17 specialized architectural tools:
akatsuki mcpClaude Desktop Configuration (claude_desktop_config.json)
{
"mcpServers": {
"akatsuki": {
"command": "akatsuki",
"args": ["mcp"],
"env": {
"AKATSUKI_VAULT": "/path/to/your/knowledge-base"
}
}
}
}Cursor Configuration (.cursor/mcp.json)
{
"mcpServers": {
"akatsuki": {
"command": "akatsuki",
"args": ["mcp"]
}
}
}Antigravity / OpenCode / pi Configuration
{
"mcpServers": {
"akatsuki": {
"command": "akatsuki",
"args": ["mcp"]
}
}
}π οΈ MCP Tools Reference
MCP Tool | Description |
| Search notes using Okapi BM25 ranking, stemming, and contextual snippets. |
| Read full notes or extract individual headings with token budget packing. |
| Extract structured machine boundary contracts (APIs, ports, schemas) from notes. |
| $O(1)$ exact property getter across frontmatter keypaths. |
| Run read-only SQL queries directly against the internal SQLite FTS index. |
| Compute upstream callers and downstream dependencies for architectural blast radius. |
| Execute machine-verifiable |
| Surgically update YAML frontmatter keys with JSON/primitive values. |
| Validate vault notes against strict schema contracts. |
| Append markdown content under specific headings. |
| Read active service matrices, container prefixes, and port allocations. |
| List all tracked software repositories and production deployments. |
| Read today's or specified daily horizon and task list. |
| Append telegraphic ledger entries to today's active worklog. |
| Verify internal wikilink graph integrity. |
β‘ Vault Discovery Ladder
Akatsuki locates the target knowledge base automatically using a multi-tiered resolution ladder:
CLI Flag:
--vault /path/to/vault(or-V)Environment Variable:
AKATSUKI_VAULT=/path/to/vaultUpward Directory Walk: Traverses upwards from the current directory looking for
.akatsuki/orINDEX.md+AGENTS.md.Well-Known Locations: Checks
~/configs/knowledge-base/akatsuki,~/.akatsuki,~/akatsuki.Fallback: Current working directory.
π§ͺ Testing
Akatsuki comes with a comprehensive standard test suite with zero test dependencies:
# Run tests using Python standard library unittest
python3 -m unittest discover tests -vπ License
MIT License. Copyright (c) 2026 Yusuf AkΓ§akaya.
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Shared long-term memory vault for AI agents with 20 MCP tools.
One memory, every AI. A shared, user-owned markdown memory your AI clients read and write over MCP.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceA local-first CLI and MCP server that helps you build and search a personal knowledge vault from Markdown notes, with semantic search and AI-powered features like stale note detection and session memory harvesting. Itβs provider-agnostic, requires no GPU in its default mode, and exposes your vault as long-term memory to any MCP-compatible AI tool like Claude Code.47Apache 2.0
- AlicenseNot gradedqualityBmaintenanceLocal-first Markdown vault retrieval for agents. Read-only MCP stdio server exposing search, get, status, and doctor over Obsidian-compatible Markdown with hybrid BM25/vector/wikilink/title retrieval and first-class CJK support.11MIT
- AlicenseNot gradedqualityBmaintenanceProvides persistent, local-first memory for coding agents with Markdown as the source of truth, exposed via CLI, loopback API, MCP, and Codex hooks for context retrieval and durable writes.MIT
- AlicenseNot gradedqualityAmaintenanceLocal-first long-term memory for AI agents via a Markdown vault, offering MCP tools to query, ingest, lint, distill, and manage agent lessons and profile suggestions.6Apache 2.0