Skip to main content

dmi-mcp

MCP server for DMI (Discrete Modeler), a point-cloud and oblique-photogrammetry engine. Ask your AI assistant to check LiDAR data, remove noise, build terrain products, extract building outlines and create LOD1.3 / LOD2 building models. The work runs on your own Windows computer: point clouds are never uploaded. Results that return to the chat are paths, counts, coordinate extents, precheck statistics and status lines.

中文说明 · Privacy

Requirements

The server also starts without DMI; its tools then explain how to install and activate it.

Install

Claude Code or Cowork, as a plugin (the server plus a skill that teaches Claude the workflow)

/plugin marketplace add lij372/dmi-mcp
/plugin install discrete-modeler@dmi

Claude Code, server only

claude mcp add --scope user dmi -- uvx dmi-mcp==0.3.0

Cursor, VS Code, Trae, CodeBuddy, Cherry Studio and other clients

{ "mcpServers": { "dmi": { "command": "uvx", "args": ["dmi-mcp==0.3.0"] } } }

VS Code uses the key servers instead of mcpServers.

Codex / ChatGPT desktop (~/.codex/config.toml)

[mcp_servers.dmi]
command = "uvx"
args = ["dmi-mcp==0.3.0"]

If DMI is not in the default folder (%LOCALAPPDATA%\Programs\DMI), add "--exe", "D:\\path\\DmiScout.exe" to the arguments or set the environment variable DMI_EXE.

Try it

  • "Is DMI ready on this computer?"
  • "How many points are in D:\las\block3.las, and what is its extent?"
  • "Precheck the six LAS files in D:\las and tell me which flight strips do not line up."
  • "Extract the buildings from D:\las\block3.las, outlines as SHP, LOD2 models as GLB and DXF, into D:\out."

Tools

Tool Purpose Writes files
dmi_caps Engine version, GPU and license state no
dmi_activate Activate with a code (the only tool that uses the network) license file
dmi_probe Point count, layers, format and extent of one file no
dmi_precheck Data assessment of one or more files report next to the source
dmi_noise_remove Low-noise removal filtered copy
dmi_powerline Power-line vectors yes
dmi_buildings LAS/LAZ, 3D Tiles or .DMI to outlines and LOD models output folder
dmi_functions, dmi_run List and run other engine functions depends on the function
dmi_wait, dmi_jobs, dmi_cancel Long-running jobs no

Tools never modify the source point cloud. Output files with the same name are overwritten, so use a new output folder.

A call that takes longer than 50 seconds returns status: "running" and a job_id; the assistant continues with dmi_wait. Change the limit with the environment variable DMI_MCP_CALL_BUDGET_S.

What this program runs, sends and stores

  • Runs DmiScout.exe from your DMI installation, one process per task, with arguments built from the tool call. Values that could inject further commands are refused.
  • Opens no network connection itself. dmi_activate asks the local engine to contact dmi42.com.
  • Returns file paths, counts, coordinate extents, precheck statistics and status to the conversation, and the last lines of the engine log when a task fails. These reach your AI provider. If coordinates are confidential, do not use it with a cloud model.
  • Writes job files to %TEMP%\dmi_mcp. Output goes to the folder you name.

中文说明

DMI(离散建模) 点云与倾斜摄影建模引擎的 MCP 服务。让 AI 助手直接做数据预检、滤噪、地形产品、建筑轮廓提取和 LOD1.3 / LOD2 建筑建模。引擎在你自己的 Windows 电脑上运行,点云不上传;回到对话里的是文件路径、计数、坐标范围、 预检统计和状态,它们会到达你所用的 AI 服务方。

  1. 安装 DMI:到 dmi42.com 填邮箱领取 30 天试用激活码,按缺省目录安装。

  2. 安装 uv,在客户端(Trae、CodeBuddy、Cherry Studio、Cursor、Claude Code 等)的 MCP 配置里加入:

    { "mcpServers": { "dmi": { "command": "uvx", "args": ["dmi-mcp==0.3.0"] } } }
    
  3. 在对话里说「激活 <激活码>」,然后例如「把 D:\las\block3.las 标楼,轮廓导 SHP,建 LOD2 模型出 GLB 到 D:\out」。

DMI 装在别的目录时,把环境变量 DMI_EXE 指到 DmiScout.exe。

Support

Questions and bug reports: GitHub issues. Include the results of the failing call and the output of dmi_caps. Do not attach survey data.

License

The MCP server is MIT licensed. The DMI engine is proprietary and licensed separately.

Metadata

Release files for dmi-mcp 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dmi-mcp 0.3.0
File Size Uploaded Provenance Actions
dmi_mcp-0.3.0.tar.gz 20.8 kB Without provenance Details for dmi_mcp-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dmi-mcp 0.3.0
File Interpreter ABI Platform Actions
dmi_mcp-0.3.0-py3-none-any.whl Python 3 none any Details for dmi_mcp-0.3.0-py3-none-any.whl

Total release size: 39.2 kB

Release files / dmi_mcp-0.3.0.tar.gz

Download URL dmi_mcp-0.3.0.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ca6241c5445846daf8264d6fb621ec1217e4de8f31485057e7d312d251e3b90d
BLAKE2b-256 checksum
How to use checksums
143c675723723df0cbc2bc40b01a6ccec1f17cd08fd873250ff323dd4a0d6eb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Release files / dmi_mcp-0.3.0-py3-none-any.whl

Download URL dmi_mcp-0.3.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33ffd910b3404352ed17c87474dc57153505be3d3c7acc5eb7b4a8b3e063be00
BLAKE2b-256 checksum
How to use checksums
9fc302003e645bd954a2b914791d8ab78e7faf8aeb87cc6f43a2a35f3fb0830a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.1

Security for dmi-mcp 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page