The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Qiao MCP — Bridge Engineering (桥梁工程) listing page.
English · 简体中文
Full-lifecycle bridge structural analysis — modeling, staging, code checks
桥梁全过程结构分析 MCP 服务器 — 建模、施工阶段、规范验算
Qiao-MCP is a Model Context Protocol (MCP) server that enables AI assistants to interact with bridge structural analysis software. It provides tools for creating bridge models, applying loads, running structural analysis, and reviewing results.
Tools are organized by workflow area. Highlights per group:
| Group | Representative tools |
|---|---|
| Core modeling | create_nodes_linear, create_beam_elements_linear, create_material, create_section (all parametric section types), create_polygon_section |
| Loads | create_load_group, create_load_case, set_self_weight_stage, set_gravity, apply_nodal_force, apply_beam_distributed_load, temperature/settlement loads |
| Boundary | set_support, add_elastic_link, add_master_slave_link, add_elastic_support, add_beam_constraint |
| Groups | create_structure_group, add_to_structure_group, merge_operation_stage |
| Stages & analysis | add_construction_stage, merge_operation_stage, configure_analysis, run_analysis (async, progress-reporting), get_analysis_results |
| Tendons | create_tendon_property, create_tendon_2d, apply_prestress, get_tendon_info |
| Traffic (moving load) | add_node_tandem, add_influence_plane, add_traffic_lane, add_standard_vehicle, create_live_load_case |
| Checking | setup_concrete_check, add_check_load_combination, add_parametric_reinforcement, run_concrete_check, get_check_data |
| Queries | get_model_info, get_model_data (by kind), find_entities, calc_section_property, get_special_results (paginated where applicable) |
| Modification | initialize_model, save_model_file, open_model_file, update_node, move_nodes, update_element, remove_nodes, remove_elements |
| Visualization | save_model_screenshot, plot_analysis_result (optionally return viewable images), set_view_angle, display_ids |
| Workflows | create_simple_beam_bridge, create_continuous_beam_bridge |
| Gateway & diagnostics | check_qiaotong_connection, list_qtmodel_api, call_qtmodel_api — diagnose the bridge connection or discover and call long-tail qtmodel methods with signature validation |
Tool responses are normalized to structured content ({status, ...}), while image
tools can return MCP image content directly. Tool failures use typed MCP errors, and
read-only, destructive, and open-world operations carry MCP tool annotations. The
server instructions include the full tool-group overview; use list_qtmodel_api
before calling an uncovered backend method through the gateway.
| URI | Description |
|---|---|
bridge://model/summary | Model overview |
bridge://model/materials | Material list |
bridge://model/sections | Section list |
bridge://model/load-cases | Load cases |
bridge://model/stages | Construction stages |
bridge://model/structure-groups | Structure groups |
bridge://model/boundaries | Boundary conditions |
| Prompt | Description |
|---|---|
design-simple-beam | Simple beam bridge design workflow (简支梁设计) |
design-continuous-beam | Continuous beam bridge design (连续梁设计) |
check-structure | Structural code checking (结构检算) |
construction-stage-analysis | Construction stage analysis (施工阶段分析) |
The Provider pattern keeps the 132 tools decoupled from any single backend. Select one with
BRIDGE_PROVIDER; each provider declares its own software-specific rules, so the LLM adapts
without prompt changes. Currently supports:
qtmodel, default) — QiaoTong (桥通) bridge analysis software (user manual)Adding a backend means implementing BridgeProvider and registering one line — no tool-layer
changes. See Backend Selection.
qtmodel 2.6.3 (installed by uv sync)The MCP server can start without QiaoTong. Use check_qiaotong_connection to
distinguish a connected server, a version mismatch, and software that is not running.
Add to your claude_desktop_config.json:
Add to .cursor/mcp.json:
Open Settings → MCP & Tools, then add a new MCP server:
qiao-mcpstdio (keep default)uv --directory /path/to/qiao-mcp run qiao-mcp
/path/to/qiao-mcp with your actual project pathD:\path\to\qiao-mcp/path/to/qiao-mcpUV_PYTHON=3.11Click Add to save.
Open 设置 → 扩展 → MCP Servers, then add a new server:
qiao-mcp标准输入 / 输出 (stdio)uv默认 (Default)--directory prefix needed)
/path/to/qiao-mcp with your actual project pathClick 保存 to save.
For cross-machine debugging, scripts/qiaotong_lan_proxy.py
forwards a LAN-facing port to the QiaoTong API on the same machine. It uses
45125 for the proxy and forwards to the selected QiaoTong process on
127.0.0.1:55125:
Then point the client machine at:
The proxy prints each forwarded request and response. When several QiaoTong
processes are running, keep one process on 55125 for this fixed proxy, or use
separate proxy instances and ports for separate processes.
An SSH tunnel is an alternative that does not expose the API port on the LAN:
Use http://127.0.0.1:45125/pythonForQt/ in the client machine while the tunnel
is running.
The test suite is designed to run offline — it does not require the QiaoTong software.
Provider/tool calls are validated against the installed qtmodel API signatures
(contract tests) and dispatched against an in-process fake backend.
This MCP server wraps the qtmodel Python API which provides access to:
Qiao-MCP versions independently from qtmodel — the project iterates on its own
(bug fixes, new tools, docs) without waiting for a backend release, and a backend
release does not force a version bump here. The backend requirement is expressed
where it belongs: in the dependency constraint.
| Qiao-MCP | qtmodel | QiaoTong software |
|---|---|---|
| 0.3.x | 2.6.3 – 2.6.x | 2.6.3 |
| 0.2.x | 2.5.0 – 2.5.x | 2.5.0 |
The QiaoTong software API version and the installed qtmodel must match
exactly — qtmodel 2.6+ performs a precise version handshake and refuses to
connect otherwise. Run check_qiaotong_connection to see both versions and what
to do when they differ.
0.x signals the API is still free to change; it is not a statement about
release quality. When moving to a new qtmodel minor line, raise the dependency
bound and add a row to the table above.
Copyright 2026 Sorata (https://github.com/SorataYang)
Licensed under the Apache License, Version 2.0. See LICENSE. Additional attribution notices are available in NOTICE.