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.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ใช้ได้ทั้ง Claude บนเว็บ แอปคอมพิวเตอร์ และมือถือ:
https://ruletrade.jp/mcpพิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http ruletrade https://ruletrade.jp/mcpวางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"ruletrade": {
"url": "https://ruletrade.jp/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"ruletrade": {
"type": "http",
"url": "https://ruletrade.jp/mcp"
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ChatGPT ต่อได้เฉพาะ server ที่อยู่บนอินเทอร์เน็ต:
https://ruletrade.jp/mcpชื่อเมนูอาจต่างกันเล็กน้อยตามแพ็กเกจและรุ่นของแอป
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ผู้ลงทะเบียน (ruletrade.jp) ไม่ใช่เจ้าของ repo (oo12takemaru-create) อาจเป็นคนอื่นที่นำมาลงต่อ
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 0 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนคลาวด์ของผู้ทำ ต่อผ่านอินเทอร์เน็ตได้เลย ไม่ต้องลงโปรแกรม แต่ข้อมูลที่ส่งให้จะผ่านเซิร์ฟเวอร์ของผู้ทำ
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.0) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, AvaHR
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
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.
Read hiring data and create inactive assessment and questionnaire drafts for human review.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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)ができた時点で検討。エンジンは二重に作らない