Skip to main content
Glama
Sora-bluesky

building-standards-act-mcp

by Sora-bluesky

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BUILDING_LAW_CACHENoCache mode (memory or file)memory
BUILDING_LAW_CACHE_DIRNoDirectory for file cache~/.cache/building-standards-act-mcp/
BUILDING_LAW_LOG_LEVELNoLog level (debug, info, warn, error)info
BUILDING_LAW_CONCURRENCYNoMaximum concurrent API calls5
BUILDING_LAW_RATE_LIMIT_MSNoAPI call interval in milliseconds200
BUILDING_LAW_REQUEST_TIMEOUTNoAPI request timeout in milliseconds30000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_lawA

条番号を指定して法令の条文を取得する。附則・別表にも対応。略称・正式名称のいずれでも指定可能。format=structured で条→項→号の階層構造をJSON形式で取得可能。format=text の上限は、structuredContent を含む応答全体が約5万字に収まる値。長い条の中の項・表の行は find で探し、offset を推測しない。

get_full_lawA

法令の全文を取得する。条番号を指定せず法令全体のテキストを返す。

search_lawA

キーワードで建築関連法令を横断検索する。登録済みエイリアスとe-Gov APIの両方を検索する。注意: 検索対象は法令名(タイトル)のみ。条文本文のキーワード検索には search_articles を使用してください。

search_articlesA

条文本文をキーワードで検索する。半角スペース区切りで AND 検索。AND・OR・NOT は演算子ではなく検索語として扱われる。全角スペースは半角に直して送る。*・? のワイルドカードに対応。法令名・略称で絞り込み可能。検索結果は節名と抜粋のみで条番号は返らないため、正確な条文は get_law で確認してください。

get_kokujiA

告示名または告示番号(例: 平成28年国土交通省告示第696号、平28国交告696)から、建築基準法が技術基準を委任している告示の全文を取得する。国土交通省の告示データベース(PDF)から取得し、告示名で見つからない場合はe-Gov APIで検索を試みる。番号が国交省 DB にない場合は、その旨を返す。

get_kokuji_amendmentsA

告示番号または告示名から改正一覧だけを取得する。本文を取得する get_kokuji より軽量。国交省の改正ページに掲載された2018年1月1日以降公布分を対象とする。kokuji_number と kokuji_name はどちらか一つだけ指定する。

check_law_updatesB

法令の改正状況をe-Gov APIで確認する。法令名指定で単体チェック、グループ指定でバッチチェック、show_historyで改正履歴表示が可能。

get_laws_batchA

複数の法令・条文を一括取得する。各条文をe-Govから個別に条単位取得する。最大20件。上限は、structuredContent を含む応答全体が約5万字に収まる値。長い条(例: 建築基準法施行規則 第1条の3)は get_law で個別に取得。

verify_citationA

AIの回答に含まれる法令引用を検証する。条文の存在確認、テキスト照合による正確性チェックが可能。最大10件。

suggest_relatedB

指定した条文が参照している関連法令・委任先・同法令内参照を自動抽出して提案する。

analyze_articleA

条文の構造を解析し、項数・号数・参照統計・プレビューなどのメタデータをJSON形式で返す。AIが要約・解説を生成する際の素材データとして活用。

get_metricsA

サーバーの使用量メトリクスを返す(ツール呼び出し回数・APIリクエスト数・キャッシュヒット率・稼働時間)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 12 tools

Disambiguation5/5

Each tool targets a distinct resource and action: article retrieval, full-law retrieval, law-title search, article-text search, kokuji retrieval, amendment listing, update checks, batch retrieval, citation verification, structural analysis, related-reference suggestion, and server metrics. Descriptions explicitly clarify potentially overlapping pairs such as search_law vs. search_articles and get_law vs. get_full_law.

Naming Consistency5/5

All 12 tools use lowercase snake_case with predictable verb-led patterns (get_, search_, check_, verify_, analyze_, suggest_), and no mixed conventions are present. Minor variations like get_full_law, get_laws_batch, and get_kokuji_amendments remain readable and consistent with the overall scheme.

Tool Count5/5

12 tools is well-scoped for a legal-research MCP covering retrieval, search, update checking, verification, and analysis. The count stays within a reasonable range and each tool has a plausible role, even though get_metrics is ancillary.

Completeness4/5

The surface covers article/full-law retrieval, title and full-text search, kokuji retrieval and amendments, update history, batch retrieval, citation verification, and article analysis. Minor gaps remain: no tool to list available laws/aliases, no keyword search over kokuji contents, and citation verification is capped at 10 items, but core legal workflows are supported.

Maintenance

ActivityMaintained
ResponsivenessNo issues