# SMI Steel Deck MCP

A [Model Context Protocol](https://modelcontextprotocol.io) server that gives Claude access to the SMI steel composite deck structural calculation engine.

## What it does

Lets Claude run real structural engineering calculations for composite steel deck systems — shear strength, web crippling capacity, and section properties — using the SMI backend.

## Installation

```bash
pip install smi-mcp
```

## Usage

Add to your Claude Desktop config (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):

```json
{
  "mcpServers": {
    "smi-steel-deck": {
      "command": "python",
      "args": ["-m", "smi_mcp"]
    }
  }
}
```

Restart Claude Desktop. Claude can now:

- Check available deck profiles, thicknesses, steel grades, and concrete grades
- Run full structural analysis (bare deck properties, shear strength, web crippling)
- Export a formal PDF design report

## Available tools

| Tool | Description |
|------|-------------|
| `health_check` | Verify the backend is reachable |
| `get_options` | List all valid parameter values |
| `calculate_steel_deck` | Run structural analysis |
| `export_pdf` | Generate a PDF design report |

## Custom backend URL

By default this server connects to the hosted SMI backend. To use your own deployment:

```json
{
  "mcpServers": {
    "smi-steel-deck": {
      "command": "python",
      "args": ["-m", "smi_mcp"],
      "env": {
        "SMI_BACKEND_URL": "http://your-server:8080"
      }
    }
  }
}
```
