Get the FREE Ultimate OpenClaw Setup Guide →

construction

Lightweight MCP server for construction project management and material calculations

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio viranjpatel-construction-mcp-server node path/to/construction-mcp-server/server.js

How to use

This MCP server provides two primary capabilities for construction planning: a Material Calculator and a Cost Estimator. The Material Calculator computes material quantities for common structural elements such as foundations, walls, slabs, and beams based on given dimensions (length, width, height). The Cost Estimator uses material unit costs to provide quick estimates for project materials (for example, concrete quantity in cubic meters and associated price). The server is designed to be zero-dependency beyond the MCP SDK, runs in-memory for fast responses, and exposes its functions via simple JSON payloads. To use it, send structured JSON requests to the exposed endpoints and receive computed material requirements or cost estimates in return. You can also combine these tools to perform end-to-end planning, from structural sizing to budgeting, all without a database or external API calls.

How to install

Prerequisites:\n- Node.js (LTS version) and npm installed on your machine.\n- Access to the project repository.\n\nStep-by-step installation:\n1) Clone the repository or download the package archive.\n2) Open a terminal and navigate to the project directory.\n3) Install dependencies:\nbash\nnpm install\n\n4) Start the MCP server:\nbash\nnpm start\n\n5) Connect to the server using the provided MCP configuration, e.g., add the following to your MCP client config:\njson\n{\n "mcpServers": {\n "construction": {\n "command": "node",\n "args": ["path/to/construction-mcp-server/server.js"]\n }\n }\n}\n

Additional notes

Tips and common considerations:\n- Ensure Node.js is installed and accessible in your PATH before running npm install and npm start.\n- Since the server is in-memory with a zero-dependency design, it is best suited for lightweight usage or local development. For production, consider deploying behind a process manager and load balancer if multiple instances are needed.\n- The Material Database is JSON-based and designed for quick lookups; if you need to adjust unit costs or densities, modify the in-memory data structure accordingly before starting the server.\n- If you encounter issues with path resolution in the command, confirm the correct path to server.js in the startup args.\n- Monitor performance notes: sub-millisecond responses are expected for simple calculations; if you observe delays, verify that there are no blocking I/O operations in your environment and that you are hitting the in-memory calculator endpoints directly.

Related MCP Servers

Sponsor this space

Reach thousands of developers