# caliper

Caliper is an MCP server that accepts 3D geometry files and returns structured metadata — bounding boxes, triangle counts, manifold analysis, point cloud statistics, and more.

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add caliper/caliper

# Browse available tools
npx -y @smithery/cli@latest tool list caliper/caliper

# Get full schema for a tool
npx -y @smithery/cli@latest tool get caliper/caliper format.detect

# Call a tool
npx -y @smithery/cli@latest tool call caliper/caliper format.detect '{}'
```

## Direct MCP Connection

Endpoint: `https://caliper--caliper.run.tools`

**Optional config:**
- `network` (query) — Blockchain network for x402 payments. Use 'base-sepolia' for testing or 'base-mainnet' for production.

## Tools (10)

- `format.detect` — Detect the geometry file format from a filename or URL.
- `feature.request` — Request a feature or format that Caliper doesn't support yet.
- `format.auto` — Auto-detect geometry file format and extract metadata statistics.
- `format.stl` — Extract metadata from an STL file (ASCII or binary).
- `format.obj` — Extract metadata from an OBJ file.
- `format.ply` — Extract metadata from a PLY file (ASCII or binary).
- `format.pcd` — Extract metadata from a PCD point cloud file.
- `format.las` — Extract metadata from a LAS or LAZ point cloud file.
- `format.gltf` — Extract metadata from a glTF or GLB file.
- `format.batch` — Analyze multiple geometry files in a single batch request.

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get caliper/caliper <tool-name>
```

## Resources

- `caliper://privacy-policy` — Caliper data handling and privacy policy

## Prompts (2)

- `analyze-file` (file_url) — Step-by-step workflow for analyzing a 3D geometry file with Caliper.
- `supported-formats` — Show all file formats Caliper can analyze, with available metrics.
