Construction Cost Calculator MCP MCP Server

$cd construct_cost_calc && python -m venv venv && source venv/bin/activate && pip install -r requirements.txt && python server.py
README.md

Construction cost estimation tools using data from a public Google Sheet

Construction Cost Calculator MCP Server

A no-auth MCP (Model Context Protocol) server that provides construction cost estimation tools using data from a public Google Sheet.

Features

  • No Authentication Required: Reads from a publicly accessible Google Sheet
  • 5 Tools Available:
    • list_all_items - Get all construction items
    • get_item - Get details for a specific item by code
    • search_items - Search items by keyword
    • get_items_by_category - Filter items by category
    • calculate_cost - Calculate total project cost with quantities

Data Source

The server fetches construction cost data from this Google Sheet: Construction Cost Database

Data includes:

  • Concrete (slabs, footings, walls, columns, stairs)
  • Framing (walls, floors, roofs, beams)
  • Finishes (drywall, paint, flooring, tile)
  • Electrical (wiring, panels, outlets, fixtures)
  • Plumbing (pipes, fixtures, water heaters)
  • HVAC (systems, ductwork)
  • Roofing (materials, installation)
  • Exterior (siding, windows, doors)

Local Development

Prerequisites

  • Python 3.11+
  • pip

Setup

  1. Clone the repository:
cd construct_cost_calc
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the server:
python server.py

The server will start on http://localhost:8000 with SSE transport.

Environment Variables

Variable Default Description
GOOGLE_SHEET_ID 1laH5l1FjwWC5HXLp8xkG1eolwScKHIlxB6PohBWQjh0 Google Sheet ID
SHEET_GID 0 Sheet tab GID
CACHE_TTL_SECONDS 300 Cache duration (5 min)
DEFAULT_LABOR_RATE 75.0 Default $/hour rate

Deploy to Render.com

One-Click Deploy

Manual Deploy

  1. Push this repository to GitHub
  2. Go to Render Dashboard
  3. Click NewBlueprint
  4. Connect your repository
  5. Render will use render.yaml to configure the service

After Deployment

Your MCP server will be available at:

https://your-service-name.onrender.com/sse

Connect to Agenti AI Platform

Add the MCP server to your Agenti AI configuration:

{
  "mcpServers": {
    "construction-cost": {
      "url": "https://your-service-name.onrender.com/sse"
    }
  }
}

Tool Usage Examples

List All Items

Tool: list_all_items
Parameters: none

Get Specific Item

Tool: get_item
Parameters: {"item_code": "concrete_slab_4000psi"}

Search Items

Tool: search_items
Parameters: {"query": "drywall"}

Get Items by Category

Tool: get_items_by_category
Parameters: {"category": "concrete"}

Calculate Cost

Tool: calculate_cost
Parameters: {
  "items": [
    {"item_code": "concrete_slab_4000psi", "quantity": 2000},
    {"item_code": "framing_wall_2x4", "quantity": 500},
    {"item_code": "drywall_standard_12", "quantity": 3000}
  ],
  "labor_rate": 80.0
}

Cost Calculation Formula

Item Cost = (Material Cost × Quantity) + (Labor Hours × Quantity × Labor Rate)
Total Cost = Sum of all Item Costs

License

MIT

Tools (5)

list_all_itemsGet all construction items available in the database.
get_itemGet details for a specific construction item by its unique code.
search_itemsSearch for construction items by keyword.
get_items_by_categoryFilter construction items by specific category like concrete or electrical.
calculate_costCalculate total project cost including material and labor based on quantities.

Environment Variables

GOOGLE_SHEET_IDGoogle Sheet ID for the construction database
SHEET_GIDSheet tab GID
CACHE_TTL_SECONDSCache duration in seconds
DEFAULT_LABOR_RATEDefault $/hour rate for labor calculations

Configuration

claude_desktop_config.json
{"mcpServers": {"construction-cost": {"url": "https://your-service-name.onrender.com/sse"}}}

Try it

Search for all drywall related items in the construction database.
Get the details and pricing for the item code 'concrete_slab_4000psi'.
Calculate the total cost for 2000 units of concrete slabs and 500 units of 2x4 framing walls with a labor rate of $80/hour.
List all available construction items in the electrical category.

Frequently Asked Questions

What are the key features of Construction Cost Calculator MCP?

No authentication required for reading public Google Sheet data. Real-time cost calculation formula including material and labor. Support for multiple construction categories including HVAC, Plumbing, and Roofing. SSE transport support for remote hosting capability.

What can I use Construction Cost Calculator MCP for?

Contractors generating quick estimates for client bids. Project managers tracking material costs across different construction phases. Homeowners estimating DIY renovation expenses for framing or flooring. Developers integrating construction cost data into AI-driven planning tools.

How do I install Construction Cost Calculator MCP?

Install Construction Cost Calculator MCP by running: cd construct_cost_calc && python -m venv venv && source venv/bin/activate && pip install -r requirements.txt && python server.py

What MCP clients work with Construction Cost Calculator MCP?

Construction Cost Calculator MCP works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Use Construction Cost Calculator MCP with Conare

Manage MCP servers visually, upload persistent context, and never start from zero with Claude Code & Codex.

Try Free