@shuji-bonji/ifc-core-mcp
This server is an MCP-based reference server for the IFC4.3 specification, letting AI look up structured IFC definitions rather than operate on .ifc files.
Search IFC entities by name or description keyword (e.g.,
ifc_search_entitywith pagination).Retrieve full entity definitions including attributes, inheritance chain, WHERE rules, inverse attributes, and Markdown descriptions (
ifc_get_entity).Explore inheritance hierarchies — view ancestors, descendants, or both, with configurable depth (
ifc_get_inheritance).Look up PropertySets — get a full PropertySet definition by exact name or search by keyword (
ifc_get_propertysetwith get/search modes).Choose output format for every tool: human-readable Markdown or structured JSON.
Control result size and paging via limit/offset parameters (up to 100 results per request).
IFC Core MCP Server
MCP server for IFC4.3 specification reference — search and retrieve IFC entity definitions, attributes, inheritance hierarchies, and PropertySets.
Unlike existing IFC-related MCP servers that operate on IFC model files (parse, extract, modify), this server provides access to the IFC specification itself as a structured reference. It enables AI to look up the correct definitions of entities, attributes, types, and constraints defined in the IFC4.3 standard (ISO 16739-1:2024).
Key Features
Entity Search — find IFC entities by name or description keyword
Entity Definition — retrieve complete definitions with attributes, inheritance, WHERE rules, and documentation
Inheritance Tree — visualize ancestor chains and descendant hierarchies
PropertySet Lookup — get or search PropertySet definitions with full documentation
Dual Output — every tool supports both Markdown (human-readable) and JSON (structured) formats
Pagination — configurable limit/offset for large result sets
Related MCP server: rdf-mcp
Available Tools
Tool | Description |
| Search entities by name or description keyword |
| Get complete entity definition (attributes, inheritance, WHERE rules, docs) |
| Show inheritance hierarchy (ancestors, descendants, or both) |
| Get or search PropertySet definitions |
Scope
What this MCP provides
IFC4.3 specification reference: entity definitions, attributes, inheritance, WHERE rules, PropertySet definitions
Structured lookup of the IFC standard (ISO 16739-1:2024) — a vocabulary/dictionary for AI
Dual output (Markdown / JSON) suitable for both human reading and programmatic consumption
What this MCP does NOT provide
IFC file (.ifc) parsing or extraction — use IfcOpenShell (Python) or web-ifc (TypeScript/WebAssembly) instead
Geometry rendering or 3D visualization
Schema version migration (IFC2x3 / IFC4 → IFC4.3) — currently IFC4.3 only
Quantity information (
Qto_*) — planned for a future release
If you need to operate on actual .ifc files at runtime, combine this MCP (for specification lookup) with a file-operation library (for data extraction).
Installation
npm (global)
npm install -g @shuji-bonji/ifc-core-mcpClaude Desktop
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"ifc-core": {
"command": "npx",
"args": ["-y", "@shuji-bonji/ifc-core-mcp"]
}
}
}Claude Code
claude mcp add ifc-core -- npx -y @shuji-bonji/ifc-core-mcpFrom source
git clone https://github.com/shuji-bonji/ifc-core-mcp.git
cd ifc-core-mcp
npm install
npm run build
node dist/index.jsRunning manually (after global install)
After npm install -g @shuji-bonji/ifc-core-mcp, the server can be started with:
ifc-core-mcpThe process communicates over stdio (MCP standard transport) and is intended to be launched by an MCP client (Claude Desktop, Claude Code, etc.) rather than invoked directly for interactive use.
Example Usage
Once installed, you can ask an MCP-enabled LLM (e.g., Claude) questions such as:
"What attributes does
IfcSpacehave in IFC4.3?""Show me the inheritance hierarchy from
IfcBuildingElementdown to leaf subtypes.""Find all IFC entities related to HVAC."
"What PropertySets apply to
IfcWall, and what properties do they contain?""What is the definition of
IfcMapConversion, and which attributes store CRS information?"
The LLM will invoke the appropriate tool (ifc_search_entity, ifc_get_entity, ifc_get_inheritance, or ifc_get_propertyset) and return structured results.
Data Coverage
The server covers the complete IFC4.3 schema:
Category | Count |
Entities | 876 |
Type Declarations | 132 |
Enumerations | 243 |
Select Types | 61 |
Functions | 48 |
Global Rules | 2 |
Entities are organized across 4 IFC layers:
Layer | Entities | Description |
Resource | 392 | Geometry, units, materials |
Core | 145 | Kernel, product extensions |
Shared | 111 | Walls, columns, beams, MEP |
Domain | 228 | Architecture, HVAC, rail, roads |
Architecture
Build time (one-time, Python):
IFC.exp (EXPRESS schema) → ifc4x3-schema.json
IFC4.3.x-development Markdown → ifc4x3-descriptions-*.json
Runtime (TypeScript MCP server):
Pre-built JSON files → Map-based indexes → MCP toolsThe server loads three pre-built JSON data files at startup and builds in-memory indexes (Maps) for O(1) entity lookups by name. The EXPRESS schema provides structural data (types, attributes, inheritance, WHERE rules), while the Markdown documentation provides semantic data (definitions, usage, history).
Data Sources & Licenses
EXPRESS schema (
IFC.exp) — from buildingSMART/IFC4.3.x-outputMarkdown documentation — from buildingSMART/IFC4.3.x-development
IFC specification content is licensed under CC BY-ND 4.0 by buildingSMART International
Development
Prerequisites
Node.js >= 22.12 (22 and 24 are verified in CI)
Python 3 + IfcOpenShell (only for data regeneration)
Commands
npm run build # Compile TypeScript
npm run dev # Watch mode with tsx
npm test # Run all tests (unit + e2e)
npm run test:unit # Unit tests only
npm run test:e2e # E2E integration tests
npm run lint # Biome lint
npm run format # Biome formatting
npm run check # Biome lint + format + import order (used in CI)
npm run prepare-data # Regenerate data from raw sources (requires Python)Connecting a local build to Claude Desktop
To test changes before publishing, point Claude Desktop at the built file instead of the npm package. Add an entry with a distinct name (for example ifc-core-dev) to claude_desktop_config.json, using the absolute path to your clone:
{
"mcpServers": {
"ifc-core-dev": {
"command": "node",
"args": ["/absolute/path/to/ifc-core-mcp/dist/index.js"]
}
}
}Notes:
dist/is not rebuilt automatically. After editingsrc/, runnpm run buildand restart Claude Desktop. (npm run devkeeps stdio for its own watcher, so it cannot be used as the Desktop entry point.)Claude Desktop is launched from the GUI, so
nodeinstalled via nvm / volta may not be on its PATH. If the server fails to start, replace"command": "node"with the absolute path printed bywhich node.
Tech Stack
Runtime: TypeScript 7 (strict), Node.js
MCP SDK:
@modelcontextprotocol/serverv2 (serveStdio; serves both the 2025 and 2026-07-28 protocol revisions)Validation: Zod 4
Testing: Vitest (unit + e2e with actual MCP client)
Linting / Formatting: Biome
CI/CD: GitHub Actions (lint → test → build → publish)
Roadmap
This server focuses on the IFC4.3 schema itself. Potential future directions under consideration:
QuantitySet (
Qto_*) support — add quantity definitions alongside PropertySetsifcJSON schema — complement the current EXPRESS-derived data
Cross-version lookup — map IFC2x3 / IFC4 → IFC4.3 entities
Sister MCP for IFC file operations — a separate project (planned, not yet released) for parsing and querying actual
.ifcfiles, designed to pair with this reference server
Feedback and use-case reports are welcome via GitHub Issues.
Related Projects
w3c-mcp — MCP server for W3C/WHATWG/IETF web specifications
rfcxml-mcp — MCP server for IETF RFC documents (XML-based)
epsg-mcp — MCP server for EPSG coordinate reference systems (useful when combined with
IfcMapConversion)
License
Available Tools
4 toolsifc_get_entityGet IFC Entity DefinitionARead-onlyIdempotent
Get the complete definition of an IFC4.3 entity including attributes, inheritance, WHERE rules, and description.
Returns the entity's structural definition from the EXPRESS schema merged with the Markdown documentation.
Args:
name (string): IFC entity name (e.g. "IfcWall", "IfcBeam", "IfcProject")
include_inherited (boolean): Include attributes inherited from supertypes (default: true)
include_inverse (boolean): Include inverse relationship attributes (default: false)
include_description (boolean): Include Markdown description text (default: true)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: Entity definition with attributes, types, inheritance chain, WHERE rules, and description.
Examples:
"IfcWall" → Wall entity with PredefinedType, supertype chain to IfcRoot
"IfcProject" → Project entity with global context attributes
Inputs: name (required), include_inverse, response_format, include_inherited, +1 more.
ifc_get_inheritanceGet IFC Inheritance TreeARead-onlyIdempotent
Get the inheritance hierarchy of an IFC4.3 entity.
Shows ancestor chain (supertypes up to IfcRoot) and/or descendant tree (subtypes).
Args:
name (string): IFC entity name (e.g. "IfcRoot", "IfcProduct", "IfcWall")
direction ('descendants' | 'ancestors' | 'both'): Which direction to show (default: 'both')
depth (number): Max depth for descendant tree, 1-10 (default: 3)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: Inheritance hierarchy showing ancestors and/or descendants.
Examples:
"IfcRoot" with direction="descendants" → full class hierarchy tree
"IfcWall" with direction="ancestors" → IfcWall → IfcBuiltElement → ... → IfcRoot
"IfcProduct" with direction="both" → both ancestor chain and subtype tree
Inputs: name (required), depth, direction, response_format.
ifc_get_propertysetGet IFC PropertySet DefinitionARead-onlyIdempotent
Get or search IFC4.3 PropertySet definitions.
In 'get' mode, retrieves the full definition of a named PropertySet including individual property names, data types, and IFC type mappings. In 'search' mode, searches PropertySets by keyword.
Args:
name (string): PropertySet name (e.g. "Pset_WallCommon") or search keyword
mode ('get' | 'search'): Lookup mode (default: 'get')
limit (number): Max results for search mode (default: 20)
offset (number): Pagination offset for search mode (default: 0)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: PropertySet definition with properties (name, dataType, ifcType, valueKind) and descriptions.
Examples:
name="Pset_WallCommon", mode="get" → Full PropertySet definition with 10 properties
name="Wall", mode="search" → All PropertySets related to walls
name="thermal", mode="search" → PropertySets with thermal properties
Inputs: name (required), mode, limit, offset, +1 more.
ifc_search_entitySearch IFC EntitiesARead-onlyIdempotent
Search IFC4.3 entities by name or description keyword.
Returns matching entities with their name, layer, schema, and short definition. Supports partial name matching and description text search.
Args:
query (string): Search keyword (e.g. "Wall", "beam", "spatial", "opening")
limit (number): Max results, 1-100 (default: 20)
offset (number): Pagination offset (default: 0)
response_format ('markdown' | 'json'): Output format (default: 'markdown')
Returns: List of matching entities with name, layer, schema, and short definition.
Examples:
"Wall" → IfcWall, IfcWallType, IfcWallStandardCase, ...
"spatial" → IfcSpatialElement, IfcSpatialStructureElement, ...
"beam" → IfcBeam, IfcBeamType, IfcBeamStandardCase, ...
Inputs: query (required), limit, offset, response_format.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool serves a distinct purpose: entity definition lookup, inheritance hierarchy, propertyset retrieval/search, and entity search. No functional overlap, clear boundaries.
All tools follow the pattern 'ifc_<verb>_<noun>', but verbs are not perfectly uniform ('get' for three, 'search' for one). Consistent prefix and noun naming, minor verb inconsistency.
Four tools is reasonable for a core IFC schema server. Covers essential lookups without being too sparse or bloated. Could include a few more (e.g., types, quantities) but current count is appropriate.
Covers key aspects of IFC schema: entity definitions, inheritance, propertysets, and search. Missing metadata like types list or quantity sets, but core read operations are well-covered.
Maintenance
Related MCP Connectors
MCP server for Product Management
MCP Server for Orderly Network - Documentation and SDK patterns
MCP server for AI access to Swagger by SmartBear.
MCP server for querying Forkast documentation
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP Server for accessing W3C/WHATWG/IETF web specifications. Provides AI assistants with access to official web standards data including specifications, WebIDL definitions, CSS properties, and HTML elements.1116 npm4MIT
- AlicenseNot gradedqualityDmaintenanceMCP servers for querying Brick and 223P ontologies, enabling abbreviation expansion, term/property lookup, and definition retrieval.5BSD 3-Clause
- AlicenseCqualityDmaintenanceMCP server for retrieving clinical standard content from the CDISC Library, supporting controlled terminology, ADaM, SDTM, CDASH, SEND metadata, and search.317MIT
- AlicenseAqualityDmaintenanceMCP server for IFC geometric audit, providing tools to detect space clashes, extract space inventories, compute surface losses, check boundaries, and verify opening correspondences in BIM models.6Apache 2.0