ConstructAI
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., "@ConstructAIWhich activities are critical on Project 3 right now?"
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.
ConstructAI
AI-powered construction project control assistant combining Civil Engineering project controls, Model Context Protocol (MCP), SQLAlchemy, and a local LLM.
๐ง Overview
ConstructAI is an AI assistant designed for construction project control.
It allows users to ask project-control questions in natural language and uses MCP tools to retrieve project data, analyze schedules, identify risks, evaluate delays, and recommend recovery actions.
Key Capabilities
Analyze project schedule status
Identify critical activities
Find activities by name
Analyze construction delays
Determine delay impact on project completion
Identify delayed activities
Analyze activity dependencies
Identify resource bottlenecks
Analyze project risks
Generate schedule recovery strategies
Provide project-control summaries
Related MCP server: Unanet GovCon ERP MCP Server
๐๏ธ Architecture

User
โ
โผ
Natural Language Query
โ
โผ
Qwen3 8B (Local via Ollama)
โ
โผ
MCP Tool Calling
โ
โผ
ConstructAI MCP Server
โ
โโโ Schedule & CPM
โโโ Delay Analysis
โโโ Risk Analysis
โโโ Resource Analysis
โโโ Schedule Recovery
โ
โผ
SQLAlchemy
โ
โผ
Project Database
โ
โผ
Engineering Analysis
โ
โผ
AI Recommendation๐ค Technology Stack
Python
MCP 2.1.1
Qwen3 8B
Ollama
SQLAlchemy
SQLite
Natural-language tool calling
The LLM runs locally through Ollama, so the current system does not require a paid AI API.
๐ง MCP Tools
ConstructAI currently provides 11 MCP tools:
# | Tool | Purpose |
1 |
| Analyze the impact of an activity delay |
2 |
| Retrieve overall project status |
3 |
| Identify critical activities |
4 |
| Retrieve detailed activity information |
5 |
| Identify delayed activities |
6 |
| Analyze predecessor and successor relationships |
7 |
| Generate schedule recovery options |
8 |
| Identify resource bottlenecks |
9 |
| Analyze project risks |
10 |
| Provide an overall project-control summary |
11 |
| Find activities by name |
๐ Project Control Capabilities
Schedule Management
ConstructAI can analyze:
Planned start and finish dates
Activity durations
Early and late dates
Total float
Critical activities
Activity dependencies
Project completion dates
Delay Analysis
The system can determine:
Delayed activity
Delay duration
Original project finish
New project finish
Project completion impact
Affected downstream activities
Delay priority
Recommended corrective action
Schedule Recovery
ConstructAI can recommend strategies such as:
Expediting material procurement
Increasing manpower
Increasing working hours
Prioritizing critical activities
Coordinating successor activities
Controlled activity overlap
๐ง Example AI Workflow
User Question
Electrical Rough-in is delayed by 3 days because of a material shortage. What is the impact on Project 3 and how can we recover the schedule?
Tool Execution
User Question
โ
โผ
find_activity_tool
โ
โผ
Find Electrical Rough-in โ Activity ID = 33
โ
โผ
analyze_delay
โ
โผ
Calculate Delay Impact
โ
โผ
schedule_recovery
โ
โผ
Generate Recovery Strategy
โ
โผ
Engineering RecommendationResult
Original Project Finish : 2026-11-06
New Project Finish : 2026-11-09
Project Impact : 3 days
Priority : CRITICAL
Recovery Actions:
1. Expedite material procurement
2. Increase manpower
3. Increase working hours
4. Prioritize critical-path activity
5. Coordinate successor activities๐ข Demo Project
The project includes a sample construction schedule: ConstructAI Building Control Demo
The schedule contains activities covering:
Site Mobilization ยท Excavation ยท PCC ยท Footing Reinforcement ยท Footing Concrete ยท Pedestal Reinforcement ยท Pedestal Concrete ยท Column Reinforcement ยท Column Concrete ยท Slab Reinforcement ยท Slab Concrete ยท Masonry ยท Electrical Rough-in ยท Plumbing Rough-in ยท Plastering ยท Flooring ยท False Ceiling ยท Painting ยท Final MEP Installation ยท Testing & Commissioning ยท Final Inspection & Handover
๐งช Testing
The project contains test files for major project-control modules and MCP functionality, including:
test_cpm.pytest_delay.pytest_delay_impact.pytest_project_status.pytest_project_risk.pytest_schedule_recovery.pytest_resource_bottleneck.pytest_project_control_summary.py
๐ Project Structure
ConstructAI/
โ
โโโ ai_client.py
โโโ server.py
โ
โโโ database.py
โโโ models.py
โ
โโโ cpm.py
โโโ schedule.py
โโโ schedule_variance.py
โโโ forecast.py
โ
โโโ activity_details.py
โโโ activity_dependencies.py
โโโ critical_activities.py
โโโ delayed_activities.py
โโโ find_activity.py
โ
โโโ delay_analysis.py
โโโ delay_impact.py
โ
โโโ recovery.py
โโโ recovery_impact.py
โโโ schedule_recovery.py
โ
โโโ resource_bottleneck.py
โโโ project_risk_analysis.py
โโโ project_control.py
โโโ project_control_summary.py
โโโ project_status.py
โโโ recommendations.py
โ
โโโ requirements.txt
โโโ README.md
โโโ .gitignore๐ Installation
1. Clone the repository
git clone https://github.com/bilalgit/ConstructAI.git
cd ConstructAI2. Create a virtual environment
python -m venv venvActivate it on Windows:
venv\Scripts\activate3. Install dependencies
pip install -r requirements.txt4. Install Ollama
Install Ollama and download the Qwen3 model:
ollama pull qwen3:8b5. Run ConstructAI
Start the MCP server and AI client according to the project configuration.
๐ฐ Cost
Item | Value |
AI Model | Qwen3 8B |
Inference | Local |
API Cost | โน0 |
No paid AI inference API is required for the current setup.
๐ฏ Project Objective
The objective of ConstructAI is to explore how Artificial Intelligence and Model Context Protocol can be applied to construction project management and project controls.
The project combines:
Civil Engineering
Construction Planning
Critical Path Method
Schedule Management
Delay Analysis
Risk Management
Resource Management
Artificial Intelligence
MCP Tool Calling
Local LLMs
Database-driven project controls
๐ฎ Future Development
Potential future improvements include:
Construction cost control
Quantity tracking
Earned Value Management
Resource leveling
Progress forecasting
Automated daily progress reports
AI-generated weekly and monthly reports
BIM integration
Primavera P6 integration
Power BI dashboards
Construction document intelligence
Multi-project portfolio monitoring
๐จโ๐ป Author
Bilal
Civil Engineering | Construction Project Controls | AI Engineering
โญ If you find this project interesting, feel free to explore the repository.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
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 Connectors
Manage projects, tasks, time tracking, and team collaboration through natural language.
Ask questions in plain language, get answers from your business database. No SQL required.
Connects AI assistants to QCDatabase.AI for everyday construction quality-control work.
Ask business questions in plain English. Get instant answers from your database, no SQL needed.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI assistants to analyze Primavera P6 XER files for insights into critical paths, schedule health, and project performance. It provides 23 specialized tools for managing schedule data, resources, and earned value through local or remote interfaces.2912MIT
- AlicenseBqualityFmaintenanceEnables natural language interaction with Unanet GovCon ERP for project management, time tracking, financial reporting, and contact management, turning complex navigation into simple questions.153MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that enables LLMs to read and analyze Microsoft Project schedules, including critical path, resources, and advanced construction planning layers (AWP and LPS) for work packages and Lean planning.MIT
- AlicenseNot gradedqualityBmaintenanceEnables construction professionals to query project documents with conflict-aware RAG, detect contradictions, and trace change impacts through any MCP client.2,019MIT
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/bilalgit/ConstructAI'
If you have feedback or need assistance with the MCP directory API, please join our Discord server