ifc-lite
Parse, view, query, edit, validate and export building models. Browser-first WebGPU viewer, TypeScript SDK, CLI, MCP server and Rust/WASM core with dual exact-a
What is ifc-lite?
Parse, view, query, edit, validate and export building models. Browser-first WebGPU viewer, TypeScript SDK, CLI, MCP server and Rust/WASM core with dual exact-arithmetic & SMlib geometry kernels.
Overview of ifc-lite
What it is
ifc-lite is a toolkit for working with IFC (Industry Foundation Classes) building model files. It provides a browser-first WebGPU viewer, a TypeScript SDK, a command-line interface (CLI), an MCP server, and a Rust/WASM core with an exact-arithmetic geometry kernel. It can parse, view, query, edit, validate, and export IFC models entirely client-side. It supports IFC2X3, IFC4, IFC4X3, and IFC5 (IFCX). The project is hosted at GitHub and its homepage is ifclite.dev.
Key features
- Parses IFC files (IFC2X3, IFC4, IFC4X3, IFC5/IFCX) using a Rust/WASM core. * Provides a browser-first WebGPU 3D viewer. * Includes a TypeScript SDK with modular npm packages for parser, geometry, renderer, query, export, mutations, IDS validation, and more. * Offers a CLI for inspecting, querying, validating, exporting, diffing, merging, clash-checking, and scripting IFC models. * Supports IDS (Information Delivery Specification) validation. * Allows property editing with undo history. * Exports to IFC STEP, glTF/GLB, CSV, JSON-LD, Parquet, and IFC5/IFCX. * Includes an MCP server for AI agent integration and natural-language querying. * Uses an exact-arithmetic CSG geometry kernel verified against IfcOpenShell.
Use cases
- Viewing and inspecting IFC building models in a browser. * Integrating IFC support into existing Three.js or Babylon.js applications. * Scripting IFC data processing in CI/CD pipelines. * Building AI agents that can query and edit BIM data via natural language or MCP. * Validating IFC models against IDS requirements. * Comparing two versions of an IFC model (diff). * Performing clash detection between IFC models. * Converting IFC models between different schema versions. * Generating schedules (e.g., door schedules) from IFC data. * Building desktop applications with Tauri for very large IFC files (500 MB+).
Getting started
For data automation, install the headless SDK: bash npm install @ifc-lite/sdk To scaffold a rendering integration: bash npx create-ifc-lite my-viewer --template react cd my-viewer && npm install && npm run dev To use the CLI: bash npm install -g @ifc-lite/cli ifc-lite info model.ifc See the repository README for further details.
License and pricing
Licensed under MPL-2.0. The project is open source; pricing is not stated.
Based on the project's public README and repository metadata.