loading…
Search for a command to run...
loading…
MCP server for IFC4.3 specification reference — search and retrieve IFC entity definitions, attributes, inheritance hierarchies, and PropertySets
MCP server for IFC4.3 specification reference — search and retrieve IFC entity definitions, attributes, inheritance hierarchies, and PropertySets
npm version CI License: MIT Built with Claude Cowork
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).
| Tool | Description |
|---|---|
ifc_search_entity |
Search entities by name or description keyword |
ifc_get_entity |
Get complete entity definition (attributes, inheritance, WHERE rules, docs) |
ifc_get_inheritance |
Show inheritance hierarchy (ancestors, descendants, or both) |
ifc_get_propertyset |
Get or search PropertySet definitions |
Qto_*) — planned for a future releaseIf you need to operate on actual .ifc files at runtime, combine this MCP (for specification lookup) with a file-operation library (for data extraction).
npm install -g @shuji-bonji/ifc-core-mcp
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"ifc-core": {
"command": "npx",
"args": ["-y", "@shuji-bonji/ifc-core-mcp"]
}
}
}
claude mcp add ifc-core -- npx -y @shuji-bonji/ifc-core-mcp
git clone https://github.com/shuji-bonji/ifc-core-mcp.git
cd ifc-core-mcp
npm install
npm run build
node dist/index.js
After npm install -g @shuji-bonji/ifc-core-mcp, the server can be started with:
ifc-core-mcp
The 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.
Once installed, you can ask an MCP-enabled LLM (e.g., Claude) questions such as:
IfcSpace have in IFC4.3?"IfcBuildingElement down to leaf subtypes."IfcWall, and what properties do they contain?"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.
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 |
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 tools
The 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).
IFC.exp) — from buildingSMART/IFC4.3.x-outputnpm 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 # ESLint check
npm run format # Prettier formatting
npm run prepare-data # Regenerate data from raw sources (requires Python)
@modelcontextprotocol/sdkThis server focuses on the IFC4.3 schema itself. Potential future directions under consideration:
Qto_*) support — add quantity definitions alongside PropertySets.ifc files, designed to pair with this reference serverFeedback and use-case reports are welcome via GitHub Issues.
IfcMapConversion)Выполни в терминале:
claude mcp add shuji-bonji-ifc-core-mcp -- npx PRs, issues, code search, CI status
автор: GitHubDatabase, auth and storage
автор: SupabaseSecure file operations with configurable access controls.
Reference / test server with prompts, resources, and tools.
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории development