Skip to main content
Glama
cloudcompare-mcp

cloudcompare-mcp

by yufeioptimal

cloudcompare-mcp

Plattformübergreifender Model Context Protocol (MCP)-Server für CloudCompare — ermöglicht KI-Assistenten (Claude, etc.) die Verarbeitung von 3D-Punktwolken und Meshes mittels natürlicher Sprache.

Funktionen

Tool

Beschreibung

get_cloudcompare_info

Installation & Version prüfen

load_cloud_info

Dateistatistiken untersuchen (Punkte, Bounding Box, Skalarfelder)

subsample

Dichte reduzieren — zufällig / räumlich / Oktree

compute_cloud_to_cloud_distances

C2C Nächste-Nachbar-Distanzen

compute_cloud_to_mesh_distances

C2M vorzeichenbehaftete Distanzen

icp_registration

Zwei Punktwolken mit ICP ausrichten

compute_normals

Oberflächennormalen schätzen

filter_by_scalar_field

Punkte nach Skalarwert filtern

statistical_outlier_removal

Rauschen mit SOR-Filter entfernen

merge_clouds

Mehrere Punktwolken zu einer zusammenführen

convert_format

Konvertierung zwischen LAS/LAZ, PLY, PCD, XYZ, E57, OBJ…

run_cloudcompare_command

Ausweg für beliebige CLI-Befehle

Related MCP server: PointCloud MCP

Anforderungen

  • CloudCompare ≥ 2.12 — Download

  • Python ≥ 3.10

  • uv (empfohlen) oder pip

Installation

Schnellstart mit uvx (keine Installation erforderlich)

uvx cloudcompare-mcp

Lokal installieren

pip install cloudcompare-mcp
cloudcompare-mcp

Erkennung der CloudCompare-Binärdatei

Der Server sucht in dieser Reihenfolge nach CloudCompare:

  1. CLOUDCOMPARE_PATH Umgebungsvariable

  2. System PATH (cloudcompare / CloudCompare)

  3. Plattform-Standardpfade:

Plattform

Standardpfad

macOS

/Applications/CloudCompare.app/Contents/MacOS/CloudCompare

Windows

C:\Program Files\CloudCompare\cloudcompare.exe

Linux

/usr/bin/cloudcompare

Setzen Sie CLOUDCOMPARE_PATH zum Überschreiben:

export CLOUDCOMPARE_PATH="/opt/custom/cloudcompare"

MCP-Client-Konfiguration

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "cloudcompare": {
      "command": "uvx",
      "args": ["cloudcompare-mcp"]
    }
  }
}

Claude Code (~/.claude/settings.json)

{
  "mcpServers": {
    "cloudcompare": {
      "command": "uvx",
      "args": ["cloudcompare-mcp"]
    }
  }
}

Mit einem benutzerdefinierten Binärpfad:

{
  "mcpServers": {
    "cloudcompare": {
      "command": "uvx",
      "args": ["cloudcompare-mcp"],
      "env": {
        "CLOUDCOMPARE_PATH": "/path/to/cloudcompare"
      }
    }
  }
}

Anwendungsbeispiel

Sobald in Claude Desktop oder Claude Code konfiguriert:

"Lade meine scan.las Datei, subsample sie räumlich auf 5 cm und entferne dann statistische Ausreißer."

Claude wird die entsprechenden Tools nacheinander aufrufen und die Ergebnisse melden.

Unterstützte Dateiformate

LAS · LAZ · PLY · PCD · XYZ · ASC · TXT · E57 · OBJ · BIN · SHP

Lizenz

MIT

Available Tools

12 tools
compute_cloud_to_cloud_distancesA

Compute nearest-neighbour distances from every point in the 'compared' cloud to the 'reference' cloud (C2C distance). Returns distance statistics and saves the labelled cloud.

Inputs: reference_path (required), compared_path (required), output_path (required), max_distance.

compute_cloud_to_mesh_distancesA

Compute signed distances from a point cloud to a reference mesh (C2M distance). Useful for comparing a scan to a CAD model.

Inputs: mesh_path (required), cloud_path (required), output_path (required).

compute_normalsA

Estimate surface normals for a point cloud using a local neighbourhood. Normals are required for many downstream operations (Poisson reconstruction, etc.).

Inputs: input_path (required), output_path (required), mode, radius, +1 more.

convert_formatA

Convert a point cloud or mesh file to a different format. CloudCompare infers the target format from the output file extension (e.g. .las, .laz, .ply, .pcd, .xyz, .asc, .e57, .obj).

Inputs: input_path (required), output_path (required).

filter_by_scalar_fieldA

Keep only points whose scalar-field value falls within [min_val, max_val]. Useful for height, intensity, or distance thresholding.

Inputs: input_path (required), output_path (required), min_val (required), max_val (required).

get_cloudcompare_infoA

Check if CloudCompare is installed and return its version and path. Call this first to confirm the tool is available.

Inputs: no named parameters.

icp_registrationB

Register a 'data' cloud onto a 'model' cloud using the Iterative Closest Point (ICP) algorithm. Returns the transformation matrix and final RMS error.

Inputs: model_path (required), data_path (required), output_path (required), overlap, +2 more.

load_cloud_infoA

Load a point cloud or mesh file and return basic statistics: number of points, bounding box, available scalar fields, etc. Supports LAS/LAZ, PLY, PCD, E57, XYZ, ASC, BIN, SHP, OBJ, and more.

Inputs: file_path (required).

merge_cloudsB

Merge two or more point cloud files into a single output file.

Inputs: input_paths (required), output_path (required).

run_cloudcompare_commandA

Run an arbitrary CloudCompare CLI command for advanced or unsupported operations. Do NOT include the executable path or -SILENT flag — they are added automatically. Example args: ["-O", "/path/cloud.las", "-AUTO_SAVE", "OFF"]

Inputs: args (required), working_directory.

statistical_outlier_removalA

Remove statistical outliers by analysing the distance distribution to k nearest neighbours. Points farther than (mean + nSigma × std) from their neighbours are removed.

Inputs: input_path (required), output_path (required), knn, n_sigma.

subsampleA

Reduce the density of a point cloud using random, spatial, or octree subsampling. Output is saved to the specified path.

Inputs: input_path (required), output_path (required), parameter (required), method.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool targets a distinct operation (e.g., distance computation, filtering, registration, conversion), with clear differentiation even between similar tools like cloud-to-cloud and cloud-to-mesh distances.

    Naming Consistency4/5

    Most tools follow a `verb_noun` pattern with underscores, but 'icp_registration' and 'statistical_outlier_removal' deviate slightly by starting with a noun/adjective instead of a verb.

    Tool Count5/5

    With 12 tools covering loading, filtering, registration, distance analysis, and format conversion, the set is well-scoped for point cloud processing without being overwhelming or too sparse.

    Completeness5/5

    The tool set covers essential point cloud operations comprehensively, and the inclusion of an arbitrary command execution tool ('run_cloudcompare_command') fills any potential gaps, ensuring no dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers