eu.ansvar/japan-law-mcp

Japan legislation via MCP — full-text search across statutes and provisions

0Apache-2.0search

Install

Config snippet generator goes here (5 client tabs)

README

# Japanese Law MCP Server

**The e-Gov Laws alternative for the AI age.**

[![npm version](https://badge.fury.io/js/%40ansvar/japan-law-mcp.svg)](https://www.npmjs.com/package/@ansvar/japan-law-mcp)
[![MCP Registry](https://img.shields.io/badge/MCP-Registry-blue)](https://registry.modelcontextprotocol.io)
[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![GitHub stars](https://img.shields.io/github/stars/Ansvar-Systems/Japan-law-mcp?style=social)](https://github.com/Ansvar-Systems/Japan-law-mcp)
[![CI](https://github.com/Ansvar-Systems/Japan-law-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/Ansvar-Systems/Japan-law-mcp/actions/workflows/ci.yml)

Query **Japanese legislation** -- covering data protection, cybersecurity, corporate law, and more -- directly from Claude, Cursor, or any MCP-compatible client.

If you're building legal tech, compliance tools, or doing Japanese legal research, this is your verified reference database.

Built by [Ansvar Systems](https://ansvar.eu) -- Stockholm, Sweden

---

## Why This Exists

Japanese legal research is scattered across official government databases, commercial legal platforms, and institutional archives. Whether you're:
- A **lawyer** validating citations in a brief or contract
- A **compliance officer** checking if a statute is still in force
- A **legal tech developer** building tools on Japanese law
- A **researcher** tracing legislative history

...you shouldn't need dozens of browser tabs and manual PDF cross-referencing. Ask Claude. Get the exact provision. With context.

This MCP server makes Japanese law **searchable, cross-referenceable, and AI-readable**.

---

## Quick Start

### Use Remotely (No Install Needed)

> Connect directly to the hosted version -- zero dependencies, nothing to install.

**Endpoint:** `https://japan-law-mcp.vercel.app/mcp`

| Client | How to Connect |
|--------|---------------|
| **Claude.ai** | Settings > Connectors > Add Integration > paste URL |
| **Claude Code** | `claude mcp add japan-law --transport http https://japan-law-mcp.vercel.app/mcp` |
| **Claude Desktop** | Add to config (see below) |
| **GitHub Copilot** | Add to VS Code settings (see below) |

**Claude Desktop** -- add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "japan-law": {
      "type": "url",
      "url": "https://japan-law-mcp.vercel.app/mcp"
    }
  }
}
```

**GitHub Copilot** -- add to VS Code `settings.json`:

```json
{
  "github.copilot.chat.mcp.servers": {
    "japan-law": {
      "type": "http",
      "url": "https://japan-law-mcp.vercel.app/mcp"
    }
  }
}
```

### Use Locally (npm)

```bash
npx @ansvar/japan-law-mcp
```

**Claude Desktop** -- add to `claude_desktop_config.json`:

**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
**Windows:** `%APPDATA%\Claude\claude_desktop_config.json`

```json
{
  "mcpServers": {
    "japan-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/japan-law-mcp"]
    }
  }
}
```

**Cursor / VS Code:**

```json
{
  "mcp.servers": {
    "japan-law": {
      "command": "npx",
      "args": ["-y", "@ansvar/japan-law-mcp"]
    }
  }
}
```

---

## Example Queries

Once connected, just ask naturally:

- *"What does the Japanese data protection law say about consent?"*
- *"Search for cybersecurity requirements in Japanese legislation"*
- *"Is this statute still in force?"*
- *"Find provisions about personal data in Japanese law"*
- *"What EU directives does this Japanese law implement?"*
- *"Which Japanese laws implement the GDPR?"*
- *"Validate this legal citation"*
- *"Build a legal stance on data breach notification requirements"*

---

## Laws Covered

| Law | Japanese Name | Act Number | Key Topic |
|-----|--------------|------------|-----------|
| **Act on Protection of Personal Information (APPI)** | 個人情報の保護に関する法律 | Act No. 57 of 2003 (amended 2020) | Personal data protection (EU adequacy) |
| **Cybersecurity Basic Act** | サイバーセキュリティ基本法 | Act No. 104 of 2014 | National cybersecurity framework |
| **Telecommunications Business Act** | 電気通信事業法 | Act No. 86 of 1984 | Telecom regulation, communications secrecy |
| **Companies Act** | 会社法 | Act No. 86 of 2005 | Corporate governance, shareholder rights |
| **Act on Prohibition of Unauthorized Computer Access** | 不正アクセス行為の禁止等に関する法律 | Act No. 128 of 1999 | Anti-hacking, unauthorized access |
| **My Number Act** | 行政手続における特定の個人を識別するための番号の利用等に関する法律 | Act No. 27 of 2013 | National ID number system |
| **Constitution (selected provisions)** | 日本国憲法 | 1946 | Fundamental rights, Article 13 (privacy basis) |

Additionally includes key PPC guidelines and supplementary materials:

- APPI Guidelines (General Rules, Cross-Border Transfer, etc.)
- PPC Q&A on APPI interpretation
- EU-Japan Adequacy Decision supplementary rules

---

## Deployment Tiers

| Tier | Content | Database Size | Platform |
|------|---------|---------------|----------|
| **Fre