# Canadian Building Code

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.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 1183 installs
- Author: davidcho
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://smithery.ai/server/davidcho/ca-building-code-mcp
- Updated: 2026-01-22
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/canadian-building-code

## What it 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.

## Requirements
- Remote server: `https://ca-building-code-mcp--davidcho.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http ca-building-code-mcp https://ca-building-code-mcp--davidcho.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add canadian-building-code --url https://ca-building-code-mcp--davidcho.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "canadian-building-code": {
            "url": "https://ca-building-code-mcp--davidcho.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "canadian-building-code": {
            "type": "http",
            "url": "https://ca-building-code-mcp--davidcho.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http canadian-building-code https://ca-building-code-mcp--davidcho.run.tools
```

## When to use it
- 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
- 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?

## Similar
- [NetGrant — Canadian Grants](https://affpapa.org/en/nevibecode/mcp/netgrant-canadian-grants.md) — MCP server · 736 installs
- [Regulatory Radar: Climate Compliance](https://affpapa.org/en/nevibecode/mcp/regulatory-radar-climate-compliance.md) — MCP server · 102 installs
- [reg-feed-watcher](https://affpapa.org/en/nevibecode/skills/reg-feed-watcher.md) — skill · 625 installs
- [permit-tracking-automation](https://affpapa.org/en/nevibecode/skills/permit-tracking-automation.md) — skill · 258 installs
- [safety-inspection-checklist](https://affpapa.org/en/nevibecode/skills/safety-inspection-checklist.md) — skill · 133 installs
- [korean-rnd-regs-mcp](https://affpapa.org/en/nevibecode/mcp/korean-rnd-regs-mcp.md) — MCP server · ★ 14 repo stars

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
