Skip to main content
Glama
Calculatessqft MCP server

Calculatessqft MCP server

by Mustafa77-7
README.md
# Calculatessqft MCP server

Free MCP server for **square footage** and home-project maths. Type lengths the way people say them (`12' 6"`, `10ft 9in`, `6 1/2 in`, `3.5 m`) and get square feet, square yards and square meters back. Every answer links to the matching calculator, with diagrams, on [calculatessqft.com](https://calculatessqft.com/).

- **Runs locally** (stdio). No API key, no account, no network calls, nothing stored.
- **Node.js 18+**

## Tools

| Tool | What it does |
|---|---|
| `square_footage` | One area: rectangle, square, L-shape, triangle, circle, half circle, ring, trapezoid, parallelogram, ellipse, sector, rectangle border |
| `rooms_total` | Add several rooms and subtract cutouts (closet, island, stairs) |
| `material_quantity` | Boxes, rolls or gallons to buy for flooring, tile, carpet or paint, with waste % and cost |
| `volume_cubic_yards` | Cubic feet, cubic yards and m³ for concrete, gravel, mulch or topsoil |
| `convert_area` | sq ft, sq in, sq yd, m², cm², acres (exact factors) |
| `price_per_square_foot` | Price per sq ft and per m² |
| `parse_length` | Read a feet-and-inches length as decimal feet, inches and meters |

## Connect

**Claude Desktop / Cursor / any JSON config:**
```json
{ "mcpServers": { "calculatessqft": { "command": "npx", "args": ["-y", "calculatessqft-mcp"] } } }
```

**Claude Code:**
```bash
claude mcp add calculatessqft -- npx -y calculatessqft-mcp
```

## Example prompts

1. "My living room is 15' 4" by 12' 9". How many square feet?"
2. "Two bedrooms 12x11 and 10x10, minus a 3x4 closet. Total square footage?"
3. "Flooring boxes cover 22.5 sq ft. How many boxes for 340 sq ft with 10% waste?"
4. "Cubic yards of concrete for a 10 ft × 12 ft slab, 4 inches thick?"
5. "Convert 0.25 acres to square feet."

## Example response (`square_footage`, rectangle 12' 6" × 10 ft)

```
Shape: rectangle
Formula: length × width
Square feet: 125 sq ft
Square yards: 13.89 sq yd
Square meters: 11.61 m²

Calculator with diagrams: https://calculatessqft.com/
```

## Notes

- Paint and flooring coverage come from you (the product label), so the tool never guesses coverage.
- 1 ft = 0.3048 m and 1 acre = 43,560 sq ft are exact definitions.

## Develop

```bash
npm install
npm test
```

## License

MIT

TDQS

B3.3/5.0

Scored across 7 tools

Disambiguation4/5

Each tool targets a distinct operation: single-shape area, multi-room aggregation, material purchasing, slab volume, unit conversion, price-per-area, and length parsing. The only mild overlaps are square_footage vs rooms_total (both compute areas, though one is single-shape and the other aggregates with cutouts) and parse_length, which duplicates length-parsing behavior already implicit in the other tools' input handling.

Naming Consistency3/5

All names are snake_case and readable, but the convention is split: convert_area and parse_length are verb_noun while square_footage, rooms_total, material_quantity, volume_cubic_yards, and price_per_square_foot are noun phrases describing the output. It is not chaotic, but there is no single predictable pattern an agent can rely on.

Tool Count5/5

Seven tools is well-scoped for a square-footage calculator; each tool covers a distinct calculation need (area, rooms, materials, volume, conversion, pricing, parsing) with no filler. Nothing feels thin or bloated for the domain.

Completeness4/5

The surface covers the core lifecycle: shape area, room aggregation, material quantity with waste, volume, unit conversion, and cost. Minor gaps remain, notably perimeter/linear footage (needed for trim, baseboard, edging) and wall-area calculation for paint, which material_quantity assumes is already computed.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues