---
title: "Connect Claude Code | Hostemi"
description: "One command, or the agent setup that writes it for you. Sign in on first use. Step-by-step help from the Hostemi docs for vacation rental hosts."
canonical: https://hostemi.com/docs/mcp/clients/claude-code
source: https://hostemi.com/docs/mcp/clients/claude-code.md
---

# Connect Claude Code

One command, or the agent setup that writes it for you. Sign in on first use.

#### On this page

1. [Add the server](#add-the-server)
2. [Sign in](#sign-in)
3. [Check it](#check-it)

## Add the server

**One command**

```bash
claude mcp add --transport http hostemi https://mcp.hostemi.com/mcp
```

**With the hostemi CLI**

```bash
npm i -g hostemi
hostemi agent setup --client claude-code --dry-run
hostemi agent setup --client claude-code
```

**~/.claude.json**

```json
{
  "mcpServers": {
    "hostemi": {
      "type": "http",
      "url": "https://mcp.hostemi.com/mcp"
    }
  }
}
```

`hostemi agent setup` runs `claude mcp add --scope user` for you when Claude Code is installed, and also installs the three Hostemi skills into `~/.claude/skills` (leave them out with `--no-skills`). With the plugin instead: `/plugin install hostemi --marketplace norbertlevente/hostemi-agent`.

## Sign in

Start Claude Code and run `/mcp`. Choose hostemi and authenticate: your browser opens the Hostemi sign-in. Approve, and the tools are listed.

## Check it

Ask Claude Code:

```text
What needs my attention in Hostemi?
```

It calls [`get_context`](https://hostemi.com/docs/mcp/tools/start#get_context) and names your listings, today's date in your time zone and what is waiting for you. The connection is listed in Hostemi under Settings, AI & apps, where you can remove it at any time.

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
