GoCodebook — California Building Codes is an MCP server published by com.gocodebook, hosted at gocodebook.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 3 tools, including lookup_california_code_section, list_california_code_documents, search_california_codes.
Verbatim California Title 24 and local zoning code lookup by section number, with citations.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
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 returns code text only and does not determine whether a specific project complies.
| Parameter | Type | Description |
|---|---|---|
| code | string | Optional. The code the user named, so a number that exists in several codes returns the right one. An abbreviation or a name: "CBC", "CRC", "CFC", "CMC", "CPC", "CEC", "CEBC", "CALGreen", "CHBC", "California Fire Code". Omit when the user gave no code name. |
| section * | string | The section number exactly as cited, without the code name. Examples: "R602.10.2.3", "1004", "507.2", "17.60.090", "11B-206". |
| code_edition | string |
None yet. Changes appear after a server's second daily check.
Inferred from the host name and headers: what a server runs on, not who runs it.
| 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). |
| jurisdiction | string | 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. |
{
"name": "lookup_california_code_section",
"description": "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 returns code text only and does not determine whether a specific project complies.",
"inputSchema": {
"type": "object",
"required": [
"section"
],
"properties": {
"code": {
"type": "string",
"description": "Optional. The code the user named, so a number that exists in several codes returns the right one. An abbreviation or a name: \"CBC\", \"CRC\", \"CFC\", \"CMC\", \"CPC\", \"CEC\", \"CEBC\", \"CALGreen\", \"CHBC\", \"California Fire Code\". Omit when the user gave no code name."
},
"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\"."
},
"code_edition": {
"enum": [
"current",
"2022",
"2019"
],
"type": "string",
"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)."
},
"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."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status"
],
"properties": {
"as_of": {
"type": [
"string",
"null"
],
"description": "The date the codes were read as of (YYYY-MM-DD), or null for the current edition."
},
"query": {
"type": "object",
"required": [
"section",
"jurisdiction",
"code_edition"
],
"properties": {
"code": {
"type": [
"string",
"null"
]
},
"section": {
"type": "string"
},
"code_edition": {
"enum": [
"current",
"2022",
"2019"
],
"type": "string"
},
"jurisdiction": {
"type": "string"
}
}
},
"status": {
"enum": [
"found",
"not_found",
"error"
],
"type": "string",
"description": "found: at least one section matched. not_found: nothing matched — do NOT paraphrase a section that was not returned. error: the lookup could not run."
},
"matches": {
"type": "array",
"items": {
"type": "object",
"required": [
"document_title",
"section_number",
"heading",
"citation",
"source_url",
"kind",
"excerpt",
"excerpt_truncated"
],
"properties": {
"kind": {
"enum": [
"text",
"subsection_list",
"empty"
],
"type": "string",
"description": "text: an excerpt of the section's own words. subsection_list: the section has no text of its own and `excerpt` lists its subsections. empty: no text."
},
"edition": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string"
},
"heading": {
"type": "string"
},
"citation": {
"type": "string",
"description": "Cite exactly this string."
},
"source_url": {
"type": [
"string",
"null"
],
"description": "Link to the full section. Always show it to the user."
},
"document_slug": {
"type": [
"string",
"null"
]
},
"document_title": {
"type": "string"
},
"section_number": {
"type": "string"
},
"excerpt_truncated": {
"type": "boolean",
"description": "True when the excerpt is cut short. It is never the whole section."
}
}
}
},
"message": {
"type": [
"string",
"null"
],
"description": "Guidance when status is not_found or error."
},
"ambiguous": {
"type": "boolean",
"description": "True when the number exists in more than one code. Pick by the code the user named and say which one you used; never merge them."
},
"browse_url": {
"type": "string"
},
"historical": {
"type": "boolean",
"description": "True when this is NOT the current code. Say so to the user."
},
"applied_question_url": {
"type": "string",
"description": "Where to send a user whose real question is whether a specific project complies."
}
}
},
"annotations": {
"title": "Look up a California code section",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}List the California codes and local ordinances available for lookup, and what is not covered. Useful before concluding that a code is unavailable, and for finding the exact document or jurisdiction slug that a lookup takes.
| Parameter | Type | Description |
|---|---|---|
| jurisdiction | string | Optional. A California city or county slug — returns the documents held for that jurisdiction instead of the statewide list. |
{
"name": "list_california_code_documents",
"description": "List the California codes and local ordinances available for lookup, and what is not covered. Useful before concluding that a code is unavailable, and for finding the exact document or jurisdiction slug that a lookup takes.",
"inputSchema": {
"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."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status"
],
"properties": {
"notes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Coverage caveats. Read them before telling a user a code is unavailable."
},
"scope": {
"enum": [
"statewide",
"jurisdiction"
],
"type": "string"
},
"groups": {
"type": "array",
"items": {
"type": "object",
"required": [
"key",
"label",
"documents"
],
"properties": {
"key": {
"type": "string"
},
"label": {
"type": "string"
},
"documents": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"slug"
],
"properties": {
"url": {
"type": [
"string",
"null"
]
},
"slug": {
"type": "string"
},
"title": {
"type": "string"
},
"edition": {
"type": [
"string",
"null"
]
}
}
}
}
}
},
"description": "Documents grouped by collection. Statewide: Title 24 first. Jurisdiction: the place's own documents, then those of the jurisdiction that also governs it."
},
"status": {
"enum": [
"ok",
"not_found",
"empty",
"error"
],
"type": "string"
},
"message": {
"type": [
"string",
"null"
]
},
"editions": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"in_force"
],
"properties": {
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"in_force": {
"type": "string"
}
}
}
},
"municipal": {
"type": [
"object",
"null"
],
"required": [
"document_count",
"jurisdiction_count"
],
"properties": {
"document_count": {
"type": "integer"
},
"jurisdiction_count": {
"type": "integer"
}
},
"description": "Statewide only: how many local ordinances are held."
},
"browse_url": {
"type": "string"
},
"jurisdiction": {
"type": [
"object",
"null"
],
"required": [
"slug",
"name"
],
"properties": {
"name": {
"type": "string"
},
"slug": {
"type": "string"
}
}
},
"applied_question_url": {
"type": "string"
}
}
},
"annotations": {
"title": "List the California codes available",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Search California building codes (Title 24), state housing law and California city and county zoning/municipal codes by TOPIC, when the user does not already have a section number — e.g. "minimum attic access opening", "ADU setbacks in San Jose". Requires the user's GoCodebook account and uses 1 credit per search (also when nothing is found). If the user already cites a section number, use lookup_california_code_section instead — it is free. Returns ranked excerpts with citations and links. It does NOT decide whether a project complies.
| Parameter | Type | Description |
|---|---|---|
| query * | string | What to find, in plain words. Up to 300 characters. |
| sources | array | Optional. Limit to federal law, state codes, or local ordinances. |
| code_edition | string | Optional. Which Title 24 cycle to search; a permit filed in 2024 is enforced under "2022". Defaults to "current". |
| jurisdiction | string | Optional. A California city or county slug ("san-jose", "marin-county") to search that place's own code together with the state codes. Omit for statewide. |
{
"name": "search_california_codes",
"description": "Search California building codes (Title 24), state housing law and California city and county zoning/municipal codes by TOPIC, when the user does not already have a section number — e.g. \"minimum attic access opening\", \"ADU setbacks in San Jose\". Requires the user's GoCodebook account and uses 1 credit per search (also when nothing is found). If the user already cites a section number, use lookup_california_code_section instead — it is free. Returns ranked excerpts with citations and links. It does NOT decide whether a project complies.",
"inputSchema": {
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "What to find, in plain words. Up to 300 characters."
},
"sources": {
"type": "array",
"items": {
"enum": [
"federal",
"state",
"local"
],
"type": "string"
},
"description": "Optional. Limit to federal law, state codes, or local ordinances."
},
"code_edition": {
"enum": [
"current",
"2022",
"2019"
],
"type": "string",
"description": "Optional. Which Title 24 cycle to search; a permit filed in 2024 is enforced under \"2022\". Defaults to \"current\"."
},
"jurisdiction": {
"type": "string",
"description": "Optional. A California city or county slug (\"san-jose\", \"marin-county\") to search that place's own code together with the state codes. Omit for statewide."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"status"
],
"properties": {
"hint": {
"type": [
"object",
"null"
],
"description": "The search page's own notice about this query (a missing section, a zone code in the wrong city, a code the library does not hold, an address). Tell the user what it says."
},
"as_of": {
"type": [
"string",
"null"
]
},
"query": {
"type": "object",
"required": [
"query",
"jurisdiction",
"code_edition"
],
"properties": {
"query": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"enum": [
"federal",
"state",
"local"
],
"type": "string"
}
},
"code_edition": {
"enum": [
"current",
"2022",
"2019"
],
"type": "string"
},
"jurisdiction": {
"type": "string"
}
}
},
"status": {
"enum": [
"found",
"no_results",
"signin_required",
"credits_required",
"rate_limited",
"error"
],
"type": "string",
"description": "found / no_results: the search ran and 1 credit was charged (a search with no results still costs a credit). signin_required: the user must connect their GoCodebook account. credits_required: the account has no search credits left; plans_url is an informational page about GoCodebook plans. rate_limited / error: nothing ran and nothing was charged."
},
"message": {
"type": [
"string",
"null"
]
},
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"document_title",
"heading",
"citation",
"source_url",
"excerpt",
"excerpt_truncated"
],
"properties": {
"edition": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string"
},
"heading": {
"type": "string"
},
"citation": {
"type": "string",
"description": "Cite exactly this string."
},
"source_url": {
"type": [
"string",
"null"
],
"description": "Link to the full section. Always show it."
},
"document_slug": {
"type": [
"string",
"null"
]
},
"document_title": {
"type": "string"
},
"section_number": {
"type": [
"string",
"null"
]
},
"excerpt_truncated": {
"type": "boolean"
}
}
},
"description": "Ranked best-first. Each excerpt is a short passage, never the whole section."
},
"plans_url": {
"type": [
"string",
"null"
]
},
"historical": {
"type": "boolean"
},
"section_ref": {
"type": [
"object",
"null"
]
},
"credits_charged": {
"type": "integer"
},
"applied_question_url": {
"type": "string"
}
}
},
"annotations": {
"title": "Search California codes (uses 1 credit)",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}
}Verbatim California building, residential, fire, plumbing, mechanical, green and energy code text, plus city and county zoning ordinances, looked up by section number. Results are verbatim excerpts, each with a citation and a Source link to the full section. This server does not decide whether a project complies. lookup_california_code_section and list_california_code_documents are free; search_california_codes finds sections by topic, needs the user's GoCodebook account and uses 1 credit per search — prefer the free lookup whenever the user already has a section number.
Names, descriptions and schemas were written by the server and are shown as data.