24,201 sections indexedFree & Open Source

Canadian
Building Code
Navigator

Get exact answers from 24,201 sections.
No PDF hunting. No guesswork.

Sound Familiar?

When AI Gets Building Codes Wrong

AI often hallucinates page numbers and invents non-existent sections

Generic AI

Wrong Page Number

"Mass timber allowed up to 12 storeys per Section 3.2.2.55, page 200"

❌ Wrong page (actual: p.245)

Building Code Navigator

Exact Page Verified

"Section 3.2.2.55 found on page 245"

✓ Exact page verified from PDF

Generic AI

Non-existent Section

"Fire rating between garage and suite is covered in Section 3.2.8.15"

❌ Section 3.2.8.15 doesn't exist

Building Code Navigator

Smart Suggestions

"Section not found. Did you mean 3.2.1.2?"

✓ Suggests correct section

Copyright Safe·Coordinates only, text from your PDF
Under the Hood

How MCP Processes a Query

From question to exact section — the full pipeline at a glance

User / Claude

"What are the fire rating requirements?"

MCP Server

Canadian Building Code MCP

10 Tools4 Prompts4 Resources
TokenizeSplit query
Synonyms45 pairs
TF-IDFScore & rank

16 Building Code Maps

Loading...

13 Codes3 Guides

Coordinates

Copyright safe — no text distributed

Section IDPage #ScoreBBox

Your PDF

Text extracted from your local file

Full TextTable DataPage Content

Answer

Exact section refs + extracted text

Section IDPage TextTable Data
One-Time Setup

MCP Setup

What You Need

Building Code PDFs

Purchase official PDFs from

We provide coordinates only. Text is extracted from YOUR local PDF (copyright safe).

MCP Client

Any MCP-compatible AI client

Claude DesktopCursorWindsurfVS Code+more

Setup Steps

1Install

pip install building-code-mcp

2Add to MCP config

{
  "mcpServers": {
    "building-code": {
      "command": "python",
      "args": ["-m", "building_code_mcp"]
    }
  }
}