Japan RuleWatch

io.github.kadopiPublished by GitHub account kadopiv0.1.1Updated Oct 24, 2026

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

Overview

AI-generated overview

A remote MCP server that gives an assistant curated official Japanese sources on ecommerce advertising and tourism entry, plus paid tourism evidence packs.

What you can do
Search a small curated index of official Japanese sources on mail-order advertising and return policies, then pull an evidence pack for one rule ID with source links and scope limits. Search a fixed Japan tourism entry-case catalog by region, activity and language to see a model case and its known gaps. Classify a Japan-bound hotel or tourism service flow into an A/B/C model, listing missing facts and manual-review triggers. Read business-only commercial terms and sale readiness for a paid product. Retrieve paid packs: a fixed tourism evidence pack or a fixed entry-preparation pack with sources, contacts, consultation text and next actions.
When to use it
Useful when an authorized business needs to research official Japanese ecommerce sources, assess a Japan experiential-tourism entry workflow, or screen a hotel or tourism service flow before a business decision. It is informational evidence, not legal advice or a compliance verdict.
Requirements
A remote Streamable HTTP endpoint; no local runtime, account, API key or header is declared. Paid packs require a compatible buyer wallet and payment in USDC on Base Mainnet (5 USDC per purchase); a Base Sepolia test path uses 0.01 test USDC. Network access is needed.
Before you install
Paid tools spend real money: 5 USDC on Base Mainnet per purchase, offered only to businesses or agents acting for an authorized business principal, not for household consumers. A buyer wallet signs the x402 payment request. Do not send private keys or raw payment proofs. Payment state and saved paid results are retained in a database. Outputs are informational and not a legal verdict; verify official sources yourself.

Installation

In SourceWeft

  1. Open Japan RuleWatch in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

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/io.github.kadopi%2Fjapan-rulewatch-mcp/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.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "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

Source: README.md at commit bfefa39

Tools

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.

Parameterslimitqueryrequired

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.

Parametersproduct_idrequired

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.

Parametersactivityrequiredlanguagerequiredregion_idrequired

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.

Parameterspack_idrequiredlanguagerequiredbuyer_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.

Parametersidrequired

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.

ParameterscollectsTravelPaymentactsAsContractingPartyhandlesCancellationOrRefundacceptsReservationOnPlatform

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.

ParameterscollectsTravelPaymentactsAsContractingPartyhandlesCancellationOrRefundacceptsReservationOnPlatform

Version history

1
  1. v0.1.1LatestSep 16, 2026

Score

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.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.