Skip to main content
MCP server CX Codex

Canadian Building Code — Claude Code MCP server: what it does

Canadian Building Code connects Canadian building regulations to your editor. Search requirements by keyword, verify section IDs, determine which codes apply in a given province.

no license 1,183 installs updated 2026-01-22

Install into Claude Code · Platform CLI: remote server All methods and platforms ↓
claude mcp add --transport http ca-building-code-mcp https://ca-building-code-mcp--davidcho.run.tools
Open on GitHub

What Canadian Building Code does

The server exposes ten tools for querying Canadian building codes: list_codes enumerates available standards, search_code finds sections by keywords like fire separation or stair width, get_section retrieves text by section ID, get_hierarchy returns parent and child sections, verify_section confirms an ID exists and provides a formal citation. get_applicable_code determines which regulations apply to a specific Canadian city, get_table fetches a table by number. Three tools — set_pdf_path, get_page, get_pages — work only in local mode and require a PDF of the codes; the remote API does not support them.

Hosted at https://ca-building-code-mcp--davidcho.run.tools, accessed via HTTP with no additional dependencies. Local mode requires a PDF of the building codes, linked through set_pdf_path.

Useful for design, compliance checks, documentation, and construction consulting in Canada.

What it helps with

  • Look up stair width or fire separation requirements by keyword
  • Confirm a section ID is valid and retrieve a formal citation
  • Identify which building codes apply in a particular Canadian province or city
  • Extract a specific table from the code by number
  • Retrieve full section text and its position in the document hierarchy

Example prompts for the agent

  • Find fire resistance requirements for floors in residential buildings
  • Check if section 3.4.6.5 exists and give me the formal citation
  • Which building codes apply in Toronto?

How to install Canadian Building Code

Platform CLI: remote server

claude mcp add --transport http ca-building-code-mcp https://ca-building-code-mcp--davidcho.run.tools

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Canadian Building Code

How to install Canadian Building Code in Claude Code?

Run claude mcp add --transport http ca-building-code-mcp https://ca-building-code-mcp--davidcho.run.tools. You can use a different name: claude mcp add --transport http canadian-building-code https://ca-building-code-mcp--davidcho.run.tools.

What does Canadian Building Code do?

Connects Canadian building regulations to your editor: searches requirements by keyword, verifies section IDs, displays document hierarchy, determines applicable codes for a city, extracts tables.

Do I need a PDF of the building codes for Canadian Building Code to work?

Not for the remote server; core tools run without local files. A PDF is needed only in local mode for set_pdf_path, get_page, and get_pages, which extract full page text.

Similar MCP servers

All MCP servers for Writing and docs →

Project sponsors

Companies that keep this analytics open