GoCodebook — California Building Codes
Verbatim California Title 24 and local zoning code lookup by section number, with citations.
使うべきか
品質と安全性
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"codes": {
"url": "https://gocodebook.com/api/mcp"
}
}
}リモートエンドポイント
https://gocodebook.com/api/mcpstreamable-httpできること
ツール一覧
ツール(2)
🟢lookup_california_code_section(section, jurisdiction, code_edition)
Look up the VERBATIM text of a California building, residential, fire, plumbing, mechanical, green (CALGreen), energy or existing-building code section, or a section of a California city or county zoning/municipal ordinance, by its section number. Use this whenever the user cites a section number ("CRC R602.10.2.3", "CBC 1004", "§ 17.60.090") or asks what a specific section says. Returns the official text with its citation, edition and a link to the full section. It does NOT determine whether a specific project complies — for that, send the user to the linked page.
入力スキーマ
{
"type": "object",
"properties": {
"section": {
"type": "string",
"description": "The section number exactly as cited, without the code name. Examples: \"R602.10.2.3\", \"1004\", \"507.2\", \"17.60.090\", \"11B-206\"."
},
"jurisdiction": {
"type": "string",
"description": "Optional. A California city or county slug to scope the lookup to its own municipal code — \"los-angeles\", \"san-jose\", \"marin-county\". Omit for statewide Title 24 codes."
},
"code_edition": {
"type": "string",
"enum": [
"current",
"2022",
"2019"
],
"description": "Optional. Which Title 24 cycle to read. California enforces the edition in force when the permit application was submitted, so a project filed in 2024 is enforced under \"2022\". Defaults to \"current\" (the 2025 cycle, in force since 2026-01-01)."
}
},
"required": [
"section"
]
}🟢list_california_code_documents(jurisdiction)
List the California codes and local ordinances available for lookup, and state honestly what is NOT covered. Call this before telling a user a code is unavailable, and when you need the exact document slug or jurisdiction slug for a lookup.
入力スキーマ
{
"type": "object",
"properties": {
"jurisdiction": {
"type": "string",
"description": "Optional. A California city or county slug — returns the documents held for that jurisdiction instead of the statewide list."
}
}
}コミュニティ
エビデンス