Ifc Lite

Developer toolsAgent frameworks and SDKs

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. https://discord.gg/NtGyhM9pCX.

Your AI app calls the Ifc Lite MCP server, which does the developer tools and agent frameworks and SDKs work and sends the result back to the chat.

About Ifc Lite

Ifc Lite is a community MCP server from LTplus-AG, filed in our directory under developer tools and agent frameworks and sdks. 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. https://discord.gg/NtGyhM9pCX.

At a glance

Publisher
LTplus-AG (community)
Runs
See the README for setup
Written in
TypeScript
License
MPL-2.0
GitHub stars
501

How to set up Ifc Lite

  1. Follow the install steps in the Ifc Lite README; it is written in TypeScript, so have that toolchain ready.
  2. Check the Ifc Lite README for keys or settings; the registry lists none that Ifc Lite requires.
  3. Add Ifc Lite to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Ifc Lite tools to confirm the connection.
  5. Run one read-only task with Ifc Lite first, and keep your app asking before each tool call until the results look right.

Ifc Lite compared with similar servers

  • Frida by dnakov has fewer GitHub stars than Ifc Lite (496 against 501); both are community servers, and both run locally.
  • Sandbox (shanselman) by shanselman has more GitHub stars than Ifc Lite (502 against 501); both are community servers, and both run locally.
  • Entroly by juyterman1000 has fewer GitHub stars than Ifc Lite (491 against 501); both are community servers, and both run locally.

Before you connect Ifc Lite

  • Give Ifc Lite its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Ifc Lite tool call until you trust what it does with them.
  • Treat text that Ifc Lite fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Ifc Lite on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Ifc Lite

How marketing and sales teams put Ifc Lite to work, by company size. Pick the size closest to yours and start Ifc Lite on one use case.

Small business

  • A small business with a developer can use Ifc Lite to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Ifc Lite to explain and fix a marketing site issue without context switching between tools.
  • A small business with a developer can use Ifc Lite to build one focused agent, such as lead follow-up, without a big platform.
  • Ifc Lite runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Ifc Lite to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Ifc Lite to keep scripts and automations documented and versioned as they change.
  • Growth engineering teams can use Ifc Lite to build agents that combine CRM, analytics and content tools behind one workflow.
  • Start Ifc Lite on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Ifc Lite with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Ifc Lite so web and marketing engineering share one reviewed way of working with AI.
  • Enterprises can build on Ifc Lite with their own identity, policy and evaluation layers, so agents meet the same bar as other software.
  • Ifc Lite is a community server, so have security review the code and pin a version before Ifc Lite touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Ifc Lite README

From LTplus-AG/ifc-lite on GitHub, shared under its MPL-2.0 license. Images are left out; the original has them.

README.md
IFC data and geometry tools for developers.

IFClite

Parse, view, query, edit, validate, and export IFC files, entirely client-side. A Rust core compiled to WASM does the parsing and geometry, a WebGPU renderer puts it on screen, and modular npm packages let you pick the pieces you need. Geometry runs on an exact-arithmetic CSG kernel, verified element-by-element against IfcOpenShell across the public benchmark corpus.

Works with IFC2X3, IFC4 / IFC4X3 and IFC5 (IFCX). Beside IFC (including zipped .ifczip), the web viewer opens glTF/GLB, Rhino .3dm, LandXML, point clouds (LAS/LAZ, E57, PLY, PCD, PTS, XYZ), DXF reference underlays and Gaussian splat captures (Gaussian PLY, .splat, glTF/GLB with KHR_gaussian_splatting). Live demo at ifclite.com and more info at ifclite.dev.

Get Started

For data automation, start with the headless SDK or CLI:

npm install @ifc-lite/sdk
import { readFile } from 'node:fs/promises';
import { openModel } from '@ifc-lite/sdk/headless';

const model = await openModel(await readFile('model.ifc'));
try {
  if (model.report.completeness !== 'complete') throw new Error('Incomplete or unknown record coverage');
  console.log(model.bim.query().byType('IfcDoor').count());
} finally {
  model.close();
}

Developer workflows provides a reference model, runnable data/IDS/edit/export/geometry/service recipes, and expected results. For the terminal, run npx @ifc-lite/cli info model.ifc --json.

To scaffold a rendering integration:

npx create-ifc-lite my-viewer --template react
cd my-viewer && npm install && npm run dev

That gets you a working WebGPU IFC viewer with drag-and-drop loading and orbit/pan/zoom. Other templates: basic, threejs, babylonjs, server, server-native.

To add IFClite to an existing project:

npm install @ifc-lite/parser @ifc-lite/geometry @ifc-lite/renderer

Prefer the terminal? The whole toolkit is also a CLI:

npm install -g @ifc-lite/cli
ifc-lite info model.ifc

Parse an IFC file

import { IfcParser } from '@ifc-lite/parser';

const parser = new IfcParser();
const buffer = await fetch('model.ifc').then(r => r.arrayBuffer());
const t0 = performance.now();
const store = await parser.parseColumnar(buffer, {
  onProgress: ({ phase, percent }) => console.log(`${phase}: ${percent}%`),
});

console.log(`${store.entityCount} entities, schema ${store.schemaVersion}`);
console.log(`Parsed in ${(performance.now() - t0).toFixed(0)}ms`);

View in 3D

import { IfcParser } from '@ifc-lite/parser';
import { GeometryProcessor } from '@ifc-lite/geometry';
import { Renderer } from '@ifc-lite/renderer';

const parser = new IfcParser();
const geometry = new GeometryProcessor();
const renderer = new Renderer(canvas);

await Promise.all([geometry.init(), renderer.init()]);

const arrayBuffer = await file.arrayBuffer();
const store = await parser.parseColumnar(arrayBuffer);
const meshes = [];
for await (const event of geometry.processAdaptive(new Uint8Array(arrayBuffer))) {
  if (event.type === 'batch') meshes.push(...event.meshes);
}

renderer.loadGeometry(meshes);
renderer.render(); // draws one frame; call it again (e.g. per requestAnimationFrame) after camera changes

// Pick an entity at (x, y) in canvas pixels
const hit = await renderer.pick(120, 240);
if (hit) console.log(`Picked expressId ${hit.expressId}`);

For Three.js or Babylon.js, parse and extract geometry the same way and feed meshes to your engine. See Three.js integration and Babylon.js integration.

Query entities

import { IfcQuery } from '@ifc-lite/query';

const query = new IfcQuery(store);

// All external load-bearing walls
const walls = query
  .ofType('IfcWall', 'IfcWallStandardCase')
  .whereProperty('Pset_WallCommon', 'IsExternal', '=', true)
  .whereProperty('Pset_WallCommon', 'LoadBearing', '=', true)
  .execute();

console.log(`${walls.length} external load-bearing walls`);

for (const wall of walls) {
  console.log(wall.name, wall.globalId);
}

For more complex queries, use SQL via DuckDB-WASM:

const result = await query.sql(`
  SELECT type, COUNT(*) AS n FROM entities GROUP BY type ORDER BY n DESC LIMIT 10
`);
console.table(result.rows);

Validate against IDS

import { parseIDS, validateIDS, createTranslationService } from '@ifc-lite/ids';
import { createDataAccessor } from '@ifc-lite/ids/bridge';

const idsSpec = parseIDS(idsXmlContent);
const accessor = createDataAccessor(store);
const modelInfo = {
  modelId: 'my-model',
  schemaVersion: store.schemaVersion,
  entityCount: store.entityCount,
};
const translator = createTranslationService('en');
const report = await validateIDS(idsSpec, accessor, modelInfo, { translator });

for (const spec of report.specificationResults) {
  console.log(`${spec.specification.name}: ${spec.passRate}% passed`);
}

Edit properties (with undo)

import { MutablePropertyView } from '@ifc-lite/mutations';
import { PropertyValueType } from '@ifc-lite/data';

const view = new MutablePropertyView(store.properties, 'my-model');

view.setProperty(
  wallExpressId,
  'Pset_WallCommon',
  'FireRating',
  'REI 120',
  PropertyValueType.Label,
);

console.log(view.getMutations()); // change history for undo / export

Export

import { exportToStep, ParquetExporter, Ifc5Exporter } from '@ifc-lite/export';
import { GeometryProcessor } from '@ifc-lite/geometry';

// Assumes the earlier parse/geometry steps: `store` (parsed IfcDataStore),
// `bytes` (raw IFC Uint8Array), `meshes` + `geometryResult` (from geometry).

// IFC STEP, applies any pending mutations
const stepText = exportToStep(store, { schema: 'IFC4', applyMutations: true });

// glTF / GLB, CSV and JSON-LD are assembled in Rust (ifc-lite-export)
// via the GeometryProcessor
const gp = new GeometryProcessor();
await gp.init();
const glb = gp.exportGlbFromMeshes(meshes);  // Uint8Array (no re-mesh)
const csv = gp.exportCsv(bytes, 'entities', ',', /* includeProperties */ true);
const jsonld = gp.exportJsonld(bytes);

// Parquet: columnar, queryable from DuckDB / Polars
const parquet = await new ParquetExporter(store).exportTable('entities');

// IFC5 / IFCX: JSON + USD geometry
const ifcx = new Ifc5Exporter(store, geometryResult).export({ includeGeometry: true });

Work from the terminal

The ifc-lite CLI covers the full toolkit: inspect, query, schedule, validate, export, create, diff, clash-check, merge, convert, and script IFC models without writing a line of app code.

ifc-lite info model.ifc                                  # schema, entities, storeys
ifc-lite query model.ifc --type IfcWall --json           # entities with properties
ifc-lite schedule model.ifc --preset door                # door schedule, csv/json/md/html
ifc-lite ids model.ifc requirements.ids                  # IDS validation
ifc-lite clash model.ifc --matrix --bcf clashes.bcfzip   # clash detection to BCF
ifc-lite diff model-v1.ifc model-v2.ifc                  # model comparison
ifc-lite merge arch.ifc struct.ifc mep.ifc --out fed.ifc # federation
ifc-lite convert model.ifc --schema IFC4 --out out.ifc   # schema conversion
ifc-lite view model.ifc                                  # 3D viewer + REST API
ifc-lite eval model.ifc "bim.query().byType('IfcWall').count()"

Building AI tooling? ifc-lite mcp model.ifc starts a Model Context Protocol server (stdio or HTTP) so agents can query and edit BIM data directly, and ifc-lite ask model.ifc "how many walls?" answers natural-language questions.

Choose your setup

Setup Best for You get
Browser (WebGPU) Viewing and inspecting models Full-featured 3D viewer, runs entirely client-side
Three.js / Babylon.js Adding IFC support to an existing 3D app IFC parsing + geometry, rendered by your engine
CLI Scripting, CI pipelines, AI agents The whole toolkit from the terminal, JSON output everywhere
Server Teams, large files, repeat access Rust backend with caching, parallel processing, streaming
Build for Desktop Your own offline native app, very large files (500 MB+) Extension points to wrap the packages in Tauri, with an optional native-Rust geometry fast path
Python (native wheel) Analysis, scripting, scientific Python pip install ifclite-geom runs the geometry kernel in-process, meshes straight to numpy

Not sure? Start with the browser setup. You can add a server or switch engines later.

Pick your packages

I want to... Packages
Parse an IFC file @ifc-lite/parser
View a 3D model (WebGPU) + @ifc-lite/geometry + @ifc-lite/renderer
Use Three.js or Babylon.js + @ifc-lite/geometry (you handle the rendering)
Query properties and types + @ifc-lite/query
Edit properties (with undo) + @ifc-lite/mutations
Validate against IDS rules + @ifc-lite/ids
Generate 2D drawings + @ifc-lite/drawing-2d
Create IFC files from scratch @ifc-lite/create
Export to glTF / IFC / Parquet + @ifc-lite/export
Detect clashes + @ifc-lite/clash
Diff two model versions + @ifc-lite/diff
BCF topic tracking + @ifc-lite/bcf
Filter and colorize in 3D by rules + @ifc-lite/lens
Build schedules and property tables + @ifc-lite/lists
Script models with the bim.* API + @ifc-lite/sdk
Real-time collaboration (CRDT on IFCX) + @ifc-lite/collab + @ifc-lite/collab-server
Embed the viewer in any page (iframe) + @ifc-lite/embed-sdk
Connect to a server backend + @ifc-lite/server-client
Give AI agents BIM access (MCP) + @ifc-lite/mcp

Full list: API Reference (npm packages, Rust crates, and the ifclite-geom Python wheel).

Performance

  • Streaming first render: geometry is processed in batches, so the first triangles are on screen while the rest of the file is still parsing.
  • Geometry correctness: exact-arithmetic boolean kernel, every opening is cut exactly, and the output is verified element-by-element against IfcOpenShell on the public benchmark corpus. Engines with approximate booleans are faster on boolean-heavy models; that trade is deliberate.
  • Geometry speed: native (server/CLI, multi-threaded) beats web-ifc on most of the benchmark corpus; in the browser the viewer streams geometry across workers so the first triangles render long before the file finishes processing.
  • Parse speed: a fast STEP tokenizer feeds a columnar parse; see the performance guide for measured throughput.
  • Schema coverage: 100% of IFC4 (776 entities) and IFC4X3 (876 entities).
  • Footprint: one lazily fetched engine WASM module plus small per-package JS wrappers; the Rhino .3dm and CityJSON exporters fetch a second module (@ifc-lite/wasm/rhino) only when used, and GeoParquet export its own (@ifc-lite/wasm/geoparquet). The performance guide records the engine size.

See benchmarks for full numbers across model sizes and hardware.

Examples

Ready-to-run projects in examples/:

Documentation

Contributing

You need Node.js 22 (22.13 or later) or 24, not 23, and pnpm 10 (corepack enable provides the pinned pnpm). The WASM bundle is built from rust/, which needs the nightly toolchain and wasm32-unknown-unknown target pinned in rust-toolchain.toml plus wasm-pack. Run rustup toolchain install in the clone to install the pinned toolchain up front, so the first build does not stop to fetch it. Without Rust, pnpm build:wasm:fetch downloads the prebuilt WASM runtime from npm instead; see the setup guide.

# 1. Rust toolchain (one-time)
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install wasm-pack   # or: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

# 2. Clone and build
git clone https://github.com/LTplus-AG/ifc-lite.git
cd ifc-lite
rustup toolchain install   # installs the nightly and target pinned in rust-toolchain.toml
corepack enable
pnpm install && pnpm dev   # builds every package, then serves the viewer at localhost:3000

If you need IFC fixtures for tests, benchmarks, or stress tests, fetch them with:

pnpm fixtures           # download every fixture (idempotent, hash-verified)
pnpm fixtures:check     # CI-friendly: exit 1 if anything is missing or stale

The fixtures are stored on a GitHub Release and catalogued in tests/models/manifest.json. See tests/models/README.md for the full design and maintainer workflow.

See the Contributing Guide and Release Process.

Community

  • Discord - share apps and demos, ask integration questions, and meet other builders
  • GitHub Discussions - questions, ideas, show-and-tell
  • Issues - bug reports and feature requests
  • Releases - changelog and version notes

License

MPL-2.0 - use, modify, redistribute. Source files modified under MPL must remain MPL.

Questions about Ifc Lite

What is the Ifc Lite MCP server?

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. https://discord.gg/NtGyhM9pCX. Ifc Lite is maintained by LTplus-AG on GitHub at LTplus-AG/ifc-lite, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Ifc Lite MCP server?

Ifc Lite doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (LTplus-AG/ifc-lite). Like most servers, Ifc Lite ends with a command or URL you paste into your AI app's MCP config.

Does Ifc Lite need an API key?

The registry lists no required keys for Ifc Lite. Check the Ifc Lite README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Ifc Lite an official MCP server?

No. Ifc Lite is a community server maintained by LTplus-AG. Community servers can be excellent; read the code and the open issues before you give Ifc Lite access to company data.

What license is Ifc Lite under?

Ifc Lite is released under the MPL-2.0 license, according to its GitHub repository. The license covers the code of Ifc Lite; the service it connects to has its own terms.