Japan RuleWatch

io.github.kadopi由 GitHub 帳號 kadopi 發布v0.1.1更新於 Oct 24, 2026

Japan tourism entry and ecommerce evidence MCP for business agents; free tools and x402 pack.

已驗證Streamable HTTP可網頁執行位置與生活網頁搜尋與抓取商業與電商

概覽

AI 產生的概覽

一個遠端 MCP 伺服器,讓助理檢索日本電商廣告與旅遊入境的官方來源,並提供付費旅遊證據包。

可以做什麼
檢索一個小型精選索引,取得日本郵購廣告與退貨政策相關的官方來源,並依規則 ID 取回含來源連結與適用範圍限制的證據包。依地區、活動與語言檢索固定的日本旅遊入境案例目錄,查看示範案例及其已知缺口。將赴日飯店或旅遊服務流程歸入 A/B/C 模型,列出缺少的事實與需人工複核的觸發條件。讀取付費產品的僅限企業商業條款與銷售就緒狀態。取得付費包:固定的旅遊證據包,或含來源、聯絡方式、諮詢文字與後續行動的固定入境準備包。
適用情境
適用於獲授權的企業研究日本電商官方來源、評估日本體驗式旅遊入境流程,或在商業決策前篩檢飯店或旅遊服務流程。它提供資訊性證據,不構成法律意見或合規結論。
執行需求
遠端 Streamable HTTP 端點;未宣告本機執行環境、帳號、API 金鑰或請求標頭。付費包需要相容的買方錢包,並在 Base Mainnet 以 USDC 支付(每次購買 5 USDC);Base Sepolia 測試路徑使用 0.01 測試 USDC。需要網路存取。
安裝前請注意
付費工具會花費真實資金:Base Mainnet 每次購買 5 USDC,僅提供給企業或代表獲授權企業主體行事的代理,不提供給家庭消費者。買方錢包需簽署 x402 支付請求。請勿傳送私鑰或原始支付證明。支付狀態與已儲存的付費結果會保留在資料庫中。輸出僅為資訊性內容,不構成法律結論;請自行核實官方來源。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Japan RuleWatch,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.kadopi%2Fjapan-rulewatch-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "japan-rulewatch": {
      "type": "http",
      "url": "https://japan-rulewatch-mcp-mainnet.kadopi.workers.dev/mcp"
    }
  }
}

README

Japan RuleWatch

Remote MCP for official Japanese rule evidence. The current paid Mainnet product is a fixed Japan tourism entry-preparation pack for businesses and AI agents acting for an authorized business principal.

For AI agents: discover, test, then decide

MCP endpoint: https://japan-rulewatch-mcp-mainnet.kadopi.workers.dev/mcp

Use Japan RuleWatch when an authorized business needs to assess a Japan experiential-tourism entry workflow, research official Japanese ecommerce sources, or classify a hotel/tourism service flow before a business decision. It is a private commercial information service, not a government service.

Start with one free tool that matches the task:

NeedFirst MCP callResult
Japan experiential-tourism entry modelsearch_entry_cases with {"region_id":"jp-tokushima-miyoshi-iya","activity":"food_culture_workshop","language":"en"}A fixed model case, known gaps, and first decision themes.
Tourism platform/service-flow checkget_tourism_preflightA/B/C classification, missing facts, and manual-review triggers.
Japanese ecommerce evidencesearch_rules with {"query":"return policy","limit":2}Curated official-source pointers.

If the Iya model case is relevant, call get_commercial_terms with {"product_id":"jp-tokushima-miyoshi-iya-soba"}. Japan RuleWatch itself then handles any disclosed x402 payment request, receipt, and delivery; no private key or wallet access is given to another service.

Discovery tags: mcp, japan-tourism, tour-operator, market-entry, official-sources, ecommerce, x402.

It exposes the existing evidence tools plus one fixed tourism-entry product over stateless Streamable HTTP:

  • search_rules and get_evidence_pack: free ecommerce evidence lookup.
  • get_tourism_preflight: free A/B/C service-flow classification, missing facts, and manual-review triggers.
  • get_tourism_evidence_pack: x402-paid tourism evidence pack for a complete supported A/B/C flow.
  • get_commercial_terms: free commercial-terms profile and Mainnet sale-readiness for a paid product.
  • search_entry_cases: free search for the Iya soba experience sample and its known gaps.
  • get_entry_pack: paid retrieval of the fixed Iya soba entry-preparation pack.

The paid pack returns official URLs, evidence locations, checked dates, source versions, general requirements, traveler-screen checks, and re-check triggers. It does not determine legal compliance, travel-business registration requirements, or legal risk for a particular service.

Mainnet endpoint

https://japan-rulewatch-mcp-mainnet.kadopi.workers.dev/mcp

Paid Mainnet purchase flow

  1. Call get_commercial_terms with jp-tokushima-miyoshi-iya-soba to read the business-only purchase conditions.
  2. Call get_entry_pack with {"pack_id":"jp-tokushima-miyoshi-iya-soba","language":"en"}. The service returns the current terms version and hash, without requesting payment.
  3. Submit the returned terms version and hash with business_purchase_confirmed: true, the contracting business name, and its ISO country code.
  4. The service returns an x402 payment request for exactly 5 USDC on Base Mainnet. A compatible buyer wallet signs the request and receives the pack and purchase receipt.

The price is 5 USDC for one purchase on Base Mainnet. The saved result can be retrieved for seven days with the same payment proof, tool, normalized input, price condition, and content version. Base Sepolia uses 0.01 test USDC only for integration verification.

The paid service is offered only to businesses and AI agents acting for an authorized business principal. It is not offered for household consumer use; submitting payment represents business use under the disclosed purchase terms. Until the product-specific commercial profile is ready, Mainnet paid delivery is blocked before a payment requirement is returned. Normal delivery and retrieval are automated. Unresolved purchase exceptions can be sent to the email in the purchase terms with a purchase ID and transaction reference. Do not send private keys or raw payment proofs.

The Mainnet runbook, including the first successful 5-USDC payment evidence, is in docs/MAINNET_RUNBOOK.md.

Japan Rule is an independent, privately operated commercial information service. It is not operated by a government or municipality. Official-source links do not imply affiliation or endorsement. The fee covers Japan Rule's information service, not a government application or permit fee.

Example: find official sources for a Japanese ecommerce workflow

Use Japan RuleWatch to find curated official sources when researching mail-order advertising and return-policy disclosures for a Japanese online store.

Connect your MCP client to the public endpoint above.

  1. Call search_rules with {"query":"return policy","limit":2}.
  2. Choose a returned ID and call get_evidence_pack, for example {"id":"caa-mail-order-advertising-qa"}.

The response includes an official source URL, a short summary, and scope limitations. Open the official source to verify its current content before using it. This is a small curated index, not a live legal-update feed, a website scanner, or a compliance verdict. retrievedAt is the response time, not the date the official source was last verified.

Local development

bash
npm installnpx wrangler d1 create your-japan-rulewatch-purchases# Replace the Worker name, D1 name/ID, and receiving address placeholders in wrangler.jsonc.npx wrangler d1 execute your-japan-rulewatch-purchases --local --file migrations/0001_purchases.sqlnpm run checknpm testnpm run dev

Endpoints:

  • GET /
  • GET /health
  • MCP Streamable HTTP: /mcp

Safety boundary

  • Official HTTPS sources only
  • Fixed local dataset; no arbitrary URL fetching
  • Read-only tools
  • Inputs limited by schema; incomplete tourism requests are never charged
  • D1 retains payment state and saved paid results; no private key or raw proof
  • Outputs are informational evidence, not legal advice

Mainnet deployment and the first 5-USDC purchase have been verified. Future releases and payments remain separate operational decisions.

AI discovery links

來源:README.md,提交 bfefa39

工具

7

search_rules

Search a small curated index of official Japanese sources about mail-order sales advertising. Use this before get_evidence_pack. Results are evidence pointers, not legal conclusions.

輸入參數limitquery必填

get_commercial_terms

Free: return the current business-only commercial terms profile for a supported paid product. A status other than ready means Mainnet purchase is unavailable.

輸入參數product_id必填

search_entry_cases

Free: search the fixed Japan tourism entry-case catalog by region, activity, and language. Returns a model-case preview, key decision themes and what the paid preparation pack adds. It does not include source locations, contact routes, inquiry text or an action plan. Japan Rule is a private commercial service, not a government service.

輸入參數activity必填language必填region_id必填

get_entry_pack

Paid: return the fixed Iya soba entry-preparation pack with sources, contacts, consultation text, unknowns, and next actions. It gives no customer-specific legal verdict. Japan Rule is not a government service.

輸入參數pack_id必填language必填buyer_country_codebuyer_business_nameaccepted_terms_sha256accepted_terms_versionbusiness_purchase_confirmed

get_evidence_pack

Return a concise evidence pack for one rule ID returned by search_rules. Includes official URLs, scope limits, and no legal-compliance verdict.

輸入參數id必填

get_tourism_preflight

Free: classify a Japan-bound hotel service flow into the supported A/B/C model, list missing facts, and flag manual review. It does not return primary-source evidence.

輸入參數collectsTravelPaymentactsAsContractingPartyhandlesCancellationOrRefundacceptsReservationOnPlatform

get_tourism_evidence_pack

Paid: return official Japanese primary-source URLs, evidence locations, checked dates, source versions, general requirements, traveler-screen checks, and re-check triggers for a complete supported A/B/C flow. This is informational evidence, not a legal verdict.

輸入參數collectsTravelPaymentactsAsContractingPartyhandlesCancellationOrRefundacceptsReservationOnPlatform

版本歷史

1
  1. v0.1.1最新Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。