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: synapse
๐ 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.
Search, read, and safely update Markdown notes in your connected Phasoric knowledge vaults.
Shared long-term memory vault for AI agents with 20 MCP tools.
Related MCP Servers
- 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.34 PyPI6Apache 2.0
- AlicenseNot gradedqualityAmaintenanceProvides AI agents with a local, private Markdown-based memory vault and SQLite search. Enables agents to search, read, list, and traverse linked knowledge pages via MCP with zero external runtime dependencies.7MIT
- AlicenseNot gradedqualityAmaintenanceProvides AI agents with typed tools to bootstrap sessions, ingest files, search, read, write, link, handoff, self-check, and audit markdown notes in a self-hosted Obsidian-compatible vault.2MIT
- AlicenseNot gradedqualityBmaintenanceExposes repo-native, self-verifying memory to coding agents over stdio MCP, letting them recall ranked past decisions, record new claims with verifiable receipts, and check the health and stats of stored memory. Keeps agent context honest by surfacing memories whose evidence no longer holds.127 npmMIT