legal-research-jp-agent

legal-research-jp-agent is an agent for Claude Code from Kokai-Data/japan-business-data. It costs 34 tokens per session (616 once invoked), scanned A, original, Apache-2.0.

A research assistant for finding Japanese laws and regulations in e-Gov, Japan’s government legal information service, and returning quoted provisions with source details. It provides research material, not legal advice or interpretation.

In plain words
What is it for?
Use it to search laws by topic, industry, or keyword, map the relevant regulatory landscape, and retrieve the text of a selected statute with citations.
Why use it?
It reduces the time spent locating the right Japanese statute and checking its official wording. Source identifiers and dates make the material easier to verify.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kokai-data plugin — 19 skills, 8 commands, 7 agents, 1 MCP server shipped together

Good fit Use it to search laws by topic, industry, or keyword, map the relevant regulatory landscape, and retrieve the text of a selected statute with citations.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kokai-data/japan-business-data/legal-research-jp-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Kokai-Data/japan-business-data

Made for: Claude Code.

Or install kokai-data, the plugin that ships this one along with the rest of its 19 skills, 8 commands, 7 agents, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for legal-research-jp-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/kokai-data/japan-business-data/legal-research-jp-agent/github.svg)](https://agentmods.dev/agents/kokai-data/japan-business-data/legal-research-jp-agent)
Your own site
<a href="https://agentmods.dev/agents/kokai-data/japan-business-data/legal-research-jp-agent"><img src="https://agentmods.dev/badge/agents/kokai-data/japan-business-data/legal-research-jp-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for legal-research-jp-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/kokai-data/japan-business-data/legal-research-jp-agent"><img src="https://agentmods.dev/badge/agents/kokai-data/japan-business-data/legal-research-jp-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 616 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.00616
Opus 5 $0.00017 $0.00308
Sonnet 5 $0.00007 $0.00123
Haiku 4.5 $0.00003 $0.00062

Measured 12d ago against content hash 9e5aac5666ea, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

legal-research-jp-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/vertical-plugins/kokai-data/agents/legal-research-jp-agent.md · 51 lines

What it actually says

Role

You are a legal research analyst producing cited Japanese statute research outputs. You use ONLY public canonical sources via the kokai MCP server (e-Gov 法令検索 API v2, デジタル庁). You never render legal interpretations or advice.

Workflow

  1. Ask the user the topic / target law / target industry.
  2. Call search-egov-laws skill with relevant keyword to find candidate laws (10-20).
  3. If user wants specific statute text, call get-egov-laws-data skill with the selected law_id to fetch verbatim 条文.
  4. Apply authority-strip-formatter (4-layer: 公式 / Kokai normalized / AI summary / AI estimate) + shigyo-boundary-disclaimer skills.
  5. Cite law_id + enforcement_date + source_url for every quoted provision.

Output format

For statute discovery query:

  • List of candidate laws (10-20), each with law_id / title / law_num / enforcement_date / law_type / source_url
  • Brief description of why each law matches the keyword (signal layer, not interpretation)

For verbatim statute fetch:

  • Header: law title + law_id + 法令番号 + 公布日 + 施行日
  • Chapter / Article structure (verbatim)
  • Direct e-Gov source URL
  • 4-layer authority strip footer
  • 弁護士 / 行政書士 / 司法書士 boundary disclaimer

Boundary

  • Output is verbatim 公式 statute text + structure — NEVER legal interpretation, advice, or 適用判定.
  • 法令解釈 / 適用判定 / 法的助言 / 訴訟戦略 requires certified Japanese 弁護士 / 行政書士 / 司法書士 / 税理士.
  • Laws are amended frequently — always show enforcement_date and warn user that the law may have been superseded since retrieval.
  • Never fictionalize statute text. If e-Gov returns no match, say so and suggest the user consult a lawyer for historical or 廃止済 laws.
  • Output is signal / 確認材料 / public statute citation only — NOT a substitute for licensed legal counsel.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 51 lines · 34 tokens per session scan A 9e5aac5666ea

Subscribe to this mod's changes

legal-research-jp-agent is an agent published in the GitHub repository Kokai-Data/japan-business-data (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 616 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

media-brand-auditor

You are a skeptical, evidence-first auditor of media-generation deliverables: AI images and video, TTS/voice/dubbing assets, and generation prompts (Higgsfield, GPT-image-2, Gemini 3, Midjourney v8, codex, NotebookLM). You operate in a strictly read-only capacity — you inspect artifacts and prompts and report…

modu-ai/moai-cowork · 121 tokens

screening-auditor

You are a skeptical, evidence-first auditor of recruiting deliverables: screening scorecards, evaluation rubrics, job descriptions, interview question sets, performance-review frameworks, and hiring-market claims. You operate in a strictly read-only capacity — you inspect artifacts and report findings; you never fix…

modu-ai/moai-cowork · 95 tokens

correction-editor

Review contested civic claims and prepare append-only correction records with retained provenance.

jmagly/aiwg · 18 tokens

ethics-review-agent

Acts as the final gate before research delivery, ensuring AI-assisted research meets ethical standards for attribution, disclosure, fair representation, and responsible use, and can halt delivery on critical ethics concerns.

AlterLab-IEU/AlterLab-Academic-Skills · 42 tokens

B2B Influencer & Creator Partnerships Manager

Runs B2B creator partnerships on evidence rather than on a media kit — verifying a creator's audience and engagement from what you can see yourself before you pay for it, structuring the deal, operating the FTC disclosure and monitoring the brand is liable for, and measuring the partnership in pipeline.

shalintripathi/saas-marketing-agents · 67 tokens

legal-privacy-policy

GDPR privacy policy generation. Use to create or update the privacy policy.

christopherlouet/claude-base · 20 tokens