ifcopenshell-mcp

ifcopenshell-mcp

An MCP server that lets users query, validate, convert, and compare IFC/BIM files using natural language. Runs fully locally and integrates with AI agents like Claude.

Category
访问服务器

README

ifcopenshell-mcp

License: MIT Python 3.10+ MCP Compatible

Talk to your BIM models in natural language. An open-source MCP server for IfcOpenShell — query, validate, convert, and compare IFC files through AI agents.


For Architects (no coding required)

What does this do?

Drag an .ifc file into Claude and ask questions like:

"How many fire doors are on Level 2?"

Claude reads your model and answers:

Found 2 IfcDoor elements with FireRating=R60:
- Fire Exit GF (Ground Floor)
- Fire Exit L2 (Level 2)

No Revit. No Navisworks. No SQL. Just drag, ask, get answers.

What can I ask?

You ask... It does...
"Summarize this model" Shows project name, total elements, spatial structure
"How many walls on Ground Floor?" Counts and lists them with IDs
"Validate that all elements have materials" QA/QC report: PASS / FAIL / WARNING per element
"Extract concrete quantities for Level 1" Area, volume, length organized by element
"What changed since last week's version?" Diff report: added, removed, modified elements
"Convert this to GLB for web viewing" Creates a 3D file viewable in any browser

Complete tool list at the bottom of this page.

How to install (5 minutes, one time only)

Step 1: Install uv (a tiny installer). Open your terminal once and paste:

Windows (PowerShell):

powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Mac (Terminal):

curl -LsSf https://astral.sh/uv/install.sh | sh

Step 2: Download this tool. In the same terminal:

git clone https://github.com/Daviidro/ifcopenshell-mcp.git
cd ifcopenshell-mcp
uv sync

Step 3: Tell Claude about it. Open Claude Desktop → Settings → Developer → Edit Config, and paste:

{
  "mcpServers": {
    "ifcopenshell": {
      "command": "uv",
      "args": ["run", "ifcopenshell-mcp"],
      "cwd": "D:/ifcopenshell-mcp"
    }
  }
}

Restart Claude Desktop. Done. Drag any .ifc file and start asking.

Is this safe?

Yes. Your files never leave your computer. Period.

  • Everything runs 100% locally — no cloud, no accounts, no internet needed
  • It only reads IFC files you explicitly drag into Claude — nothing else
  • It cannot write files outside your project folder
  • It cannot access system files
  • The code is open source (MIT) — anyone can inspect every line
  • Built on IfcOpenShell, trusted by thousands of architects and engineers since 2011

No telemetry. No analytics. No hidden anything.


For Developers (contributing code)

Tools

Tool Description Example question
query_ifc_elements Search by type, level, or properties "Show all fire doors"
get_ifc_statistics Model overview and class distribution "Give me a summary"
get_element_properties Full properties of one element by GUID "Details of wall 3GQqVv..."
list_ifc_spaces All rooms/spaces "List all rooms"
validate_ifc_model QA/QC: materials, properties, containment, naming "Validate this model"
compare_ifc_models Diff between two IFC versions "What changed?"
extract_ifc_quantities Quantity takeoffs (markdown/CSV/JSON) "Concrete volume?"
convert_ifc_to_gltf IFC to GLB for web visualization "Make it viewable online"

Supported formats

  • IFC2x3, IFC4, IFC4.3 (.ifc, .ifczip, .ifcxml)
  • Output: markdown, CSV, JSON
  • GLB: requires IFC files with geometric representations. Semantic-only IFCs report conversion failure.

Setup

git clone https://github.com/Daviidro/ifcopenshell-mcp.git
cd ifcopenshell-mcp
uv sync
uv run pytest tests/ -v    # 19 tests, all must pass

Tests

uv run pytest tests/ -v
# Expected: 19 passed (13 functional + 6 error handling)

Roadmap

  • [ ] Clash detection (bounding box)
  • [ ] COBie spreadsheet export
  • [ ] IFC to Revit roundtrip via Speckle
  • [ ] Classification system validation (Uniclass, OmniClass)

Contributing

See CONTRIBUTING.md. Built on IfcOpenShell (LGPL-3.0) and MCP. Also check out the official IfcOpenShell MCP.

Ecosystem

License

MIT — see LICENSE file.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选