Toki Toki no Mi
An MCP server that records decisions, rejected alternatives, and justifications, and retrieves them later to avoid re-litigating past choices. It stores data locally in SQLite and Markdown.
README
<!-- mcp-name: io.github.xfloukiex-lab/toki-toki -->
⏳ Toki Toki no Mi
<img src="icon.png" width="120" align="right" alt="Toki Toki no Mi icon">
An MCP server that remembers why each decision was made — a local, searchable decision log.
A Model Context Protocol (MCP) server — one focused tool you plug into an MCP-compatible client (Claude Desktop, Claude Code, Cursor, and others).
What it does
A conversation's context window forgets. A few sessions later, the reasoning behind an architectural choice is gone, and you re-litigate decisions you already settled — or quietly reverse them without noticing.
Toki Toki no Mi is a causality ledger. It records each decision, the alternatives you rejected, and why you chose as you did, then lets your assistant retrieve that history later — and flag a new proposal that contradicts a past decision.
Usage
Two tools:
log_causality_point— record a decision, the rejected alternatives, and the justificationtime_leap_retrieval— recall past decisions (all of them, or filtered by keyword)
Decisions are stored locally in SQLite under ~/.grandline/ and also mirrored to
a Markdown file, so any external search tool can be pointed at the folder to read
them.
Tool reference: log_causality_point(decision_made, alternatives_rejected, justification) · time_leap_retrieval(query: str = "")
How it works
Self-contained, no API key, fully local. The ledger is a single SQLite file on your machine with no external dependencies. Nothing is sent anywhere.
Install
Requires Python 3.10 or newer.
pip install toki-toki-mcp
This installs the toki-toki command.
Then register it with your MCP client — either run claude mcp add toki-toki -- toki-toki,
or add this to the client's config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"toki-toki": { "command": "toki-toki" }
}
}
Restart the client and the tool is available.
The Grand Line stack
Toki Toki no Mi is part of a four-tool set. Each tool stands alone, but installing all of them unlocks a final surprise via Laugh Tale.
| Package | ||
|---|---|---|
| 🗿 | road-poneglyph |
Road Poneglyph |
| ⚔️ | conquerors-haki |
Conqueror's Haki |
| ⏳ | toki-toki |
Toki Toki no Mi · ← this repo |
| 🏴☠️ | laugh-tale |
Laugh Tale |
Develop
git clone https://github.com/xfloukiex-lab/toki-toki
cd toki-toki
python -m venv .venv && . .venv/Scripts/activate # macOS/Linux: source .venv/bin/activate
pip install -e ".[dev]"
python tests/test_toki_toki.py
Attribution & license
Released under the Apache-2.0 license. The icon is original artwork
(see icon.svg), generated locally; the repository ships no third-party assets.
This is a fan-inspired project. It is not affiliated with, sponsored by, or endorsed by the creators or rights holders of One Piece (Eiichiro Oda / Shueisha / Toei Animation). "One Piece" and related names are used only as thematic flavour and remain the property of their respective owners.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.