ifcMCP
An MCP server that enables LLM agents to talk with IFC (Industry Foundation Classes) files
Star History
related packages
- ifcopenshell
- FastMCP
supported tools
- get_entities
- get_named_property_of_entities
- get_entity_properties
- get_entity_location
- get_entities_in_spatial
- get_openings_on_wall
- get_space_boundaries
how to use it
- clone this repo
- install packages needed: ifcopenshell, FastMCP
- start command line interface in folder
ifcMCP
, and run the commandpython server.py
- open your favorite LLM tools and setup MCP server with the following configuration:
{
"mcpServers": {
"ifcMCP-server": {
"name": "ifcMCP",
"type": "streamableHttp",
"description": "A simple MCP server to handle ifc files",
"isActive": true,
"tags": [],
"baseUrl": "http://127.0.0.1:8000/mcp"
}
}
}
contributors
Jia-Rui Lin (lin611#tsinghua.edu.cn)
Department of Civil Engineering, Tsinghua University
Key Laboratory of Digital Construction and Digital Twin led by Prof. Peng Pan
cite us
@article{JRLin2506,
author = {Jia-Rui Lin and Peng Pan},
title = {ifcMCP: Enabling LLM agents to talk with IFC files},
year = {2025}
}