Skip to main content
ClaudeWave

Toki Toki no Mi — an MCP server: a persistent causality ledger. Part of the Grand Line stack.

MCP ServersOfficial Registry0 stars0 forksPythonApache-2.0Updated today
Install in Claude Code / Claude Desktop
Method: pip / Python · toki-toki-mcp
Claude Code CLI
claude mcp add toki-toki -- python -m toki-toki-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "toki-toki": {
      "command": "python",
      "args": ["-m", "venv"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install first: pip install toki-toki-mcp
Use cases

MCP Servers overview

<!-- 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](https://modelcontextprotocol.io) (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 justification
- `time_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.

```bash
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`):

```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`](https://github.com/xfloukiex-lab/road-poneglyph) | Road Poneglyph |
| ⚔️ | [`conquerors-haki`](https://github.com/xfloukiex-lab/conquerors-haki) | Conqueror's Haki |
| ⏳ | [`toki-toki`](https://github.com/xfloukiex-lab/toki-toki) | Toki Toki no Mi  ·  **← this repo** |
| 🏴‍☠️ | [`laugh-tale`](https://github.com/xfloukiex-lab/laugh-tale) | Laugh Tale |

## Develop

```bash
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.*
agent-memoryaiai-agentsclaudeclaude-codecursordecision-logdeveloper-toolsllmlocal-firstmcpmcp-servermodel-context-protocolpythonsqlite

What people ask about toki-toki

What is xfloukiex-lab/toki-toki?

+

xfloukiex-lab/toki-toki is mcp servers for the Claude AI ecosystem. Toki Toki no Mi — an MCP server: a persistent causality ledger. Part of the Grand Line stack. It has 0 GitHub stars and was last updated today.

How do I install toki-toki?

+

You can install toki-toki by cloning the repository (https://github.com/xfloukiex-lab/toki-toki) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is xfloukiex-lab/toki-toki safe to use?

+

xfloukiex-lab/toki-toki has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.

Who maintains xfloukiex-lab/toki-toki?

+

xfloukiex-lab/toki-toki is maintained by xfloukiex-lab. The last recorded GitHub activity is from today, with 0 open issues.

Are there alternatives to toki-toki?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy toki-toki to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: xfloukiex-lab/toki-toki
[![Featured on ClaudeWave](https://claudewave.com/api/badge/xfloukiex-lab-toki-toki)](https://claudewave.com/repo/xfloukiex-lab-toki-toki)
<a href="https://claudewave.com/repo/xfloukiex-lab-toki-toki"><img src="https://claudewave.com/api/badge/xfloukiex-lab-toki-toki" alt="Featured on ClaudeWave: xfloukiex-lab/toki-toki" width="320" height="64" /></a>

More MCP Servers

toki-toki alternatives