Skip to main content

homebridge-mcp

Homebridge MCP Server — monitor and control your Homebridge smart home devices through Claude.

PyPI version License: MIT Python

macOS only — uses macOS launchctl to manage the Homebridge service.

7 tools for listing devices, checking status, searching accessories, viewing logs, restarting the service, and managing configuration — all through Claude.

Tools

Tool Description
homebridge_list_devices List all accessories with their current status
homebridge_get_device Get details about a specific device by name or UUID
homebridge_status Get Homebridge service status and configuration summary
homebridge_logs View recent Homebridge logs (default: 50 lines)
homebridge_restart Restart the Homebridge service
homebridge_config View configuration — full config, platforms, or accessories
homebridge_search_device Search devices by name, type, or manufacturer

Supported Devices

  • LG ThinQ — refrigerators, washers, air conditioners
  • Standard HomeKit — lights, switches, plugs, sensors
  • Temperature / Thermostat devices
  • Contact sensors (open/closed)
  • Motion sensors
  • Any accessory managed by Homebridge

Setup

Requirements

  • macOS with Homebridge installed and running
  • Python 3.10+
  • uv package manager

Install Homebridge (if needed)

Follow the official guide at homebridge.io/getting-started or install via Homebrew:

brew install homebridge

Install homebridge-mcp

pip install homebridge-mcp
# or with uv:
uv add homebridge-mcp

Add to Claude Code

claude mcp add homebridge -- uvx homebridge-mcp

Or manually in your Claude config (~/.claude/claude_desktop_config.json):

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

How It Works

The server reads directly from Homebridge's local files — no HTTP API calls needed:

~/.homebridge/
├── config.json                          # Platform and plugin configuration
├── accessories/cachedAccessories        # Device state cache
└── homebridge.log                       # Service logs

Service management (restart, status) uses macOS launchctl with service label com.homebridge.server.


Usage Examples

Show all my smart home devices
What is the current temperature in the living room?
Restart Homebridge
Show the last 100 lines of Homebridge logs
Search for all LG devices

Troubleshooting

No devices showing: Ensure Homebridge has run at least once and ~/.homebridge/accessories/cachedAccessories exists.

Restart not working: Confirm Homebridge is running as a launchctl service (launchctl list | grep homebridge). If using Docker or another method, the restart tool won't apply.

Config shows empty: Check that ~/.homebridge/config.json exists and is valid JSON.


Requirements

  • macOS
  • Homebridge installed and configured
  • Python 3.10+

License

MIT — Hitesh Gupta

Metadata

Release files for homebridge-mcp 1.0.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 homebridge-mcp 1.0.0
File Size Uploaded
homebridge_mcp-1.0.0.tar.gz 52.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for homebridge-mcp 1.0.0
File Interpreter ABI Platform
homebridge_mcp-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 60.7 kB

Release files / homebridge_mcp-1.0.0.tar.gz

Download URL homebridge_mcp-1.0.0.tar.gz
Size 52.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9892f4b4432db27173ddc0d6eb228cb9108499ce793991a1526fb6462dc437d6
BLAKE2b-256 checksum
How to use checksums
cc05140564c6fce9eb668d3d7ffc937e1106c9393caad2024802ac922bfe5d36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / homebridge_mcp-1.0.0-py3-none-any.whl

Download URL homebridge_mcp-1.0.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e7ad7e809bfe41eccc7912bda531991bd49495304e5ccf840410a0733c024edb
BLAKE2b-256 checksum
How to use checksums
58b1b243e0cae2227b2a6826aae905468fbba083d41bbb5380bef2108c1a730b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

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