bim-electrical-mcp
Enables AI-powered conversational querying of stored electrical BIM data through Google Gemini.
Provides structured storage and retrieval of processed electrical BIM data, including components and connections, in a Supabase database.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@bim-electrical-mcpProcess the uploaded DXF and give me a summary of electrical components."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BIM Electrical MCP
BIM Electrical MCP is a Python-based application for processing electrical BIM data from DXF and Revit-style JSON files, sanitizing and storing the extracted information in a Supabase database, and enabling AI-assisted querying through a conversational assistant.
The project is designed to help teams manage and analyze electrical design data more efficiently by combining file processing, structured storage, and intelligent chat-based interaction.
Key Features
Upload and process DXF and JSON BIM files
Extract electrical components and related metadata
Sanitize and redact sensitive or non-essential information before storage
Store processed data in Supabase using a structured schema
Query data through an AI-powered Electrical Chat Assistant powered by Google Gemini
Support a modular architecture for future integrations and extensions
Related MCP server: mcp-server-for-revit
Tech Stack
Python
Streamlit
Supabase
Google Gemini API
Additional libraries such as ezdxf, pandas, pydantic, python-dotenv, and pytest
Project Structure
.
├── app.py # Main Streamlit application entry point
├── requirements.txt # Python dependencies
├── .env.example # Example environment configuration template
├── src/
│ ├── agent/ # AI assistant integration logic
│ ├── db/ # Supabase client and SQL schema
│ ├── extractors/ # DXF and JSON extraction logic
│ ├── mcp_server/ # MCP server-related components
│ ├── sanitizer/ # Data sanitization/redaction utilities
│ └── ui/ # Pipeline and UI orchestration helpers
├── tests/ # Unit and integration tests
└── TDD.md # Development/testing notesGetting Started
1. Clone the repository
git clone <your-repository-url>
cd bim-electrical-mcp2. Create and activate a virtual environment
On Windows:
python -m venv venv
venv\Scripts\activateOn macOS/Linux:
python3 -m venv venv
source venv/bin/activate3. Install dependencies
pip install -r requirements.txt4. Configure environment variables
Create a .env file in the project root by copying the example template:
copy .env.example .envOr on macOS/Linux:
cp .env.example .envThen update the values in .env with your own generic configuration. The file should include the required Supabase and Google Gemini settings, for example:
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_KEY=your-service-key
GOOGLE_API_KEY=your-google-api-key
GOOGLE_PROJECT_ID=your-google-project-id
GOOGLE_LOCATION=globalKeep credentials and sensitive values private and never commit the
.envfile to a public repository.
Database Setup
This project uses Supabase as its data store. After creating a Supabase project:
Open the SQL Editor in Supabase.
Execute the SQL from src/db/schema.sql.
Ensure the required PostgreSQL extensions are available, including
vectorandpgcrypto.
The schema creates the core tables used by the application, including components and connections.
Running the Application
Start the Streamlit app with:
streamlit run app.pyThen open the local Streamlit URL in your browser to upload files, process BIM data, and interact with the assistant.
Testing
To run the test suite:
pytestLicense
This project is intended for educational, internal, or open-source use. Please review and adjust licensing terms as needed before distribution.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAI-powered MCP server that enables Claude and other LLMs to interact directly with construction documents, drawings, and specifications through advanced RAG and hybrid search capabilities.7MIT
- Flicense-qualityCmaintenanceNode.js MCP server enabling AI assistants to interact with Autodesk Revit for model operations, data queries, and sketch-to-building generation via LLM.231
- Alicense-qualityDmaintenanceA production-ready MCP server providing AI assistants with intelligent Supabase database access, featuring dynamic schema discovery, complete user management, and file storage operations.1MIT
- AlicenseAqualityBmaintenanceAn 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.8MIT
Related MCP Connectors
MCP server for interacting with the Supabase platform
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
MCP server giving Claude AI access to 22+ NYC public-record databases for real estate due diligence
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/althafdamara/bim-electrical-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server