AUTOMATIONSWITCH
CommunityProductivity

Home Assistant MCP

by homeassistant-ai (community)

The unofficial Home Assistant MCP server. Control entities, query states, and trigger automations from inside agents. 2,770 GitHub stars and 100 commits on main in the last 30 days.

2,770·7 tools·Released APR 2025·MIT
pip install ha-mcp
Share:

The unofficial Home Assistant MCP server. Control entities, query states, and trigger automations from inside agents. 2,770 stars and 100 commits on main in the last 30 days.

Reviewed by M. Nouriel · MAY 2026

INSTALL THIS SERVER

Requires authenticationHA_URL plus HA_TOKEN environment variables. Generate a long-lived access token in Home Assistant Profile > Security.
{ "mcpServers": { "home-assistant": { "command": "python", "args": [ "-m", "ha_mcp" ], "env": { "HA_URL": "http://homeassistant.local:8123", "HA_TOKEN": "YOUR_LONG_LIVED_TOKEN" } } } }
PrereqPyPI: `ha-mcp`. Generate HA_TOKEN in Home Assistant Profile > Security > Long-Lived Access Tokens. Path: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS).
{ "mcpServers": { "home-assistant": { "command": "python", "args": [ "-m", "ha_mcp" ], "env": { "HA_URL": "http://homeassistant.local:8123", "HA_TOKEN": "YOUR_LONG_LIVED_TOKEN" } } } }
{ "mcpServers": { "home-assistant": { "command": "python", "args": [ "-m", "ha_mcp" ], "env": { "HA_URL": "http://homeassistant.local:8123", "HA_TOKEN": "YOUR_LONG_LIVED_TOKEN" } } } }
{ "mcpServers": { "home-assistant": { "command": "python", "args": [ "-m", "ha_mcp" ], "env": { "HA_URL": "http://homeassistant.local:8123", "HA_TOKEN": "YOUR_LONG_LIVED_TOKEN" } } } }
{ "mcpServers": { "home-assistant": { "command": "python", "args": [ "-m", "ha_mcp" ], "env": { "HA_URL": "http://homeassistant.local:8123", "HA_TOKEN": "YOUR_LONG_LIVED_TOKEN" } } } }

7 TOOLS AVAILABLE

list_entities
List Home Assistant entities and their states
Read
get_state
Retrieve state and attributes for a specific entity
Read
call_service
Invoke a Home Assistant service (e.g. light.turn_on)
Admin
list_automations
List automations defined in the configuration
Read
trigger_automation
Trigger an automation by ID
Admin
list_areas
List Home Assistant areas (rooms)
Read

OUR ASSESSMENT

Strengths
  • 2,770 GitHub stars.
  • 100 commits on main in the last 30 days.
  • MIT license.
  • Comprehensive tool surface across entities, services, automations.
  • First smart-home MCP in the directory.
Weaknesses
  • Home Assistant instance required; cloud or self-hosted.
  • Long-lived access token carries full HA permissions; scope token usage carefully.
  • Community-maintained; no Home Assistant vendor stamp.
Security Notes

HA_TOKEN is a long-lived access token with admin-level capabilities by default. Use a dedicated user account scoped to the agent flow. call_service can invoke any registered service (lights, locks, security alarms); restrict the agent prompt path or use Home Assistant's built-in user permissions to limit reachable services.

Best For

Smart-home enthusiasts running Home Assistant who want agents to control devices via natural language; energy-monitoring flows where the agent triages state changes; security flows where the agent reads sensor states and triggers automations.

TECHNICAL DETAILS

Language
python
Transport
stdio
Clients
Claude DesktopClaude CodeCursorVS CodeWindsurf
License
MIT
GitHub
npm
ha-mcp
Last Release
ha-mcp (PyPI latest)MAY 9, 2026
First Released
APR 1, 2025

ADOPTION METRICS

// GitHub Stars
2,770

// Reading this2,770 stars on homeassistant-ai/ha-mcp. 100 commits on main in the last 30 days. Top cadence among smart-home MCPs.

// Popularity Rank
#1
Globally · #1 in Productivity

// Reading thisPairs with Notion, Atlassian, Asana, Trello, Zapier, n8n MCPs in productivity. Home Assistant MCP owns the smart-home/IoT slot uniquely.

SOURCES & VERIFICATION

We don't take any single directory's word for it. Before scoring, we cross-reference 4 public MCP sources, install the server ourselves against the clients we cover, and record when we last re-verified.

01
Discovered
Manual submission
First indexed MAY 9, 2026
02
Cross-referenced
4 directories
PulseMCP, MCP.so, Glama, Smithery
03
Verified against
Claude Desktop, Cursor
Installed and tested across clients
04
Last re-checked
MAY 9, 2026
Weekly re-verification
// How other directories see it

The same server, 4 different lenses. We reconcile these signals into our editorial score, which is why our number sometimes diverges from a directory-aggregate star count.

SourceTheir ratingTheir star countTheir downloadsLast synced
AutomationSwitch This page4.5editorial2,770MAY 9, 2026
PulseMCP— unratedunavailableunavailableMAY 9, 2026
MCP.so— unratedunavailableunavailableMAY 9, 2026
Glama— unratedunavailableunavailableMAY 9, 2026
Smithery— unratedunavailableunavailableMAY 9, 2026

// Counts are directory-reported; we don't adjust them. Discrepancies usually come from different snapshot times or star-caching.

OTHER PRODUCTIVITY MCP SERVERS

Community4.7

n8n MCP

czlonkowski (community, n8n-aligned)

MCP server for n8n. Browse 535+ integrations, manage workflows, trigger executions, and inspect run history. 20,140 GitHub stars and 41 commits on main in the last 30 days. Top star count outside the directory top 5.

7 tools20,140
Community4.5

ACI.dev

aipotheosis-labs (community)

Open source tool-calling platform that hooks 600+ tools into any agentic IDE or custom AI agent through direct function calling or a unified MCP server. 4,763 GitHub stars and 21 commits on main in the last 30 days.

5 tools4,763
Community4.5

Excel MCP Server

Haris Musa

Manipulate Excel files locally or remotely with zero Microsoft Excel installation required. Three transport modes (stdio, SSE deprecated, Streamable HTTP recommended) and full coverage of formulas, formatting, charts, pivot tables, and conditional formatting. 3,767 stars.

8 tools3,767
Community4.5

Google Workspace MCP

Taylor Wilsdon

Most feature-complete Google Workspace MCP available. One server covers Gmail, Calendar, Drive, Docs, Sheets, Slides, Forms, Tasks, Contacts, Apps Script, Chat, and Custom Search. OAuth 2.1 multi-user support, stateless mode, and an MIT license with no CLA.

12 tools2,233
Community4.5

LinkedIn MCP

stickerdaniel (community)

Open-source MCP server for LinkedIn. Profiles, companies, jobs, and messages exposed to AI agents. 1,773 GitHub stars and 100 commits on main in the last 30 days. Top star count and top cadence in the productivity category.

6 tools1,773
Official4.5

Google Ads MCP

Google (googleads org)

Google's official Google Ads MCP. Manage Google Ads accounts via MCP, execute GAQL reads, and run secure two-phase mutations. 448 GitHub stars and 29 commits on main in the last 30 days.

6 tools448
// Get in touch

DISCUSS YOUR
MCP REQUIREMENTS.

Evaluating a server, scoping an internal deployment, or working out whether MCP is the right fit at all. Start the conversation and we will point you at the right piece of the ecosystem.

Discuss Your MCP Requirements →