sequential-thinking-mcp-v2: Instructions file for Claude Code

CLAUDE.md

sequential-thinking-mcp-v2 CLAUDE.md is an instructions file for Claude Code from spideynolove/sequential-thinking-mcp-v2. It costs 700 tokens per session, scanned A, original, MIT.

Project instructions for a newer version of a sequential-thinking MCP server, a tool that helps an agent work through problems in ordered steps. They describe the planned memory design while the current code is still an older Markdown-based version.

In plain words
What is it for?
Planning or implementing the server's reasoning and memory layers, including document retrieval, semantic memory, metadata, confidence, evidence, promotion, and synchronization.
Why use it?
They clarify which documents describe the intended system when the existing code and plans differ. They also separate human-written documents, searchable memories, and optional cloud storage.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code.

This is spideynolove/sequential-thinking-mcp-v2's own configuration. It tells Claude Code how to work on sequential-thinking-mcp-v2 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sequential-thinking-mcp-v2 configures →

Reuse

Borrowing it

Nothing to install: this file belongs to spideynolove/sequential-thinking-mcp-v2. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/spideynolove/sequential-thinking-mcp-v2/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/spideynolove/sequential-thinking-mcp-v2

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sequential-thinking-mcp-v2 CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/spideynolove/sequential-thinking-mcp-v2/claude-md/github.svg)](https://agentmods.dev/instructions/spideynolove/sequential-thinking-mcp-v2/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/spideynolove/sequential-thinking-mcp-v2/claude-md"><img src="https://agentmods.dev/badge/instructions/spideynolove/sequential-thinking-mcp-v2/claude-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sequential-thinking-mcp-v2 CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/spideynolove/sequential-thinking-mcp-v2/claude-md"><img src="https://agentmods.dev/badge/instructions/spideynolove/sequential-thinking-mcp-v2/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 700 This file is loaded in full into every session.
When invoked 700 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00700 $0.00700
Opus 5.5 $0.00280 $0.00280
Sonnet 5.5 $0.00140 $0.00140
Haiku 4.5 $0.00070 $0.00070

Measured 2mo ago against content hash 6021438592ce, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sequential-thinking-mcp-v2 CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code when working in this repository.

Current State

This repository is still the older markdown-only implementation of sequential-thinking-mcp-v2. The approved direction is now documented in:

  • docs/plans/2026-03-08-agent-memory-reasoning-architecture-design.md
  • docs/plans/2026-03-08-agent-memory-architecture.md

When repository behavior and these design docs disagree, treat the design docs as the target architecture and the codebase as transitional.

Development Notes

Historical docs reference:

uv sync
uv run main.py

Use those commands only if the dependency manifest exists in the checkout you are working from. Do not assume pyproject.toml is present.

Target Architecture Boundaries

Memory Layers

  • Markdown is canonical human truth.
  • qmd owns retrieval for canonical docs and document collections.
  • Zvec owns retrieval for promoted memory artifacts and non-doc semantic artifacts.
  • A small structured metadata store owns lifecycle state such as confidence, evidence, promotion status, staleness, scope, and sync state.
  • Cloud memory is an optional overlay for continuity, never the source of truth.

Reasoning Rules

  • Scratch reasoning is ephemeral and bounded.
  • Checkpoint summaries are recovery artifacts.
  • Promoted conclusions are the only durable machine memory.
  • Raw chain-of-thought should not be stored as long-term memory by default.
  • Promotion requires evidence, sufficient confidence, and likely reuse value.

Retrieval Rules

  • Retrieval is on demand and scoped to the active task.
  • Do not preload the whole codebase into context.
  • Pass handoff bundles and summaries between agents, not raw transcripts.
  • Token ceilings like 64K active context and 45K compaction triggers are policy defaults, not universal facts.

qmd Indexing Policy

Treat qmd indexing as a controlled workflow. Do not automatically spam indexing/update commands on every small change, and do not modify qmd's database directly. Queue or batch indexing work instead.

Read the full file on GitHub · 91 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 91 lines · 700 tokens per session scan A 6021438592ce

Subscribe to this mod's changes

sequential-thinking-mcp-v2 CLAUDE.md is an instructions file published in the GitHub repository spideynolove/sequential-thinking-mcp-v2 (9 stars, last pushed 7mo ago), licensed MIT. It adds 700 tokens to every session, about $0.0028 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

sequential-thinking-mcp-v2 CLAUDE.md compared with instructions from other repositories

sequential-thinking-mcp-v2 CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sequential-thinking-mcp-v2 CLAUDE.mdspideynolove/sequential-thinking-mcp-v2Instructions file97mo agoMITA700Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode