Skip to main content

Homebridge MCP Server — monitor and control your Homebridge smart home devices through Claude. 7 tools for device listing, status, search, logs, restart, and config.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

homebridge_mcp-1.0.0.tar.gz (52.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

homebridge_mcp-1.0.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file homebridge_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: homebridge_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 52.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for homebridge_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9892f4b4432db27173ddc0d6eb228cb9108499ce793991a1526fb6462dc437d6
MD5 30e2e6c9f811903e59d6fdc0dfc19231
BLAKE2b-256 cc05140564c6fce9eb668d3d7ffc937e1106c9393caad2024802ac922bfe5d36

See more details on using hashes here.

File details

Details for the file homebridge_mcp-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: homebridge_mcp-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for homebridge_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7ad7e809bfe41eccc7912bda531991bd49495304e5ccf840410a0733c024edb
MD5 ae568fd13c5f4c0cfbdcb9c2378126d2
BLAKE2b-256 58b1b243e0cae2227b2a6826aae905468fbba083d41bbb5380bef2108c1a730b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page