cloudcompare-mcp
cloudcompare-mcp
Кроссплатформенный сервер Model Context Protocol (MCP) для CloudCompare — позволяет ИИ-ассистентам (Claude и др.) обрабатывать 3D-облака точек и сетки с помощью естественного языка.
Возможности
Инструмент | Описание |
| Проверка установки и версии |
| Просмотр статистики файла (точки, ограничивающая рамка, скалярные поля) |
| Снижение плотности — случайное / пространственное / октодерево |
| Расстояния C2C (ближайший сосед) |
| Знаковые расстояния C2M |
| Совмещение двух облаков с помощью ICP |
| Оценка нормалей поверхности |
| Фильтрация точек по пороговому значению скалярного поля |
| Удаление шума с помощью фильтра SOR |
| Объединение нескольких облаков в одно |
| Конвертация между LAS/LAZ, PLY, PCD, XYZ, E57, OBJ… |
| Выполнение произвольных команд CLI |
Related MCP server: PointCloud MCP
Требования
CloudCompare ≥ 2.12 — скачать
Python ≥ 3.10
uv (рекомендуется) или pip
Установка
Быстрый старт с uvx (установка не требуется)
uvx cloudcompare-mcpЛокальная установка
pip install cloudcompare-mcp
cloudcompare-mcpОбнаружение бинарного файла CloudCompare
Сервер ищет CloudCompare в следующем порядке:
Переменная окружения
CLOUDCOMPARE_PATHСистемный
PATH(cloudcompare/CloudCompare)Стандартные пути для платформы:
Платформа | Путь по умолчанию |
macOS |
|
Windows |
|
Linux |
|
Установите CLOUDCOMPARE_PATH для переопределения:
export CLOUDCOMPARE_PATH="/opt/custom/cloudcompare"Настройка клиента MCP
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"]
}
}
}С пользовательским путем к бинарному файлу:
{
"mcpServers": {
"cloudcompare": {
"command": "uvx",
"args": ["cloudcompare-mcp"],
"env": {
"CLOUDCOMPARE_PATH": "/path/to/cloudcompare"
}
}
}
}Пример использования
После настройки в Claude Desktop или Claude Code:
"Загрузи мой файл scan.las, выполни пространственную субдискретизацию до 5 см, а затем удали статистические выбросы."
Claude последовательно вызовет соответствующие инструменты и сообщит о результатах.
Поддерживаемые форматы файлов
LAS · LAZ · PLY · PCD · XYZ · ASC · TXT · E57 · OBJ · BIN · SHP
Лицензия
MIT
Available Tools
12 toolscompute_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
Scored across 12 tools
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.
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.
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.
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
Related MCP Connectors
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
Deploy, monitor, and manage your OpenClaw AI assistants via natural language.
Run FDS, OpenFOAM, CalculiX and other engineering simulations on cloudHPC from your AI assistant.
Parametric 3D CAD for AI agents: build print-ready parts, check them, export STL, 3MF or STEP.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to control CLO3D for pattern creation, fabric swapping, simulation, and model export via natural language commands.55MIT
- FlicenseNot gradedqualityDmaintenanceEnables querying 3D point cloud files (PLY/PCD) using natural language. Provides tools for point cloud description, plane detection, and ICP alignment.-
- FlicenseNot gradedqualityDmaintenanceConnects AI assistants to Blender 3D for natural language 3D modeling, scene inspection, material creation, and rendering.-
- AlicenseNot gradedqualityCmaintenanceEnables AI-driven photogrammetry automation in Agisoft Metashape Professional, allowing natural language control of the full 3D reconstruction pipeline from photo alignment to model export.MIT