get_daily_signals
公開ルールに該当した銘柄(1件・1営業日遅れ)
公開ルール(BNF 25日線乖離が -15% 以下)に該当した銘柄を返す。★返すのは1件だけ★(該当した全銘柄の一覧は配布しない)。件数は返すので「今日は何件あったか」は分かる。1営業日遅れ(前営業日の終値で判定)。価格・株数・利確/損切ラインは含まない。該当は機械的な条件への一致であって、売買の判断ではない。
strategy
jp.ruletradePublished by ruletrade.jpOfficial publisherv0.2.0Updated Oct 24, 2026
Verified Japanese equity studies: 50 anomalies, 26 indicators, 12 candlesticks, events, ETF decay.
Remote MCP server that returns published backtest statistics for Japanese equity rules: anomalies, indicators, candlestick patterns, event reactions and…
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/jp.ruletrade%2Fmcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Add this to your client's mcpServers config.
{
"mcpServers": {
"rule-trade-japanese-equity-verification": {
"type": "http",
"url": "https://ruletrade.jp/mcp"
}
}
}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.
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.
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 は変わらない。
法務線は人向けサイトと同一:
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 に置換したコピー。更新するときは同じ手順でコピーし直す。
stock-trading- を選ぶ → Root directory に mcp を入れるnpx wrangler deploy(既定のまま)https://ruletrade-mcp.<account>.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://<project>.vercel.app/mcp がエンドポイントLOG_WEBHOOK を使う)https://ruletrade.jp/mcp/health → "ok": true なら完了https://ruletrade-mcp.<account>.workers.dev/health でも同じものが見える(切り分け用)*.workers.dev は案内しない)https://ruletrade.jp/mcpclaude mcp add --transport http ruletrade https://ruletrade.jp/mcplist_tools_guide を呼ぶよう initialize の instructions で案内している呼び出しログの形: {"ts","event":"tool_call","tool","args","ok","ms","scrubbed","client"}
(initialize 時は clientInfo も記録。実際にどう使われているかを見るための数字)
run_rule_backtest は、検証基盤(backtest_grid)ができた時点で検討。エンジンは二重に作らないSource: mcp/README.md at commit 1907eae
公開ルールに該当した銘柄(1件・1営業日遅れ)
公開ルール(BNF 25日線乖離が -15% 以下)に該当した銘柄を返す。★返すのは1件だけ★(該当した全銘柄の一覧は配布しない)。件数は返すので「今日は何件あったか」は分かる。1営業日遅れ(前営業日の終値で判定)。価格・株数・利確/損切ラインは含まない。該当は機械的な条件への一致であって、売買の判断ではない。
strategy地合い判定(BULLISH/NEUTRAL/BEARISH/PANIC)と3軸スコア
本番システムが日中に更新している相場環境の判定、サーキットブレーカー(HALT)状態、VIX、日経平均、当日シグナル件数を返す。あわせて3軸スコア(トレンド・短期リスク・需給をそれぞれ -2〜+2 で採点し、合計 -6〜+6 を5段階に分けたもの)と、各軸がその点数になった理由・5営業日以内の大型イベントを返す。銘柄名は含まない。オプションで日次履歴も返す。相場の予想ではない。
history_daysアノマリー検証結果(ジンクス50本)+暴落前兆(傾斜計5・着火メーター7)
日本株の言い伝え(アノマリー/ジンクス)50本を61年分の日経平均データで検証した結果(判定・勝率・平均リターン・標本数・p値)を返す。name を渡すとその名前を含むものだけに絞り込める(例: セルインメイ, 節分天井, 干支)。あわせて、5つの暴落前兆(逆イールド・CAPE・信用膨張・過熱・引き締め)の点灯状況と、着火メーター(7フラグ・20営業日以内に-10%が起きた過去の割合)の現在値も返す。detail=true で年代別の内訳・統計表・書籍上の根拠を含める。返すのは判定結果と統計値のみで、価格系列や財務値は含まない。
namedetail酒田五法12本の検証結果(採用ゼロ本)
三尊天井・赤三兵・三空叩き込みなど酒田五法12本を東証プライム1,550銘柄・10年半で検証した結果を返す。取引回数・勝率・PF・平均超過収益・p値・負け年・5つの採用基準のどれで落ちたか・不採用の理由を含む。12本すべてが採用基準を満たさなかった(採用ゼロ本)。最も PF の高い三空叩き込み(PF 3.04)も、期間を前半と後半に分けると符号が反転するため不採用としている。pattern を渡すとその形だけに絞り込める(日本語・英語の別名可。例: 三尊, head and shoulders, 赤三兵)。detail=true で保有日数別・相場環境別の内訳を含める。銘柄名・銘柄コード・価格は含まない。
detailpattern出来事のあとに何が起きたか(3つの検証)
ある出来事のあとに何が起きたかを、3つの検証からまとめて返す。(1)出来事27種 — 地震・利上げ・円安・関税・パンデミックなどのあと、市場全体を上回る動きがあったか。判定は 持続型/初動型/不発/逆行/市場全体のみ の5種類と、5つの窓(当日/翌日/5営業日後/1か月後/3か月後)の超過収益・勝率・p値。(2)決算後のドリフト — 決算発表のあと値動きが続くか。約26,000件の決算で検証。(3)指数の入替 — TOPIX の採用・除外でいつ・どちら向きに動くか。3つは別々のデータから同じ形を示している: 反応は出来事を通過する前か、ごく初期に終わる。出来事27種の「初動型」は翌朝の寄り付きで終わり、決算後のドリフトは+5日で統計的に消え、指数の入替は実施日で止まる。event を渡すと絞り込める(例: 地震, earthquake, 利上げ, 決算, PEAD, TOPIX, 日経225)。省略すると3つの見出しを返す。銘柄名・銘柄コード・銘柄バスケットは含まない。返すのは分類と統計だけ。
eventdetailテクニカル指標26種の検証結果(使える9 / 条件付き4 / 捨てろ13)
RSI・MACD・移動平均クロス・ボリンジャーバンドなどテクニカル指標26種を、教科書どおりの買い方で TOPIX500・10年・約50万回の売買として検証した結果を返す。勝率・期待値・PF・ランダムな売買との超過収益を、出口2種類(20営業日で手仕舞い / 8%トレーリング)で返す。判定は 使える9個 / 条件付き4個 / 捨てろ13個 の3段。「使える」の基準は8区分(出口2 × 上昇/下落/前半/後半)すべてで超過収益が +0.3% を超えること。捨てろ13個には入門書の最初に出てくる指標が並んでいる。name を渡すとその指標だけに絞り込める(日本語・英語の別名可。例: RSI, 一目, ichimoku, 乖離率)。detail=true で8区分すべての内訳を含める。銘柄名・銘柄コード・価格は含まない。
namedetailレバレッジ・インバースETFの減価(12年の実測)
日経ダブルインバース(1357)などレバレッジ・インバース型ETFを12年・2,964営業日ぶん実測した結果を返す。年別の理論値と実績・保有日数別の勝率と理論との乖離・地合い条件別の PF と最大ドローダウン・「戻るまで待つ」を305回試した結果を含む。日々の値動きを2倍にする商品なので、上下を往復するだけで元に戻らない(日経が+10%のあと-9.1%で元の水準に戻る2日間で、100→80→94.5)。検証結果には各節の「解釈で注意すべき点」を必ず添えて返す(日経が12年で約4倍になった上昇相場のデータであるため)。detail=true で地合い条件別の72通りを含める。日足の価格系列と個別株の銘柄情報は含まない。
codedetail使い方ガイド・データ更新時刻・免責
このサーバーの全ツール(8本)の説明、データの更新タイミングと遅延、返さないものの一覧、免責事項、今後の予定を返す。最初に一度呼ぶことを想定。
Takes no parameters.
90% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
Declare a license in the repository or the registry entry.
# Claude Codeclaude mcp add --transport http ruletrade https://ruletrade.jp/mcpcd mcpnpm test # 実際の docs/*.json をフィクスチャに35テスト(推奨語ゼロ・銘柄コードゼロの検査を含む)node dev.js # http://localhost:8787/mcpcurl -s localhost:8787/healthcurl -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}}}'