Construction Project Intelligence MCP Server
Click on "Deploy 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., "@Construction Project Intelligence MCP Server Which issues are putting the North Campus handover at risk?"
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.
Construction Project Intelligence MCP Server
An MCP server that gives AI assistants (Claude Desktop, Claude Code, any MCP client) read-only access to live construction project data and the project document library at the same time. Users can ask questions like:
"Which issues are putting the North Campus handover at risk, and what do the latest reports say about them?"
The assistant then pulls the issues from the project platform, scores the schedule risk, finds the inspection reports and minutes that reference those issues, and cites its sources.
Note: This is a sanitised reference implementation. The platform API, the projects and the documents are fictional and run locally. The architecture is modelled on common integration patterns between construction project platforms and enterprise document stores.
Why this exists
On large CAPEX projects, the truth about a project is split across systems:
Issues, inspections and schedules live in a project platform.
Context (minutes, inspection reports, specifications) lives in a document library.
Project controls teams spend hours stitching the two together every week. An MCP server puts that join behind a small set of well-defined tools. Any AI assistant can use them safely, and the business logic stays testable and reusable.
Related MCP server: Keystone MCP Server
Architecture
flowchart LR
U[User in Claude Desktop / Claude Code] --> A[AI assistant]
A -- MCP stdio / HTTP --> S[MCP server<br/>thin tool layer]
S --> PI[ProjectIntelligence<br/>service layer]
PI --> PC[PlatformClient<br/>REST, auth, pagination, retries]
PI --> DS[DocumentStore<br/>metadata + TF-IDF search]
PC --> API[(Project platform API<br/>mock: FastAPI)]
DS --> DOCS[(Document library<br/>mock: Markdown + YAML;<br/>prod: Microsoft Graph)]Layer | Responsibility | File |
MCP tools | Tool contracts, input limits, error-to-message mapping, prompt template |
|
Service | Joins platform and documents, filtering, risk scoring |
|
Platform connector | Async REST, bearer auth, pagination, retry with backoff on 429/5xx |
|
Document connector |
|
|
Mock platform | Deterministic fictional data, auth, pagination, optional rate limiting |
|
Tools
All tools are annotated readOnlyHint: true. The assistant can investigate, but it cannot change source data.
Tool | What it does |
| Projects with phase, location, planned completion |
| Filter by status, priority, discipline, overdue; sorted by priority then due date |
| One issue, days overdue, and the documents that reference it (falls back to search) |
| Ranked full-text search over minutes, reports and specs, scoped by project |
| Full text and metadata of one document |
| Risk score, discipline hotspots, worst overdue issues with evidence, and the scoring method |
Prompt: weekly_site_brief(project_id) is a template for a one-page steering-meeting brief.
Example: project_risk_brief("P-200") (real output, abridged)
{
"open_issues": 18, "overdue_issues": 16, "critical_or_high_overdue": 5,
"risk_score": 58, "risk_level": "elevated",
"hotspots": [
{"discipline": "HVAC", "open_issues": 6, "overdue_issues": 6, "risk_points": 68},
{"discipline": "Electrical", "open_issues": 5, "overdue_issues": 5, "risk_points": 49}
],
"top_overdue": [
{"issue": {"id": "ISS-2006", "title": "AHU commissioning sheet incomplete at Level 2 lab wing", "priority": "critical"},
"days_overdue": 69, "linked_documents": [{"id": "DOC-201", "title": "Commissioning status report, October"}]}
],
"method": "Each open issue scores its priority weight (low 1, medium 2, high 4, critical 8). Overdue issues are doubled ..."
}Design decisions
Thin MCP layer, fat service layer. Business logic is plain Python, tested without MCP. The same service can drive a scheduled report or a dashboard.
Explainable scoring. The risk score is a simple, documented formula returned with every brief, so a project manager can challenge it. Priority dominates and lateness only amplifies it, so a stale low-priority snag never outranks a fresh critical one. This is covered by a unit test.
Read-only by default. Write actions on site data (closing issues, changing dates) should go through a human approval step, not an LLM tool call.
Errors are answers. Platform failures return a clear message to the assistant (e.g. "check CPI_PLATFORM_TOKEN") instead of crashing the session.
Swappable connectors.
DocumentStoreis a protocol. The local implementation can be replaced with Microsoft Graph (SharePoint) or a vector index without touching the tools.Bounded outputs. Tool limits are capped, so a single call cannot flood the model context.
Quickstart
git clone https://github.com/ConSpen/construction-mcp-server
cd construction-mcp-server
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
# 1. start the mock project platform
uvicorn mock_platform.app:app --port 8765
# 2. run the tests (no server needed, uses an in-process transport)
pytest
# 3. try the server interactively
CPI_AS_OF=2026-11-02 mcp dev src/construction_mcp/server.pyUse it from Claude Desktop
Add this to claude_desktop_config.json, using absolute paths:
{
"mcpServers": {
"construction-intelligence": {
"command": "/path/to/construction-mcp-server/.venv/bin/construction-mcp",
"env": {
"CPI_PLATFORM_URL": "http://127.0.0.1:8765",
"CPI_PLATFORM_TOKEN": "demo-token",
"CPI_DOCUMENTS_PATH": "/path/to/construction-mcp-server/sample_docs",
"CPI_AS_OF": "2026-11-02"
}
}
}
}Then ask: "Give me a weekly site brief for P-100."
Configuration
Variable | Default | Purpose |
|
| Platform API base URL |
|
| Bearer token |
|
| Document library root |
| today | Pin "today" for demos and reproducible results |
|
| Retries on 429 / 5xx |
| off | Mock only: return 429 on every Nth call to exercise retries |
Testing
There are 18 tests across three levels:
Connector: pagination, filters, auth errors, retry and give-up behaviour
Service: search ranking, project scoping, issue-document linking, risk model invariants
MCP: tool registration, read-only annotations, tool round trips, error handling
CI runs ruff and pytest on every push.
Taking this to production
Replace
LocalDocumentStorewith a Microsoft Graph connector (delegated auth, so users only see documents they already have access to).Add caching with short TTLs for list endpoints, plus structured logging of tool calls for audit.
Run over streamable HTTP behind the organisation's identity provider (OAuth), not with a shared token.
Add an evaluation set of real questions with expected tool calls, and track answer quality over time.
License
MIT. Built with Claude Code.
Available Tools
6 toolsget_issueARead-onlyIdempotent
Get one issue with days overdue and the documents that reference it.
Inputs: issue_id (required). Returns: object
list_projectsBRead-onlyIdempotent
List all projects with phase, location and planned completion date.
Inputs: no named parameters. Returns: result
project_risk_briefBRead-onlyIdempotent
Schedule-risk brief for a project: score, discipline hotspots and the worst overdue issues with their supporting documents. Includes the scoring method.
Inputs: project_id (required). Returns: object
read_documentBRead-onlyIdempotent
Read the full text and metadata of one document by ID.
Inputs: document_id (required). Returns: object
search_documentsBRead-onlyIdempotent
Full-text search over the project document library (minutes, reports, specs).
Inputs: query (required), limit, project_id. Returns: result
search_issuesARead-onlyIdempotent
Find issues on a project, sorted by priority then due date.
Filter by status (open, in_progress, closed), priority (low..critical), discipline (e.g. "MEP", "Structural") or overdue_only.
Inputs: project_id (required), limit, status, priority, +2 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Most tools have clearly distinct resource/action boundaries: document search vs. document read, issue search vs. issue retrieval, and project listing vs. risk briefing. The only mild overlap is that project_risk_brief also surfaces overdue issues, which search_issues can also find, but the aggregate scoring and hotspot focus keep it distinct.
Five of six tools follow a clear verb_noun pattern: search_documents, read_document, list_projects, search_issues, get_issue. project_risk_brief is a noun phrase that breaks the pattern, but the overall convention remains predictable.
Six tools is well-scoped for a construction project intelligence server focused on projects, documents, issues, and risk. Each tool covers a distinct operation without obvious padding.
The surface covers the core read-oriented intelligence workflows: project listing, document search/read, issue search/retrieval, and a project risk brief. Minor gaps remain, such as no dedicated get_project detail operation or issue creation/update, though these may be outside the server's read-only scope.
Related MCP Connectors
Read-only access to Cogram projects, meetings, email, RFIs and drawings for architects and engineers
Connect your own AI to live INGENIOUS.BUILD construction project data. Included in Pro.
Ask your AI about construction and ad-platform data. Read-only on your systems, never writes to them
Connects AI assistants to QCDatabase.AI for everyday construction quality-control work.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceProvides AI assistants with read-only access to Secureframe's compliance data, enabling querying of security controls, tests, users, vendors, and more across frameworks like SOC 2 and ISO 27001.8MIT
- FlicenseNot gradedqualityDmaintenanceEnables construction professionals to query project documents with conflict-aware RAG, detect contradictions, and trace change impacts through any MCP client.-

co.geztio/platformofficial
AlicenseNot gradedqualityCmaintenanceEnables AI assistants to search and manage construction project economic data, including unit price analyses, resource catalogs, budget trees, and price lists, with secure multi-tenant access.MIT- FlicenseNot gradedqualityCmaintenanceEnables AI agents to query live construction project data such as RFIs, submittals, budget variance, daily logs, punch lists, and inspection checklists.-