Home Assistant

Demonstrates light control in Home Assistant by comparing OpenAI function calling with a standardized protocol for external tool i

andrelandgraf 9
Claude CodeClaude DesktopGeneric
View source ↗

Demonstrates the difference between OpenAI function calling and the Model Context Protocol by implementing two approaches to controlling Home Assistant lights. The function calling implementation uses OpenAI's direct function invocation method, while the MCP server provides a standardized protocol for light control that can be used by any MCP-compatible AI assistant. Serves as an educational comparison of different AI interaction paradigms in home automation.

Source

Repository: https://github.com/andrelandgraf/mcp-vs-function-calling

Maintain Home Assistant?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Home Assistant on getagentictools](https://getagentictools.com/mcp/andrelandgraf-mcp-vs-function-calling?ref=badge)