Skip to main content
Glama
ViranjPatel

Construction MCP Server

by ViranjPatel

Construction MCP Server

Ultra-lightweight MCP server for construction calculations and material estimation.

Features

  • Material Calculator: Calculate concrete, steel, brick requirements

  • Cost Estimator: Quick material cost calculations

  • Structure Types: Foundation, walls, slabs, beams

Related MCP server: loadbench-mcp

Quick Start

npm install
npm start

Tools Available

calculate_materials

Calculate materials for construction elements:

{
  "structure": "foundation",
  "dimensions": {
    "length": 10,
    "width": 8,
    "height": 0.5
  }
}

estimate_cost

Estimate material costs:

{
  "material": "concrete",
  "quantity": 40,
  "unit": "m³"
}

Architecture

  • Zero dependencies beyond MCP SDK

  • In-memory calculations - no database overhead

  • Stateless design for maximum performance

  • JSON-based material database

Material Database

Material

Density

Cost/Unit

Concrete

2400 kg/m³

$120/m³

Steel

7850 kg/m³

$800/m³

Brick

1800 kg/m³

$0.5/piece

Cement

1440 kg/m³

$180/m³

Performance Notes

  • Sub-millisecond calculation responses

  • Minimal memory footprint (~10MB)

  • No external API calls

  • Pure computation - no I/O blocking

Usage Example

Connect to Claude Desktop by adding to your config:

{
  "mcpServers": {
    "construction": {
      "command": "node",
      "args": ["path/to/construction-mcp-server/server.js"]
    }
  }
}

Available Tools

4 tools
calculate_materialsC

Calculate construction materials needed for basic structures

ParametersJSON Schema
NameRequiredDescriptionDefault
structureYes
dimensionsYes

TDQS

C2.6/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the calculation function but reveals nothing about assumptions (e.g., units of measurement), whether the operation is read-only, what outputs are produced, or any limitations. This is a significant gap for a calculation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence with no filler words. It is appropriately concise, though it could benefit from a brief second clause or example to improve completeness without sacrificing readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the moderate complexity (nested dimensions object, enums, no annotations, no output schema), the description is notably incomplete. It fails to specify what types of materials are calculated, the expected output format, units, or any constraints, leaving the agent with insufficient information to invoke the tool reliably.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not compensate by explaining the meaning of 'structure' or 'dimensions' or their expected units. The schema property names are self-explanatory to a human, but the description adds no value over the structured fields, failing to meet the requirement for compensation at low coverage.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states a specific action ('Calculate') and resource ('construction materials needed for basic structures'). It distinguishes from sibling 'estimate_cost' by focusing on materials rather than cost, though it could more explicitly enumerate the supported structure types.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives like 'estimate_cost'. It lacks explicit context about use cases or exclusions, leaving the agent to infer from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

estimate_costC

Quick cost estimation for materials

ParametersJSON Schema
NameRequiredDescriptionDefault
unitNo
materialYes
quantityYes

TDQS

C2.4/5.0
Behavior1/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden of behavioral disclosure, but it only states a high-level purpose. It does not disclose whether the operation is read-only, what the return format is, or any side effects, leaving the agent entirely uninformed about behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single concise sentence with no filler words. It is appropriately short for a simple tool, though it errs on the side of under-specification, which is captured by other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (3 parameters, no output schema), but the description is still incomplete. It does not explain what the result of the cost estimation is, how units interact, or any expected outcome, making it inadequate for a tool with no annotations to support it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description does not compensate by explaining any parameters. It does not mention material types, units, or quantity semantics, so the schema's enums and required fields are left without additional meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Quick cost estimation for materials' clearly indicates the tool's purpose of estimating costs for materials, with 'cost estimation' as the verb-noun pairing. It distinguishes from social/messaging siblings, though it does not explicitly differentiate from the similar 'calculate_materials' sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No usage guidelines are provided. There is no mention of when to use this tool versus alternatives like 'calculate_materials'. The word 'Quick' hints at a fast estimation context, but this is vague and not actionable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

read_group_messagesA

Read recent messages from WhatsApp group

ParametersJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of recent messages to read
groupNameYesName of the WhatsApp group

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The word 'read' implies a non-destructive, read-only behavior, which is useful context. However, with no annotations, the description carries the full burden and does not disclose other behavioral traits like ordering of messages, rate limits, or whether any special permissions are required.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, front-loaded sentence that directly states the purpose. No wasted words or redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with two parameters and no output schema, the description combined with the schema is adequate. It clearly conveys the tool's purpose and the limit parameter implies how 'recent' is quantified. Minor gaps like return format or ordering are not critical for this simplicity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Both parameters are fully described in the schema (100% coverage), with groupName being self-explanatory and limit described as 'Number of recent messages to read'. The description adds no extra meaning beyond what the schema already provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Read') and resource ('recent messages from WhatsApp group'). It distinguishes itself from the sibling tool 'send_group_message' by being a read operation, which is a natural differentiator.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. While the name and description imply it's for reading messages, it does not explicitly mention when to use it instead of send_group_message or other tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

send_group_messageB

Send a message to WhatsApp group

ParametersJSON Schema
NameRequiredDescriptionDefault
messageYesMessage to send
groupNameYesName of the WhatsApp group

TDQS

B3.2/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full responsibility for behavioral disclosure. It merely states the action without explaining side effects, failure modes, or what happens if the group does not exist. For a write operation, this is insufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single clear sentence with no redundant words. It is concise and front-loaded, efficiently conveying the core purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the absence of annotations and output schema, the description is too sparse. It does not explain return values, success/failure behavior, or required prerequisites, leaving the agent with incomplete information for a tool that performs a mutation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with both parameters described ('Message to send', 'Name of the WhatsApp group'). The description adds no additional meaning beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (send) and the target (WhatsApp group) with a specific verb and resource. It distinguishes from siblings like read_group_messages, which is about reading rather than sending.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It does not mention that read_group_messages is for retrieving messages, nor any prerequisites or contexts where sending is appropriate.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

TDQS

B3.2/5.0
Disambiguation5/5

Each tool has a distinct purpose: calculate_materials and estimate_cost are clearly separate construction functions, while read_group_messages and send_group_message are distinct messaging operations. There is no overlap or ambiguity between any of the four tools.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern (calculate_materials, estimate_cost, read_group_messages, send_group_message). The naming is uniform and predictable.

Tool Count4/5

Four tools is within the typical well-scoped range, but the mix of construction and messaging tools suggests a lack of focus. The count itself is reasonable, though the server's purpose is diluted across two unrelated domains.

Completeness2/5

For a construction server, the surface is severely incomplete—only material calculation and cost estimation are covered, with no project management, scheduling, or lifecycle operations. The messaging tools are unrelated and appear bolted on, leaving the overall domain coverage fragmented.

Maintenance

ActivityInactive
ResponsivenessSyncing

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

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that provides structural load and stability math (tipping, support reactions, beam checks) that language models often get wrong, enabling AI assistants to compute accurate engineering estimates.
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A lightweight MCP server for linear-static structural analysis of bridges and building frames, providing tools to build 3D beam/truss models, analyze with built-in or CalculiX solvers, and export to FreeCAD.
    17
    4
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    An MCP server for construction tools that calculates wall formwork material takeoffs from geometry inputs, enabling LLMs to generate accurate bills of materials.

Latest Blog Posts

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/ViranjPatel/construction-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server