Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Verified Japanese equity studies: 50 anomalies, 26 indicators, 12 candlesticks, events, ETF decay.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://ruletrade.jp/mcp在终端中运行这条命令
claude mcp add --transport http ruletrade https://ruletrade.jp/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ruletrade": {
"url": "https://ruletrade.jp/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ruletrade": {
"type": "http",
"url": "https://ruletrade.jp/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://ruletrade.jp/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
发布者(ruletrade.jp)不是仓库所有者(oo12takemaru-create);可能是其他人代为上架的
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 0 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(0.2.0)于2个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Spec Driven Development, Remote Desktop Commander, OpenTakeoff
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Construction takeoff for AI agents: load plans, set scale, measure, count, export with provenance.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Endpoint: `https://ruletrade.jp/mcp` (llms.txt: https://ruletrade.jp/mcp/llms.txt · OpenAPI: https://ruletrade.jp/mcp/openapi.json · health: https://ruletrade.jp/mcp/health)
A verification layer for Japanese equities, exposed over MCP.
Most Japanese-equity MCP servers cover the *primary data* layer — filings, prices, order execution. This one covers what is missing: what actually happened when published, mechanical rules were applied. It holds no engine of its own; it reads JSON that an existing pipeline publishes daily and reshapes it. Zero dependencies, no API key, no registration.
| Tool | Returns |
|---|---|
get_daily_signals | One stock that matched a published mean-reversion rule (25-day moving-average deviation ≤ -15%), delayed one trading day. Counts are returned; the full list of matches is not distributed. |
get_market_regime | Machine-classified market regime (BULLISH / NEUTRAL / BEARISH / PANIC), circuit-breaker state, VIX, Nikkei 225, daily history, and a three-axis score (trend, short-term risk, supply and demand) with the reasoning behind each axis. No stock names. |
get_anomaly_summary | 50 Japanese market anomalies tested over 61 years — verdict, win rate, mean return, sample size, p-value, control group. Filter by name. Plus five crash-precursor gauges and a 7-flag ignition meter verified over 26 years. |
get_candlestick_verdict | All 12 classic Japanese candlestick patterns tested on 1,550 TSE Prime stocks over 10.5 years — trades, win rate, profit factor, excess return, p-value, losing years, and which of the five adoption criteria each one failed. None of them cleared the bar. The one with the highest profit factor (3.04) flipped sign between the first and second halves of the sample. |
get_event_reaction | What followed an event, from three separate studies — 27 event types (earthquakes, rate decisions, tariffs, pandemics), post-earnings drift across ~26,000 announcements, and index additions and deletions. All three point the same way: the move happens before the event clears. Per-stock rows and sector baskets are deliberately excluded. |
get_indicator_verdict | 26 technical indicators traded exactly as the textbooks describe — TOPIX500, 10 years, ~500,000 trades. Win rate, expectancy, profit factor and excess return over random entry, across two exits. Nine cleared every regime; thirteen did not, and those thirteen are mostly the ones beginners learn first. |
get_etf_decay | Twelve years of measured decay in leveraged and inverse ETFs — yearly theory against actual, win rate by holding period, profit factor by market condition, and 305 attempts to hold and wait for a position to come back (99.3% came back; the ones that did not lost 32.5%). |
list_tools_guide | Update times (JST), delays, what is deliberately not returned, disclaimer, roadmap. Call this first. |
Every response carries a disclaimer key. Do not strip it when relaying results to a user. Output describes whether mechanical rules matched. It is not investment advice, not a solicitation, and promises no future return.
# Claude Code
claude mcp add --transport http ruletrade https://ruletrade.jp/mcp
https://ruletrade.jp/mcphttps://ruletrade.jp/mcp (Streamable HTTP, stateless)The rules and verification data are published as books by the operator (Japanese, Kindle): *Silent Investor BNF*, *Crashes Decay*, and *All 50 Japanese Market Anomalies Tested Over 61 Years*. The anomaly dataset is a fixed snapshot taken at that book's publication (2026-08) and is not updated daily.
list_tools_guide.kaburadar.jp / ruletrade.jp が毎日公開している検証済みJSON(docs/*.json)を、 AIエージェント(Claude / Cursor / ChatGPT 等)から MCP で読めるようにする 変換層 です。 エンジンは持たず、GitHub raw の JSON を読んで整形するだけ。依存パッケージゼロ。
正規URL は `https://ruletrade.jp/mcp`。実体は Cloudflare Workers だが、 ruletrade.jp(Vercel)の vercel.json で rewrite しているため、配信先が変わっても利用者側の URL は変わらない。
| ツール | 読むJSON | 内容 |
|---|---|---|
get_daily_signals | free_scanner.json | BNF 25日線乖離ルールの該当銘柄(1営業日遅れ)。返すのは1件のみ・件数は返す |
get_market_regime | radar.json / market_jiai.json / radar_history.json / score3.json | 地合い BULLISH〜PANIC・HALT・VIX・日経・履歴 + 3軸スコア(トレンド/短期リスク/需給・5段階・軸ごとの根拠) |
get_anomaly_summary | anomaly_results.json / gauge.json / crash.json | ジンクス50本の検証結果(61年・判定/勝率/p値。name で絞り込み)+ 『暴落は、減衰する』5つの前兆 + 着火メーター(26年検証) |
get_candlestick_verdict | candlestick_verdict.json | 酒田五法12本の検証結果(東証プライム・10年半)。12本すべて不採用・落ちた基準・不採用の理由。pattern で絞り込み(日英の別名可) |
get_event_reaction | event_reaction.json / earnings_drift.json / supply_demand_events.json | 出来事のあとに何が起きたかを3つの検証から。①出来事27種(地震・利上げ・関税ほか) ②決算後のドリフト ③指数の入替。event で絞り込み(地震 / 決算 / TOPIX など) |
get_indicator_verdict | indicator_verdict.json | テクニカル指標26種の検証結果(TOPIX500・10年・約50万回)。使える9 / 条件付き4 / 捨てろ13・8区分のどこで基準に届かなかったか。name で絞り込み(日英の別名可) |
get_etf_decay | etf_decay.json | レバレッジ・インバースETFの減価(12年の実測)。年別・保有日数別・条件別と「戻るまで待つ」305回の結果。各節の「解釈で注意すべき点」を必ず添える |
list_tools_guide | (静的) | 使い方・更新時刻・遅延・免責・今後の予定 |
法務線は人向けサイトと同一:
src/legal.js の NG_WORDS)は出力から伏せ字にするdisclaimer キーを常設saying)は推奨語を含むため出力しないbaskets.csv 499行・決算の events_raw.csv・自社株買いの buyback_*.csv 5,523行)は生成側でも開いていないmcp/tools/legal_check.py が JSON を書き出す前に検査する。伏せ字(scrub)は最後の砦で、そこに頼ると「各[表現調整]点の日経平均」のように文の意味が壊れるdocs/*.json は既存の生成側(Python)が毎日書き出しているもの。MCP は読むだけで、生成側は一切触らない。
docs/anomaly_results.json / docs/candlestick_verdict.json / docs/event_reaction.json / docs/indicator_verdict.json / docs/etf_decay.json / docs/earnings_drift.json / docs/supply_demand_events.json の7つは 日次ではなく 書籍刊行時点の固定データ。後の2つは mcp/tools/build_*.py で検証の生出力から機械変換し、 mcp/tools/verify_*.py で元CSVと1つずつ突き合わせている(手で書き写さない)。
docs/anomaly_results.json だけは日次ではなく 書籍刊行時点(2026-08)の固定データ。 元は 株式投資開発/jinx_verification/results/results.json(このリポジトリの外)で、 JSON 非対応の NaN を null に置換したコピー。更新するときは同じ手順でコピーし直す。
| パス | 内容 |
|---|---|
POST /mcp | MCP Streamable HTTP(JSON-RPC・ステートレス) |
GET /health | 5つのJSONが読めるか確認 |
GET /llms.txt | エージェント向けの説明(英語主・日本語従) |
GET /openapi.json | OpenAPI 3.1。JSON-RPC を1エンドポイントとして記述 |
GET / | 概要 |
stock-trading- を選ぶ → Root directory に mcp を入れるnpx wrangler deploy(既定のまま)https://ruletrade-mcp. .workers.dev/mcp。 利用者に案内するのは正規URL `https://ruletrade.jp/mcp`(ruletrade.jp の site/vercel.json が rewrite する)。 Worker の URL が変わったときは site/vercel.json の2行と src/tools.js の CANONICAL_* を直すwrangler.toml の observability で有効化済み)。event:"tool_call" で絞ると呼び出し数が見えるstock-trading- を Importmcp に変更、Framework Preset は Otherhttps:// .vercel.app/mcp がエンドポイントLOG_WEBHOOK を使う)https://ruletrade.jp/mcp/health → "ok": true なら完了https://ruletrade-mcp. .workers.dev/health でも同じものが見える(切り分け用)*.workers.dev は案内しない)https://ruletrade.jp/mcpclaude mcp add --transport http ruletrade https://ruletrade.jp/mcplist_tools_guide を呼ぶよう initialize の instructions で案内している| 変数 | 用途 |
|---|---|
DATA_BASE | JSONの取得元(既定: GitHub raw の docs/)。リポジトリ非公開化時に差し替え |
ANOMALY_URL | 検証JSONを別配信先に置く場合に指定。get_anomaly_summary の jinx_verification_external にそのまま入る(通常は不要。既定は docs/anomaly_results.json) |
LOG_WEBHOOK | 呼び出しログ(1行JSON)をPOSTする先。GAS/Slack/Sheets 等で集計したい場合 |
CACHE_TTL_MS | インスタンス内キャッシュ(既定 60000) |
呼び出しログの形: {"ts","event":"tool_call","tool","args","ok","ms","scrubbed","client"} (initialize 時は clientInfo も記録。実際にどう使われているかを見るための数字)
cd mcp
npm test # 実際の docs/*.json をフィクスチャに35テスト(推奨語ゼロ・銘柄コードゼロの検査を含む) node dev.js # http://localhost:8787/mcp curl -s localhost:8787/health curl -s -X POST localhost:8787/mcp -H 'content-type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_market_regime","arguments":{"history_days":5}}}'
run_rule_backtest は、検証基盤(backtest_grid)ができた時点で検討。エンジンは二重に作らない