> Add Forkmate to Claude Code with one command (claude mcp add --transport http) and log meals from your terminal. Sign-in, scopes and the exact syntax.

Source: https://forkmate.ai/connect/claude-code/

# Use Forkmate in Claude Code

Claude Code adds remote MCP servers from the command line. One command, one sign-in, and you can log lunch without leaving the terminal.

No Forkmate account yet? [Create one free](https://app.forkmate.ai/) first. It takes under a minute, and Claude Code sends you there on first connect anyway.

## Set up Forkmate in Claude Code

`https://mcp.forkmate.ai/`

Forkmate’s server URL. Streamable HTTP, OAuth sign-in, no API key.

1. Add the server

Run `claude mcp add --transport http --scope user forkmate https://mcp.forkmate.ai/` to add Forkmate for every project.
2. Sign in

Start Claude Code, run `/mcp`, choose forkmate and Authenticate. Your browser opens the Forkmate sign-in; approve it once.
3. Log your first meal

In Claude Code, say “I had two eggs and toast for breakfast.” It logs the meal with calories and macros to your Forkmate diary.

Add Forkmate for all your projects

```
claude mcp add --transport http --scope user forkmate https://mcp.forkmate.ai/
```

Or share it with a repo, in.mcp.json

```
{
  "mcpServers": {
    "forkmate": {
      "type": "http",
      "url": "https://mcp.forkmate.ai/"
    }
  }
}
```

Each person still signs in to their own Forkmate account.

## What you need

- A free Forkmate account ([sign up](https://app.forkmate.ai/)). There is no paid plan.
- Claude Code with a Claude subscription or API access.

Checked September 30, 2026 against the vendor’s documentation: [Claude Code docs: MCP](https://code.claude.com/docs/en/mcp). Claude Code changes its menus often; if yours looks different, trust what it shows.

## What to say first

Once it’s connected, talk to Claude Code the way you’d tell a friend:

> I had two eggs and toast for breakfast.

It logs the meal with calories, protein, carbs and fat to your diary at app.forkmate.ai. Then try:

- How many calories have I had today?
- Make the toast two slices.
- What did I eat this week?

Something not working? See [troubleshooting](https://forkmate.ai/connect/#troubleshooting), or [pick a different assistant](https://forkmate.ai/connect/). The same URL works in all of them.

## Start logging from Claude Code

Create your free account, connect once, and your next meal is one sentence away. No card, no paid plan.

[Open the app](https://app.forkmate.ai/) [All assistants](https://forkmate.ai/connect/)
