# Forkbit

> Forkbit is an MCP server. Nutrition data for AI agents: search foods, look up nutrients, parse meals, analyze recipes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Website:** https://forkbit.io
- **MCP Registry name:** io.forkbit/mcp
- **Listing updated:** 2026-11-13

## About

Nutrition data for AI agents: search foods, look up nutrients, parse meals, analyze recipes.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp --env FORKBIT_API_KEY='<FORKBIT_API_KEY>' -- npx -y @forkbit/mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@forkbit/mcp"
      ],
      "env": {
        "FORKBIT_API_KEY": "<FORKBIT_API_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@forkbit/mcp"
      ],
      "env": {
        "FORKBIT_API_KEY": "<FORKBIT_API_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@forkbit/mcp"
      ],
      "env": {
        "FORKBIT_API_KEY": "<FORKBIT_API_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@forkbit/mcp"
      ],
      "env": {
        "FORKBIT_API_KEY": "<FORKBIT_API_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@forkbit/mcp"
      ],
      "env": {
        "FORKBIT_API_KEY": "<FORKBIT_API_KEY>"
      }
    }
  }
}
```

## FAQ

### How do I add Forkbit to Claude Code?

Run this command in your terminal: claude mcp add mcp --env FORKBIT_API_KEY='<FORKBIT_API_KEY>' -- npx -y @forkbit/mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/forkbit
