IFC Viewer Online

v1.0.0
io.github.j03rul4nd/ifc-viewer-mcp Checked 3 days ago Published 1 month ago

IFC/BIM with a 3D viewer: validate IFC, check IDS, Health Score, drawings, digital twins.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

validate_ifc Validate an IFC file and get its Health Score

Check an IFC (BIM) model against the IFC Viewer Online rule set — schema, spatial structure, names, GlobalIds, ISO 19650, classification, MEP and more — and return its Health Score (0–100, higher is better), issue counts, the rules that cost the most points and the first issues with links to fix guides. Runs locally on this machine; the file is not uploaded anywhere. Use it when the user asks whether a model is OK, what is wrong with it, or how good it is.

ParameterTypeDescription
source *stringPath to a local file (absolute, or relative to where the server runs) or a public http(s) URL.
maxIssuesintegerHow many issues to list (the counts always cover all of them).
rulesarrayRun only these rule ids (see list_validation_rules). Default: the viewer's default rules.

list_validation_rules List the IFC validation rules

List every rule validate_ifc can run: its id, category, severity and whether it is on by default. Use it to pick rules for validate_ifc or to explain what a rule checks.

check_ids Check an IFC file against IDS requirements

Check an IFC model against an IDS file (buildingSMART Information Delivery Specification 1.0) and return, per specification, pass/fail, how many elements applied, passed and failed, and the first failures with the element and the reason. Runs locally; nothing is uploaded. Use it when the user has an .ids file, or exchange requirements to verify a delivery against.

ParameterTypeDescription
ids *stringThe IDS: local path, public URL, or the IDS XML text itself.
ifc *stringThe IFC model: local path or public http(s) URL.
maxFailuresintegerFailures to list per specification.

open_in_3d_viewer Open IFC models in the 3D viewer

Build a link that opens one or more public IFC files in the free IFC Viewer Online 3D viewer (runs in the browser: orbit, section, measure, properties, validation with Health Score badge). Optional: drop them on the city map, isolate a class, pick a camera view, open a floor plan in the drawings pane, add point clouds. Also returns an <iframe> to embed the same view in a web page, wiki or dashboard. Use it whenever the user wants to see, show, share or embed a model in 3D. Give the link to the user to click; this tool does not open a window by itself.

ParameterTypeDescription
models *arrayPublic http(s) URLs of IFC files. Several URLs load together as one federated scene. Local paths do not work here: the browser has to download the file.
isolatestringShow only this IFC class, e.g. IfcWall, IfcDoor, IfcSpace.
langstringInterface language: en, es, ca, fr, de, it, pt, ja, zh or th.
mapbooleanPlace the models on the 3D city map at their own georeference.
scansarrayPublic point-cloud URLs (LAS/LAZ/E57/PLY…) to load with the models.
uistringInterface preset: full (all panels), minimal, kiosk (no chrome), client (read-only for clients), article (for embedding in pages).
validatebooleanRun validation after loading (default true).
viewstringCamera view once the models load.

open_drawings Open technical drawings next to a model

Build a link that opens IFC models with the drawings pane beside the 3D view and a floor plan already cut from the model. In that pane the user can also drop DXF or PDF drawings, place them over the model, calibrate the scale, compare plan against model, add dimensions and text, and export to DXF, SVG or PDF. Use it when the user wants a 2D plan, to check a drawing against the model, or to mark up a sheet.

ParameterTypeDescription
models *arrayPublic http(s) URLs of IFC files. Several URLs load together as one federated scene. Local paths do not work here: the browser has to download the file.
langstringInterface language: en, es, ca, fr, de, it, pt, ja, zh or th.

read_dxf Summarise a DXF drawing

Read a DXF drawing (ASCII, R12 to current) and summarise it: DXF version, units, layers with how many entities each, entity types, drawing extents and the text found on it (room names, labels, title block). Runs locally. Use it to tell what a drawing contains before placing it next to a model with open_drawings. DWG is detected but not read: ask the user to save it as DXF.

ParameterTypeDescription
source *stringPath to a local file (absolute, or relative to where the server runs) or a public http(s) URL.
maxTextsintegerHow many text strings to return.

open_3d_sketch Open the 3D sketch studio

Link to the 3D sketch studio: draw strokes in 3D space with a pen, finger or mouse — over a blank canvas or around a model — on a phone, tablet, foldable or desktop, and export to SVG, PSD, ORA or Blender. Free, in the browser, no account. Use it when the user wants to sketch an idea, mark up a design in 3D or make a concept drawing.

list_digital_twins List live digital twin scenes

List the ready-made city digital twins (Barcelona, Helsinki, Tokyo): georeferenced IFC models on terrain and the OpenStreetMap city, painted with live open data (bikes, EV chargers, traffic, air quality, trains). Each has a link and an embed link. Also returns the link to the twin builder, where the user builds their own twin (AGV warehouse, import tracking) from a CSV or live feed. Use it when the user asks for a digital twin demo or wants to start one.

read_fiware_entities Read entities from a FIWARE context broker

Read entities from a FIWARE context broker (Orion, Orion-LD, Scorpio, Stellio) over NGSI-LD or NGSIv2 and return them as flat records (id, type, each attribute value with its unit, lat/lon, observedAt) — the same shape the viewer's twin panel binds to IFC elements. The request goes from this machine straight to the broker. Use it to see what live data a broker offers before linking it to a model.

ParameterTypeDescription
broker *stringBroker root, e.g. https://orion.example.com:1026
apistringld = NGSI-LD, v2 = NGSIv2.
contextstringJSON-LD @context URL (NGSI-LD), for short attribute names.
limitintegerHow many entities to return.
servicePathstringFiware-ServicePath (NGSIv2 only).
tenantstringNGSILD-Tenant / Fiware-Service, if the broker uses one.
typestringEntity type, e.g. AirQualityObserved, ParkingSpot. NGSI-LD needs one.

search_port_library Search the Port de Barcelona IFC library

Search the Port de Barcelona BIM object library (cranes, bollards, fenders, signs, buildings… IFC, CC BY 4.0) by words and category. Each hit has its IFC download URL and a link that opens it in the 3D viewer. Use it when the user needs port or maritime infrastructure objects for a model or twin.

ParameterTypeDescription
categorystringOnly this category (the answer lists them).
limitinteger
querystringWords to look for in the object name, e.g. "grua", "bolardo", "crane". Empty lists everything.