convez.ai
MCP ServerAutomaçãoAvançado
PsVenom

IFC Engineer MCP Server

PsVenom/IFC-MCP

Manipule modelos BIM com IA via consultas em linguagem natural

Ver no GitHub
InicialPluginScore · de 0 a 100

Servidor MCP que oferece leitura e escrita completa em arquivos IFC (Industry Foundation Classes) de modelos de construção. Integrado com IfcOpenShell, permite que agentes de IA inspecionem, editem e criem conteúdo estrutural através de interface conversacional.

Instalação

$npx convez-ai PsVenom/IFC-MCP

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
0
Saúde
28%
Último commit
há 5 meses
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Análise estrutural e modificação de projetos BIM
  • Geração automatizada de listas de materiais (material takeoff)
  • Consultas CSS-like em elementos IFC (paredes, pilares, vigas, lajes)
  • Integração com agentes Claude para automação de tarefas de engenharia

Veredito

Ferramenta niche mas robusta para engenheiros estruturais que trabalham com BIM. Requer conhecimento técnico de IFC e Python, mas simplifica drasticamente operações de leitura/escrita em modelos complexos através de IA conversacional.

README

A tradução para o português deste README ainda está na fila.

IFC Engineer MCP Server

An MCP (Model Context Protocol) server that gives AI assistants full read/write access to IFC (Industry Foundation Classes) building models. Designed for structural engineers who want to inspect, edit, and create IFC content through a conversational interface.

Built on IfcOpenShell and the MCP Python SDK.


What it does

CategoryTools
File I/Oload_ifc, save_ifc, create_new_ifc_file
Browselist_element_types, get_elements_by_type, get_element_by_id, get_element_by_global_id, search_elements, get_spatial_tree
Geometryget_element_placement, move_element, get_element_volume
Materialsget_element_material, assign_material
Propertiesget_properties, set_properties, set_quantities
Create / Deletecreate_element, delete_element
Analysisstructural_summary, material_takeoff

Highlights

  • Query any element type — walls, beams, columns, slabs, footings, piles, and any other IFC class
  • CSS-like selector search — e.g. IfcBeam[material=Steel] or IfcWall[Pset_WallCommon.LoadBearing=True]
  • Unit-aware coordinates — all positions are expressed in metres regardless of the file's internal unit (mm or m)
  • Absolute and relative placement — move elements to a world coordinate or offset from their current position
  • Material takeoff — density, grade, and volume per element in one call
  • Full spatial tree — Project → Site → Building → Storey → Element hierarchy

Requirements


Installation

git clone <this-repo>
cd ifc-mcp

python3 -m venv venv
source venv/bin/activate          # Windows: venv\Scripts\activate

pip install -r requirements.txt

Running the server

source venv/bin/activate
python server.py

The server speaks the MCP stdio protocol and is ready to be connected to any MCP-compatible client.


Connecting to Claude Desktop

Add the following to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "ifc-engineer": {
      "command": "/absolute/path/to/ifc-mcp/venv/bin/python",
      "args": ["/absolute/path/to/ifc-mcp/server.py"]
    }
  }
}

Restart Claude Desktop. You should see ifc-engineer listed under connected tools.


Connecting to Claude Code (CLI)

Add to your project's .claude/mcp.json or use the global MCP config:

{
  "mcpServers": {
    "ifc-engineer": {
      "command": "/absolute/path/to/ifc-mcp/venv/bin/python",
      "args": ["/absolute/path/to/ifc-mcp/server.py"]
    }
  }
}

Example usage

Once connected, you can talk to the server naturally:

"Load the file at ~/models/office_building.ifc and give me a structural summary."

"List all load-bearing walls and show their materials."

"Move column C1 to coordinates x=5.5, y=3.0, z=0."

"Create a new IfcBeam called 'Ridge Beam' at x=0, y=10, z=6 and assign it Steel S355 with density 7850 kg/m³."

"Generate a material takeoff for all beams and slabs."


Supported IFC element types

Any valid IFC class can be created or queried. Common structural types:

IfcWall · IfcWallStandardCase · IfcSlab · IfcBeam · IfcColumn · IfcFooting · IfcPile · IfcMember · IfcPlate · IfcRoof · IfcStair · IfcRamp · IfcDoor · IfcWindow


Selector syntax

search_elements accepts IfcOpenShell filter expressions:

IfcWall                                      # all walls
IfcBeam[material=Steel]                      # steel beams
IfcWall[Pset_WallCommon.LoadBearing=True]    # load-bearing walls
IfcColumn[PredefinedType=COLUMN]             # standard columns
IfcWall, IfcBeam                             # walls and beams combined

Project structure

ifc-mcp/
├── server.py          # MCP server — all 21 tools
├── requirements.txt   # Python dependencies
├── mcp.json           # MCP config snippet (reference)
└── .gitignore

License

MIT

Ver o original no GitHub

Bom para

Relacionados