MCP Server · Limited Beta

Sekichi(積知)

AIが書く。人が裁く。知が積もる。
AI writes. Humans judge. Knowledge compounds.
AIコーディングエージェントとの対話から生まれる設計判断・問題・知識を蓄積し、プロジェクトの「判例法」を築く MCP サーバー。
An MCP server that accumulates design decisions, problems, and insights from conversations with AI coding agents — building a living "case law" for your project.
claude.ai から接続する Connect via claude.ai
⚠️

Open Beta 版につきご注意ください。 仕様変更・破壊的変更が予告なく行われる場合があります。また、データの消失・移行が発生する可能性があります。重要なデータのバックアップを推奨します。

Open Beta — use with caution. Breaking changes may occur without notice. Data loss or migration may happen during this phase. We recommend keeping backups of critical data.

こんなときに使えるUse Cases

記録するほど、次の判断が楽になる。

AIとの対話から設計判断・問題・知識が積み重なり、一人の気づきがチーム全体の判断基準へと育っていきます。ソフトウェア開発に限らず、「判断を繰り返すすべての仕事」で価値を発揮します。

AIと振り返ることで、さらに良くなる。

定期的な振り返りを AI と行うことで、蓄積した知識が具体的な改善施策へと変わります。

The more you record, the easier every decision becomes.

Decisions, problems, and insights from AI conversations accumulate into shared knowledge — turning one person's insight into the whole team's standard. Not just for software development, but for any work where decisions repeat.

Get even better by reflecting with AI.

Regular AI-assisted retrospectives turn accumulated knowledge into concrete improvement actions.

ソフトウェア開発
Software Development
「2ヶ月前にも同じバグを踏んだ気がする…」同じ罠を何度も踏む。
"I feel like we hit this exact bug two months ago..." The same pitfalls keep repeating.
修正時に record_case で原因と対策を記録。次回タスク開始時に check_context が自動で警告する。
Record the root cause with record_case. Next time, check_context surfaces the warning automatically before work begins.
check_context · record_case
アーキテクチャ判断
Architecture Decisions
「なぜこのライブラリを選んだんだっけ?」背景を知る人が誰もいない。
"Why did we pick this library again?" No one remembers the reasoning.
判断の背景・却下した選択肢・理由を record_case で残す。後から誰でも経緯を追える。
Record the rationale, rejected alternatives, and reasoning with record_case. Anyone can trace the history later.
record_case · get_case
採用・人事
Recruiting / HR
「前回の採用で失敗したポイント、今回また同じ轍を踏んでいる…」
"We're making the exact same mistakes we made in the last hiring round..."
過去の採用で得た知見(面接で見るべき点・落とし穴)を判例として蓄積。繰り返しパターンはルール化。
Accumulate insights from past hiring (what to look for, red flags) as cases. Recurring patterns become rules.
record_case · find_patterns · record_rule
スプリント振り返り
Sprint Retrospective
「今月何を決めたか、振り返ろうとしても記憶が曖昧…」
"When we try to reflect on this sprint, nobody can remember what we actually decided."
get_summary で今月の判例を俯瞰し、find_patterns で繰り返しパターンを検出。ルールとして昇格できる候補を自動提案。
get_summary gives a bird's-eye view of this month's cases. find_patterns detects recurring patterns and suggests which ones to promote into rules.
get_summary · find_patterns

接続手順Getting Started

1
claude.ai の設定を開くOpen claude.ai Settings Settings → Integrations にアクセスする on claude.ai
2
Add integration → Remote MCP server を選択Add integration → Remote MCP server 個人利用は https://sekichi.fly.dev/mcp、チーム共有は https://sekichi.fly.dev/mcp?team=<slug> を入力して Connect をクリック Enter https://sekichi.fly.dev/mcp for personal use, or https://sekichi.fly.dev/mcp?team=<slug> for team sharing, then click Connect
3
Magic Link でログインSign in via Magic Link メールアドレスを入力してリンクをクリック(パスワード不要)。以後は自動認証。Enter your email and click the link sent to you (passwordless). Authentication is automatic afterwards.
4
自動コンテキスト参照を有効にするEnable automatic context checking お使いのクライアントに合わせて以下を設定してください。Choose your client and follow the setup below.

claude.ai で自動参照を有効にするには、Project のカスタム指示 に設定します。
New Project を作成(または既存 Project の Settings を開く)→ Custom Instructions に以下を追加してください。

To enable automatic context checking in claude.ai, add the following to your Project's Custom Instructions.
Create a new Project (or open an existing Project's Settings) → Custom Instructions → paste below.

## Sekichi 連携

タスクを開始する前に、sekichi MCP ツールの `check_context` をタスクの内容とともに呼び出すこと。

この会話の中で重要な判断・問題が発生した場合は、`record_case` を積極的に呼び出して記録すること。
記録を求められるのを待たず、判断やインサイトが生まれたその場で記録する。

ナレッジレビューを依頼されたときは、`get_summary` と `find_patterns` を呼び出し、
繰り返しパターンを改善提案(プロセス / 技術 / 追加すべきルール)として整理して提示すること。
## Sekichi Integration

Before starting any task, use the sekichi MCP tool `check_context` with the task description.

When this conversation involves a non-trivial decision or problem, proactively call `record_case`
to save it — don't wait to be asked.

For knowledge reviews: call `get_summary` and `find_patterns`, then synthesize recurring patterns
into concrete improvement suggestions (process / technical / rules to add).
💡 Project に Sekichi を接続し、カスタム指示を設定すると、そのプロジェクトの全会話で check_context が自動で呼ばれるようになります。
💡 Once Sekichi is connected to the Project and custom instructions are set, check_context will be called automatically in every conversation within that project.

プロジェクトルートの CLAUDE.md に以下を追加するだけで、Claude Code がタスク着手前に自動で関連ルール・判例を参照します。

Add this to your project's CLAUDE.md. Claude Code will automatically check relevant rules and past cases before starting any task.

## Sekichi 連携

### タスク着手前
タスクの内容を添えて `check_context` を呼び出し、関連するルールと過去の判例を確認する。

### 作業中
重要な判断をした、または問題に遭遇したときは、積極的に `record_case` を呼び出す。
記録を求められるのを待たず、判断やインサイトが生まれたその場で記録すること。

### SDD 各ステップでの確認

設計駆動開発(SDD)フローの各ステップでも `check_context` を呼び出す:

- **仕様策定**: `check_context(task="〇〇の仕様策定")` → 業界制約ルール、類似プロジェクト判例
- **ユーザーストーリー**: `check_context(task="〇〇のユーザーストーリー")` → 過去の実例
- **DB 設計**: `check_context(task="〇〇のDB設計")` → 命名規約、正規化方針
- **タスク分解**: `check_context(task="〇〇の実装")` → 技術制約、既知の落とし穴

### 月次ナレッジレビュー

ナレッジレビューを依頼されたときは以下の手順を実行する:

1. `get_summary(period="this_month")` — 直近の判例を取得
2. `find_patterns()` — 繰り返しパターンを検出

次の4軸で整理して提示する:
- **繰り返し判断** → `record_rule` でルール化を提案
- **繰り返し問題** → 根本原因と改善策を提示
- **有効だった判断** → ベストプラクティスとして強調
- **改善提案** — 具体的な次のアクション 3〜5 件(プロセス / 技術 / ルール追加・変更)

ルール化する価値があるパターンは `record_rule` を呼ぶか確認すること。

### チームへの昇格
個人テナントに記録した判例・ルールをチームに共有する場合は `promote_to_team` を呼ぶ。
振り返り時に「この判例をチームに共有して」と言えば実行できる。
## Sekichi Integration

### Before every task
Call `check_context` with the task description to surface relevant rules and past cases.

### While working
When a non-trivial decision is made or a problem is encountered, proactively call `record_case`.
Don't wait to be asked — if this conversation involved a real decision or insight, record it.

### Check at each SDD step

Call `check_context` at each step of the design-driven development flow:

- **Spec definition**: `check_context(task="spec for ...")` → industry rules, similar project cases
- **User story creation**: `check_context(task="user stories for ...")` → past examples
- **DB design**: `check_context(task="DB design for ...")` → naming conventions, normalization rules
- **Task breakdown**: `check_context(task="implementation of ...")` → tech constraints, known pitfalls

### Monthly Knowledge Review

When asked to do a knowledge review, follow these steps:

1. `get_summary(period="this_month")` — get all recent cases
2. `find_patterns()` — detect recurring patterns

Then synthesize and present:
- **Repeated decisions** → propose promoting to rules via `record_rule`
- **Recurring problems** → identify root causes and suggest process improvements
- **Effective decisions** → reinforce as best practices
- **Improvement suggestions** — 3–5 concrete next actions (process / technical / rules to add or change)

Ask whether to call `record_rule` for each pattern worth formalizing.

### Promoting to team
To share a personal case or rule with the team, call `promote_to_team`.
During a retro, just say "share this with the team" and it will be promoted.
💡 接続は claude.ai の Integrations から設定できます。Claude Code 専用に使う場合は、claude mcp add sekichi --transport sse https://sekichi.surp.tech/mcp で直接追加することも可能です。
💡 Connect via claude.ai Integrations. For Claude Code only, you can also run claude mcp add sekichi --transport sse https://sekichi.surp.tech/mcp.

利用できるツールAvailable Tools

check_context
タスク開始前に関連ルールと過去判例を自動提示。これを最初に呼ぶのが基本。
Surfaces relevant rules and past cases before you start a task. Call this first.
init_project
プロジェクトを初期化。共通テンプレートルールを適用し、プロジェクト固有ルールを対話形式で設定する。
Initializes a project, applies shared template rules, and interactively sets project-specific rules.
record_case
設計判断・問題・知識を判例として記録する。
Records a design decision, problem, or insight as a case.
search_cases
自然言語でセマンティック検索。類似判断や過去の知見を探す。
Semantic search in natural language. Find similar decisions or past insights.
list_cases
判例を一覧表示。期間・カテゴリでフィルタ可能。
Lists cases with optional filters by period and category.
get_case
指定した判例の全詳細を取得する。
Retrieves full details of a specific case by ID.
update_case
判例に結果・補足を追記する。重要度変更も可能。
Appends outcome or notes to a case. Can also change severity.
delete_case
判例を削除する(要 confirm フラグ)。
Deletes a case (requires confirm flag).
record_rule
繰り返し判断をルールとして昇格・記録する。
Promotes a recurring decision pattern into a persistent rule.
get_rules
適用されるルール一覧を取得。セマンティック検索対応。
Lists applicable rules. Supports semantic search.
update_rule
ルールの内容・スコープ・タグを更新する。
Updates a rule's content, scope, or tags.
delete_rule
ルールを削除する(要 confirm フラグ)。
Deletes a rule (requires confirm flag).
find_patterns
判例群から繰り返しパターンを検出し、ルール昇格候補を提案する。
Detects recurring patterns across cases and suggests rule promotion candidates.
get_summary
期間内の判例サマリーを生成。スプリント振り返りや月次棚卸しに使う。
Generates a summary of cases for a period. Useful for sprint retros and monthly reviews.
promote_to_team
個人テナントの判例・ルールをチームテナントへコピー。振り返りで「チームに共有して」と伝えれば実行。
Copies a case or rule from your personal tenant to a team tenant. Say "share this with the team" during a retro.
record_idea
アイデア・メモを記録する。「あれやらなきゃ」「あれ議論したい」等の個人メモをサッと残せる。
Jot down ideas and personal notes. Quick capture for "I need to do that" or "let's discuss this" moments.
search_ideas
アイデアをセマンティック検索。「あんな感じのメモなかったっけ?」で探せる。
Semantic search for ideas. Find that note you vaguely remember with natural language.
list_ideas
アイデアの一覧表示。ステータス・タグ・プロジェクトでフィルタ可能。
Lists ideas with filters by status, tag, and project.
update_idea
アイデアの内容・ステータス・タグを更新する。完了や却下のマークにも使う。
Updates an idea's content, status, or tags. Use to mark ideas as done or dismissed.
delete_idea
アイデアを削除する(要 confirm フラグ)。
Deletes an idea (requires confirm flag).
whoami
現在のログインユーザー情報を表示する。テナント・認証状態の確認に使う。
Shows current login user info. Check your tenant and auth status.