Open X-Law Agent →日本語English中文한국어

X-Law Agent: an AI agent for Japanese law

X-Law Agent is an AI agent specialized in Japanese law. It searches Japanese statutes, court cases and municipal ordinances, and answers questions with the provisions it relied on. It is developed and operated by X-Law Inc. (X-Law合同会社), Japan, and is available on the web (x-law.jp) and as an iPhone app. You can ask in English: the answer comes in English, with the Japanese name of each law alongside.

Open X-Law Agent →

At a glance

Name
X-Law Agent
What it is
An AI agent for Japanese law: legal information search and answers, and contract review support
Operator
X-Law Inc. (X-Law合同会社), established 27 February 2026
Released
Web: 28 October 2026. iPhone app: 1 December 2026 (App Store, Japan)
Languages
Japanese, English, Chinese and Korean. Answers are in the language of the question; the materials searched are the original Japanese texts
Model
The company's own model, XLaw-JP-27B, running on its own servers. Questions and documents are not sent to outside AI services and are not used for training
Status
Reference information. It is not legal advice and it is not a lawyer

What it does

Legal information chat
Searches the relevant statutes, cases and official guidelines for a question and answers with the provisions it referred to
Contract review support
Reads a contract (Word, PDF or image) and, clause by clause, points out risks, negotiation points and material for revisions. Results are in Japanese
Contract drafting support
Drafts a Japanese contract from an outline of the deal
Statute search
Searches current Japanese laws and regulations (e-Gov law data) article by article
Case law search
Searches the holdings and summaries of about 30,000 Japanese court decisions
Municipal ordinance search and comparison
Searches the ordinances and rules of 1,171 local governments in all 47 prefectures (about 18 million articles) and compares how different municipalities regulate the same matter
Guide summary (trial version)
Summarizes official permit and licence guides issued by Japanese authorities
Patent search (BETA)
Finds related Japanese patent documents for an invention and compares them element by element

Prices (Japanese consumption tax included)

Free
¥0. Up to 10 chat questions per day
Light
¥2,980 per month
Standard
¥4,980 per month
Business
¥9,800 per month (up to 5 users)
Pay as you go
A prepaid balance (from ¥1,000) can pay for individual uses instead of a plan

For developers (API and MCP)

API
https://api.x-law.jp/v1 . ¥10 per answer, ¥5 per statute or case search, ¥20 per ordinance search (tax included, pay per call)
MCP
AI assistants can call it as a tool at https://api.x-law.jp/v1/mcp . Tools: ask_japanese_law, search_japanese_statutes, search_japanese_cases, search_japanese_local_ordinances
Documentation
https://x-law.jp/api?lang=en

Research

Paper
arXiv:2610.39227
Benchmark data
XLaw-Bench (Hugging Face: X-LawJapan/xlaw-bench)

Questions and answers

What is X-Law Agent?

An AI agent for Japanese law. It searches Japanese statutes, court cases and municipal ordinances and answers a question with the provisions it relied on. It also supports contract review and compares ordinances across municipalities.

Can I ask about Japanese law in English?

Yes. A question in English, Chinese or Korean is answered in that language. The materials searched are Japanese laws and cases, and the Japanese name of each law is given alongside.

Is it free?

Yes, up to 10 chat questions per day. Paid plans start at ¥2,980 per month, tax included.

Is the answer legal advice?

No. Answers are reference information, not legal advice. For important decisions or a dispute, consult a lawyer or other professional.

Is what I enter used to train AI?

No. Questions and documents are processed by the company's own model on its own servers. They are not sent to outside AI services and not used for training.

Can other software or AI assistants use it?

Yes. There is a pay-per-call developer API and an MCP server for AI assistants.

Links

Contact: [email protected] | Last updated: 2026-12-03 | © 2026 X-Law合同会社