Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

MCP Ha Connect

MCP server by coffeerunhobby Verified · npm:@coffeerunhobby

MCP-HA-Connect is a Model Context Protocol server that connects AI assistants such as Claude and LM Studio to Home Assistant. It also manages TP-Link Omada and Ruijie / Reyee networks through vendor-neutral net_ tools.

  • Score 80
  • 4 stars
  • 620 a week
  • MIT
  • Updated

Install MCP Ha Connect

Built from the published package, never by AI.

claude mcp add mcp-ha-connect -- npx -y @coffeerunhobby/mcp-ha-connect

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install MCP Ha Connect in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-ha-connect block.

About

MCP-HA-Connect is a Model Context Protocol server that lets AI assistants such as Claude and LM Studio read and control a Home Assistant setup. It covers lights, climate, covers, switches, media players, fans, locks, vacuums and cameras, along with automations, notifications and calendars. It runs over stdio or Streamable HTTP and authenticates with a long-lived Home Assistant access token.

The project also manages TP-Link Omada and Ruijie / Reyee networks through one set of vendor-neutral net_ tools, and adds Omada-specific reads such as WAN status, event logs and connected clients. Every net_ change has a dry run first. Optional AI sensor analysis uses Ollama. It suits people who run Home Assistant and want an assistant to query and control their home and network.

Written from the project's README and checked against it.

Tools it gives your assistant

  • getStatesGets all entity states, paginated, with optional full attributes.
  • controlLightControls lights with brightness, color and temperature.
  • controlClimateControls thermostats with temperature and HVAC mode.
  • listAutomationsLists all Home Assistant automations with their status.
  • triggerAutomationManually triggers an automation.
  • askOwnerSends the owner a phone notification question with up to 3 buttons.
  • getOwnerAnswerReads the owner's button tap, or the pending, timeout or cancelled status.
  • analyzeSensorsRuns AI-powered sensor analysis with Ollama.
  • omada_listClientsLists all connected clients in an Omada site.
  • omada_diagnoseClientExplains why a device by MAC address cannot get on the network. Read-only.

What you need

  • Home Assistant with a long-lived access token
  • Node.js or Docker to run the server
  • TP-Link Omada controller for Omada tools
  • Ollama for AI sensor analysis

Try asking

  • Turn off the living room lights and set the thermostat to 20 degrees.
  • List my Home Assistant automations and trigger the morning routine.
  • Which clients are connected to my Omada network right now?

Good to know

  • Owner questions work in HTTP mode only and need an admin Home Assistant token.
  • Question cancellations and answers are kept in memory and are lost on restart.
  • Ruijie / Reyee firmware upgrades are ADMIN only.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to MCP Ha Connect

All alternatives →

Compare with Medplum, mcp-server or Microsoft Fabric MCP Server

MCP Ha Connect: common questions

Does MCP-HA-Connect work with Claude and LM Studio?

The source describes it as an integration for AI assistants like Claude and LM Studio. It is a Model Context Protocol server.

Can it change my network settings?

Yes, through the net_ tools. Every change has a dry run, and changes that would cut devices off need the dry run's basis and allowLockout.

Can I answer owner questions from my phone?

Owner questions use phone notifications and are available only in HTTP mode. They need an admin Home Assistant token and MCP_AUTH_SECRET.

How do I install MCP Ha Connect?

In Claude Code run claude mcp add mcp-ha-connect -- npx -y @coffeerunhobby/mcp-ha-connect. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is MCP Ha Connect the official server?

MCP Ha Connect is published by npm:@coffeerunhobby from its verified domain in the official MCP Registry.

Is MCP Ha Connect free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is MCP Ha Connect safe to use?

It scores 80 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to MCP Ha Connect?

Similar MCP servers: Medplum, mcp-server, Microsoft Fabric MCP Server, Template MCP Server.

Does MCP Ha Connect work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

MCP Ha Connect Install

Add to stack

Loading.