Ladybug Tools

v1.0.0Data Science & MLstable

Enables natural-language interaction with Ladybug Tools for building performance simulation, 3D modeling, and data visualization, allowing agents to perform complex environmental analysis tasks without CAD software.

ladybug-toolsmcpai-integration
Share:
11
Stars
0
Downloads
0
Weekly
0/5

What is Ladybug Tools?

Ladybug Tools is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to enables natural-language interaction with ladybug tools for building performance simulation, 3d modeling, and data visualization, allowing agents to perform complex environmental analysis tasks withou...

Enables natural-language interaction with Ladybug Tools for building performance simulation, 3D modeling, and data visualization, allowing agents to perform complex environmental analysis tasks without CAD software.

This server falls under the Data Science & ML category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Enables natural-language interaction with Ladybug Tools for

Use Cases

Perform building performance simulations through natural language.
Create 3D models and environmental analysis without CAD.
LoftyTao

Maintainer

LicenseGPL 3.0
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ladybug-tools

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Ladybug Tools

Ladybug Tools MCP Server bridges AI agents with the Ladybug Tools ecosystem for building performance simulation and environmental analysis. It enables natural-language control over energy simulation, daylight analysis, 3D geometry creation, and results visualization — letting architects and engineers run Honeybee and Radiance workflows without manual CAD software interaction.

Prerequisites

  • Python 3.12 specifically (required by the package)
  • uv package manager installed (https://astral.sh/uv)
  • Git for cloning the repository
  • Ladybug Tools and its simulation dependencies (Honeybee, Radiance, EnergyPlus) installed if you intend to run actual simulations
  • An MCP-compatible client such as Claude Code or Cursor
1

Install uv

uv is required to manage the Python 3.12 environment and run the server. Install it for your platform.

# macOS / Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows PowerShell:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
2

Clone the repository

Clone ladybug-tools-mcp to a permanent directory. The absolute path will be needed in the configuration.

git clone https://github.com/LoftyTao/ladybug-tools-mcp.git
cd ladybug-tools-mcp
3

Create a Python 3.12 environment and install dependencies

Use uv to create an isolated Python 3.12 virtual environment and install all required packages.

uv venv --python 3.12 .venv
uv pip install -r requirements.txt
uv pip install -e .
# Verify the install:
uv run python -c "import ladybug_tools_mcp; print(ladybug_tools_mcp.__version__)"
4

Set the required environment variable

LADYBUG_TOOLS_MCP_ROOT must point to the absolute path of the cloned repository. Add it to your shell profile for persistence.

# macOS / Linux:
export LADYBUG_TOOLS_MCP_ROOT="/path/to/ladybug-tools-mcp"

# Windows PowerShell:
[Environment]::SetEnvironmentVariable("LADYBUG_TOOLS_MCP_ROOT", "C:\path\to\ladybug-tools-mcp", "User")
5

Add to Claude Code

Register the server with Claude Code using the Python interpreter from the uv virtual environment.

claude mcp add ladybug-tools-mcp -- "/path/to/ladybug-tools-mcp/.venv/bin/python" -m ladybug_tools_mcp.server
6

Alternative: Cursor / JSON configuration

For Cursor or other JSON-based MCP clients, add the server configuration manually.

{
  "mcpServers": {
    "ladybug-tools-mcp": {
      "command": "/path/to/ladybug-tools-mcp/.venv/bin/python",
      "args": ["-m", "ladybug_tools_mcp.server"],
      "cwd": "/path/to/ladybug-tools-mcp"
    }
  }
}

Ladybug Tools Examples

Client configuration

Cursor mcp.json configuration for Ladybug Tools MCP Server using the uv virtual environment Python.

{
  "mcpServers": {
    "ladybug-tools-mcp": {
      "command": "/Users/yourname/ladybug-tools-mcp/.venv/bin/python",
      "args": ["-m", "ladybug_tools_mcp.server"],
      "cwd": "/Users/yourname/ladybug-tools-mcp"
    }
  }
}

Prompts to try

Example natural-language prompts for building performance simulation tasks.

- "Create a simple shoebox room model 10m x 8m x 3m and run an energy simulation for climate zone 5A."
- "Set up a daylight analysis for the model using Radiance and report the spatial daylight autonomy."
- "Add a window-to-wall ratio of 40% to the south facade and re-run the energy model."
- "Visualize the annual solar radiation on the roof surface and export the results as a colored mesh."
- "What HVAC system is currently assigned to the model and what are its COP values?"

Troubleshooting Ladybug Tools

Import error for ladybug or honeybee packages on server start

The Ladybug Tools Python libraries must be installed in the same virtual environment. Run 'uv pip install ladybug-core honeybee-core' inside the repo directory, or ensure you installed the full requirements.txt which should pull these in.

LADYBUG_TOOLS_MCP_ROOT not set error

The server requires this environment variable to locate its resources. Add it to your shell profile (~/.zshrc or ~/.bashrc) and restart your terminal, or set it directly in the MCP client configuration's env block.

Simulation tools fail with EnergyPlus or Radiance not found

Ladybug Tools requires the simulation engines to be installed separately. Install OpenStudio/EnergyPlus from https://energyplus.net and Radiance from https://github.com/LBNL-ETA/Radiance/releases. Ensure their executables are on the system PATH.

Frequently Asked Questions about Ladybug Tools

What is Ladybug Tools?

Ladybug Tools is a Model Context Protocol (MCP) server that enables natural-language interaction with ladybug tools for building performance simulation, 3d modeling, and data visualization, allowing agents to perform complex environmental analysis tasks without cad software. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Ladybug Tools?

Follow the installation instructions on the Ladybug Tools GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Ladybug Tools?

Ladybug Tools works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Ladybug Tools free to use?

Yes, Ladybug Tools is open source and available under the GPL 3.0 license. You can use it freely in both personal and commercial projects.

Browse More Data Science & ML MCP Servers

Explore all data science & ml servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "ladybug-tools": { "command": "npx", "args": ["-y", "ladybug-tools"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Ladybug Tools?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides