Lawstronaut Legal Research について
Lawstronaut Legal Researchは、複数の法域を対象とする法律調査向けMCPサーバーです。AIエージェントやソフトウェアが、構造化された法律文書を検索・絞り込み、全文を取得できます。
主な機能
- 01法域と法律分類の参照
- 02メタデータによる文書検索
- 03文書全文の取得
- 04Bearer tokenとOAuth 2.0認証
活用シーン
- 01法域を指定した法令・判例の検索
- 02状態や日付による文書の追跡
- 03エージェントの調査用に法律全文を取得
MCP 対応
MCPクライアントに、法域、分類、ポータル、管轄機関、法律文書の検索ツールと全文取得機能を公開します。Streamable HTTPで接続し、Bearer tokenまたはOAuth 2.0認証に対応します。
設定
リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。
https://mcp.lawstronaut.comclaude mcp add --transport http lawstronaut-legal-research https://mcp.lawstronaut.com{"mcpServers":{"lawstronaut-legal-research":{"type":"http","url":"https://mcp.lawstronaut.com"}}}Cursor で開く{"servers":{"lawstronaut-legal-research":{"type":"http","url":"https://mcp.lawstronaut.com"}}}VS Code で開く{"mcpServers":{"lawstronaut-legal-research":{"type":"http","url":"https://mcp.lawstronaut.com"}}}{"mcpServers":{"lawstronaut-legal-research":{"serverUrl":"https://mcp.lawstronaut.com"}}}コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。
ツール
16このツールにパラメーターはありません。
詳細
Lawstronaut MCP
Model Context Protocolに対応するClaude、ChatGPT、Cursor、およびあらゆるAIエージェントをlawstronautに接続できます。AIを5,000万件以上の法律および裁判例に接続しましょう!
これは何ですか?
Lawstronautは、150以上の法域にわたる何百万件もの法律文書とAIエージェントやソフトウェアをつなぐインフラストラクチャレイヤーです。構造化された法律データは継続的に更新され、MCP経由ですぐに利用できます。
認証
本番環境のMCPサーバー:https://mcp.lawstronaut.com
トランスポート:Streamable HTTP経由のMCP(POST /)。
公開サーバーカード(ツール一覧、認証不要):
https://mcp.lawstronaut.com/.well-known/mcp/server-card.json
Lawstronaut MCPは、BearerトークンとOAuth 2.0(client_id + client_secret)に対応しています。有料サブスクリプションが必要です。
| 方法 | 最適な用途 | ツール一覧 | ツール呼び出し |
|---|---|---|---|
| Bearerトークン | CLI、スクリプト、OAuthに対応しないクライアント | 認証不要 | Authorization: Bearer <token> |
| OAuth 2.0 | Cursor、VS Code、Claude、公開プラットフォーム | 認証不要 | OAuthアクセストークン(クライアントが自動管理) |
クライアントID、シークレット、またはBearerトークンを取得する
- lawstronaut.comにアクセスして、サブスクリプションを購入します。
- 開発者ポータルにログインします。
- HomeメニューからMCP server accessを開きます。
- client ID + client secret(OAuth)またはbearer tokenを作成します。
オプションA — Bearerトークン
MCP server accessから取得したBearerトークンを使用します。
Authorization: Bearer <your-token>
環境に設定します。
export LAWSTRONAUT_MCP_BEARER_TOKEN="your-token-here"
設定例:cursor-mcp.json、vscode-mcp.json、claude-code.mcp.json。
オプションB — OAuth 2.0(client_id + client_secret)
開発者ポータルのMCP server accessで作成したclient_idとclient_secretを使用します。
| エンドポイント | URL |
|---|---|
| MCPサーバー | https://mcp.lawstronaut.com |
| 認証 | https://mcp.lawstronaut.com/oauth/authorize |
| トークン | https://mcp.lawstronaut.com/oauth/token |
| OAuthディスカバリー | https://mcp.lawstronaut.com/.well-known/oauth-authorization-server |
| 保護されたリソース | https://mcp.lawstronaut.com/.well-known/oauth-protected-resource |
フロー: response_type=code → codeを含むリダイレクト → grant_type=authorization_code、client_id、client_secret、code、redirect_uriを指定して/oauth/tokenで交換します。
MCP OAuthディスカバリーに対応するクライアントでは、サーバーURLを指定するだけで、登録済みのclient_id / client_secretを使用してフローが処理されます。
設定例:cursor-mcp-oauth.json、vscode-mcp-oauth.json。
セットアップ
クライアントを選び、設定を貼り付けて、lawstronautアカウントで認証します。ほとんどのクライアントでは、エージェントが初めてlawstronautのツールを使用するときに、OAuth用のブラウザーウィンドウが開きます。
Cursor
Bearer トークン
cursor-mcp.jsonを.cursor/mcp.json(プロジェクト)または~/.cursor/mcp.json(グローバル)にコピーします。LAWSTRONAUT_MCP_BEARER_TOKENをエクスポートします。- Cursor を再起動します。接続に失敗した場合は、Output → MCP Logs を確認してください。
OAuth
cursor-mcp-oauth.jsonを.cursor/mcp.jsonにコピーします。- Cursor のプロンプトが表示されたら、OAuth サインインを完了します(登録済みの
client_id/client_secretを使用します)。
ドキュメント:Cursor MCP。
VS Code(GitHub Copilot agent / MCP)
Bearer トークン
vscode-mcp.jsonを.vscode/mcp.jsonにコピーするか、ユーザー MCP 設定にマージします。- MCP: List Servers を実行し、プロンプトが表示されたら Bearer トークンを入力します。
OAuth
vscode-mcp-oauth.jsonを.vscode/mcp.jsonにコピーします。- プロンプトが表示されたら、VS Code からサインインします。
ドキュメント:MCP configuration reference。
Claude Code(CLI)
Bearer トークン — CLI
export LAWSTRONAUT_MCP_BEARER_TOKEN="your-token-here"
claude mcp add --transport http lawstronaut-mcp https://mcp.lawstronaut.com \
--header "Authorization: Bearer $LAWSTRONAUT_MCP_BEARER_TOKEN"
Bearer トークン — プロジェクトファイル
claude-code.mcp.json をプロジェクトのルートにある .mcp.json にコピーします。
OAuth
サーバー URL のみを追加し、プロンプトが表示されたら OAuth を完了します。
claude mcp add --transport http lawstronaut-mcp https://mcp.lawstronaut.com
ドキュメント:Connect Claude Code to tools via MCP。
Claude Desktop(Anthropic アプリ)
Claude Desktop は stdio MCP サーバー向けに設計されています。この HTTP サーバーには、Cursor、VS Code、Claude Code、またはリモート Streamable HTTP MCP に対応したホストを使用してください。
Customize に移動し、Connectors を選択して「+」をクリックし、Add Custom Connector を選択して、ダイアログに入力します。
その他のホスト(Continue、Zed、カスタムエージェントなど)
MCP Streamable HTTP に対応したクライアントであれば、次の情報で接続できます。
- URL:
https://mcp.lawstronaut.com - Bearer:
Authorization: Bearer <token> - OAuth:
client_id/client_secretを使用して/.well-known/oauth-authorization-serverからディスカバリーを利用します
ツール
-
list_jurisdictions - Lawstronaut コーパスに含まれるすべての法域(国/州)を一覧表示します。他のツールで有効な ISO コードを取得するため、最初に呼び出してください。
-
list_domains - 法分野を一覧表示します。名前での絞り込みとページネーションに対応しています。
domain:名前で法分野を絞り込みます(文字列、任意)limit:返す結果の数です(数値、任意)offset:スキップする結果の数です(数値、任意)
-
list_subdomains - ドメイン ID のサブドメインを一覧表示します。名前で絞り込み、結果をページネーションできます。
domain_id:ドメイン ID で絞り込みます(文字列、必須)subdomain:名前でサブドメインを絞り込みます(文字列、任意)limit:返す結果の数です(数値、任意)offset:スキップする結果の数です(数値、任意)
-
list_categories - サブドメインの法的カテゴリを一覧表示します。名前で絞り込み、結果をページネーションできます。
subdomain_id:サブドメイン ID で絞り込みます(文字列、任意)category_name:名前でカテゴリを絞り込みます(文字列、任意)limit:返す結果の数です(数値、任意)offset:スキップする結果の数です(数値、任意)
-
list_subcategories - カテゴリ ID のサブカテゴリを一覧表示します。名前で絞り込み、結果をページネーションできます。
category_id:カテゴリ ID で絞り込みます(文字列、必須)subcategory_name:名前でサブカテゴリを絞り込みます(文字列、任意)limit:返す結果の数です(数値、任意)offset:スキップする結果の数です(数値、任意)
-
list_law_types - サブカテゴリ ID の法律の種類を一覧表示します。名前で絞り込み、結果をページネーションできます。
subcategory_id:サブカテゴリ ID で絞り込みます(文字列、必須)law_type:名前で法律の種類を絞り込みます(文字列、任意)limit:返す結果の数です(数値、任意)offset:スキップする結果の数です(数値、任意)
-
list_portals - 管轄区域の法務ポータルを一覧表示します — 名前、言語、またはタグで絞り込みます
iso: 管轄区域の ISO コードで絞り込みます(例:'US')(string、必須)name: ポータル名で絞り込みます(string、任意)tag: タグで絞り込みます(string、任意)lang: 言語で絞り込みます(string、任意)
-
list_authority_types - 管轄区域の当局種別を一覧表示します — ポータルまたは当局種別で絞り込みます
iso: 管轄区域の ISO コードで絞り込みます(例:'US')(string、必須)limit: 返す結果の件数(number、任意)offset: スキップする結果の件数(number、任意)portal_name: ポータル名で絞り込みます(string、任意)authority_type: 当局種別で絞り込みます(string、任意)
-
list_issuing_authorities - 管轄区域の発行機関を一覧表示します — ポータル名または機関名で絞り込みます
iso: 管轄区域の ISO コードで絞り込みます(例:'US')(string、必須)limit: 返す結果の件数(number、任意)offset: スキップする結果の件数(number、任意)portal_name: ポータル名で絞り込みます(string、任意)issuing_authority: 発行機関で絞り込みます(string、任意)
-
list_documents - 管轄区域の法務文書を一覧表示します — タイトル、日付、ポータル、ステータス、タグなどで絞り込みます
iso: 管轄区域の ISO コードで絞り込みます(例:'US')(string、必須)portal: ポータル名で絞り込みます(string、任意)version: 文書のバージョン(string、任意)limit: 返す結果の件数(number、任意)offset: スキップする結果の件数(number、任意)document_id: 文書 ID(string、任意)repealed: 廃止済みかどうかで絞り込みます(boolean、任意)title: タイトルで絞り込みます(string、任意)section_title: セクションタイトルで絞り込みます(string、任意)url: URL で絞り込みます(string、任意)status: ステータスで絞り込みます(string、任意)crawling_date: クロール日で絞り込みます(string、任意)last_updated: 最終更新日で絞り込みます(string、任意)last_amendment: 最終改正日で絞り込みます(string、任意)publication_date: 公布日で絞り込みます(string、任意)expiration_date: 失効日で絞り込みます(string、任意)effective_date: 発効日で絞り込みます(string、任意)date_of_enactment: 制定日で絞り込みます(string、任意)date_of_decision: 決定日で絞り込みます(string、任意)file_data_only: ファイル関連データのみを返します(boolean、任意)issuing_authority: 発行機関で絞り込みます(string、任意)type_of_authority: 当局の種類で絞り込みます(string、任意)source_identifier: ソース識別子で絞り込みます(string、任意)source_secondary_identifier: ソースの副識別子で絞り込みます(string、任意)tag: タグで絞り込みます(string、任意)lang: 言語で絞り込みます(string、任意)
-
get_document_text - 管轄区域とフィルター条件に一致する文書の全文を取得します
iso: 管轄区域の ISO コードで絞り込みます(例:'US')(string、必須)portal: ポータル名で絞り込みます(string、任意)version: 文書のバージョン(string、任意)limit: 返す結果の件数(number、任意)offset: スキップする結果の件数(number、任意)document_id: 文書 ID(string、任意)repealed: 廃止状況で絞り込みます(boolean、任意)title: タイトルで絞り込みます(string、任意)section_title: セクションのタイトルで絞り込みます(string、任意)url: URL で絞り込みます(string、任意)status: 状況で絞り込みます(string、任意)crawling_date: クロール日で絞り込みます(string、任意)last_updated: 最終更新日で絞り込みます(string、任意)last_amendment: 最終改正日で絞り込みます(string、任意)publication_date: 公開日で絞り込みます(string、任意)expiration_date: 失効日で絞り込みます(string、任意)effective_date: 発効日で絞り込みます(string、任意)date_of_enactment: 制定日で絞り込みます(string、任意)date_of_decision: 決定日で絞り込みます(string、任意)file_data_only: ファイル関連データのみを返します(boolean、任意)issuing_authority: 発行機関で絞り込みます(string、任意)type_of_authority: 機関の種類で絞り込みます(string、任意)source_identifier: ソース識別子で絞り込みます(string、任意)source_secondary_identifier: ソースの副識別子で絞り込みます(string、任意)tag: タグで絞り込みます(string、任意)lang: 言語で絞り込みます(string、任意)
-
get_markdown - 管轄区域とフィルター条件に一致する文書の本文を Markdown 形式で取得します
iso: 管轄区域の ISO コードで絞り込みます(例:'US')(string、必須)portal: ポータル名で絞り込みます(string、任意)version: 文書のバージョン(string、任意)limit: 返す結果の件数(number、任意)offset: スキップする結果の件数(number、任意)document_id: 文書 ID(string、任意)repealed: 廃止状況で絞り込みます(boolean、任意)title: タイトルで絞り込みます(string、任意)section_title: セクションのタイトルで絞り込みます(string、任意)url: URL で絞り込みます(string、任意)status: 状況で絞り込みます(string、任意)crawling_date: クロール日で絞り込みます(string、任意)last_updated: 最終更新日で絞り込みます(string、任意)last_amendment: 最終改正日で絞り込みます(string、任意)publication_date: 公開日で絞り込みます(string、任意)expiration_date: 失効日で絞り込みます(string、任意)effective_date: 発効日で絞り込みます(string、任意)date_of_enactment: 制定日で絞り込みます(string、任意)date_of_decision: 決定日で絞り込みます(string、任意)file_data_only: ファイル関連データのみを返します(boolean、任意)issuing_authority: 発行機関で絞り込みます(string、任意)type_of_authority: 機関の種類で絞り込みます(string、任意)source_identifier: ソース識別子で絞り込みます(string、任意)source_secondary_identifier: ソースの副識別子で絞り込みます(string、任意)tag: タグで絞り込みます(string、任意)lang: 言語で絞り込みます(string、任意)
-
get_source_url - 元のソースファイル(PDF など)への有効期限付き署名 URL を取得します
document_id: 文書 ID(integer、必須)
-
get_document_with_version - 特定のバージョンの文書を、完全なメタデータとともに取得します
document_id: 文書 ID(integer、必須)version: バージョン(integer、必須)
-
horizon_scan - 管轄区域内の最近の法改正をスキャンします — トピック、期間、当局で絞り込みます
iso: ISO コード(例:「IE」、「NL」、「US」など)(文字列、必須)since: スキャン期間の開始日(文字列、任意)topic: スキャン対象とするトピックまたはキーワード(文字列、任意)date_field: 期間に使用する日付フィールド(文字列、任意)status: ステータスで絞り込みます(文字列、任意)issuing_authority: 発行当局で絞り込みます(文字列、任意)type_of_authority: 当局の種類で絞り込みます(文字列、任意)include_repealed: 廃止された文書を含めます(ブール値、任意)max_per_jurisdiction: 管轄区域ごとの最大結果数(整数、任意)
-
evidence_pull - 文書の完全な引用チェーンを取得します — メタデータ、法的リンク、ソース URL、本文テキスト
iso: 文書の管轄区域を示す ISO コード(例:「IE」、「NL」、「US」など)(文字列、必須)document_id: 一覧表示/検索ツールから取得した数値の document_id(整数、必須)include_text: 文書の本文テキストを含めます(ブール値、任意)include_source_url: 署名付きソース URL を含めます(ブール値、任意)text_format: 含めるテキストの形式(例:Markdown またはプレーンテキスト)(文字列、任意)
すべてのツールは読み取り専用です。OAuth トークンにはスコープ mcp:tools:read が付与されます。ツール一覧は公開されていますが、ツールの呼び出しには認証が必要です。
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。