Claude Code is basically Claude (the AI) but running in your terminal as an agent — meaning it can actually take actions, read files, write files, run commands. It's not just a chat box.
ha-mcp is a piece of software that acts as a bridge between Claude Code and your Home Assistant. Once it's set up, Claude can literally see your devices, your entities, your existing config — and make changes to it.