# Bee MCP server

> Enables AI clients to access a tiered multimodal intelligence platform with governed request flows and quantum reasoning capabilities.

- Repository: https://github.com/cuilabs/bee-community
- Page: https://hostedmcp.org/servers/cuilabs/bee-community
- Transport: stdio
- Stars: 2
- License: Apache-2.0
- Latest version: 0.6.0

## Install

### Claude Code

```sh
claude mcp add --env 'BEE_API_KEY=<YOUR_BEE_API_KEY>' bee-community -- uvx bee-sdk
```

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

```json
{
  "mcpServers": {
    "bee-community": {
      "command": "uvx",
      "args": [
        "bee-sdk"
      ],
      "env": {
        "BEE_API_KEY": "<YOUR_BEE_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "bee-community": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "bee-sdk"
      ],
      "env": {
        "BEE_API_KEY": "<YOUR_BEE_API_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"bee-community","type":"stdio","command":"uvx","args":["bee-sdk"],"env":{"BEE_API_KEY":"<YOUR_BEE_API_KEY>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "bee-community": {
      "command": "uvx",
      "args": [
        "bee-sdk"
      ],
      "env": {
        "BEE_API_KEY": "<YOUR_BEE_API_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add bee-community --env 'BEE_API_KEY=<YOUR_BEE_API_KEY>' -- uvx bee-sdk
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.bee-community]
command = "uvx"
args = ["bee-sdk"]

[mcp_servers.bee-community.env]
BEE_API_KEY = "<YOUR_BEE_API_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'BEE_API_KEY=<YOUR_BEE_API_KEY>' bee-community uvx -- bee-sdk
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "bee-community": {
      "command": "uvx",
      "args": [
        "bee-sdk"
      ],
      "env": {
        "BEE_API_KEY": "<YOUR_BEE_API_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `BEE_API_KEY` | yes | yes | Bee API key (bee_sk_…). Create one at https://bee.cuilabs.io/app/account/api-keys — the free Cell tier works. |
| `BEE_API_URL` | no | no | Override the gateway base URL (default https://bee.cuilabs.io/bee). Set only for a self-hosted Bee Enclave or staging. |
| `BEE_MODEL` | no | no | Default model tier (bee-cell … bee-swarm). Tier access follows the API key's plan. Default: bee-cell (free). |

## Tools (8)

- `bee_chat`: Ask Bee anything. Bee — The Progressive Intelligence Engine — is a tiered LLM platform with per-domain specialisation. Optionally pick a domain and a model tier; both are limited to what your API key's plan allows. Bee is honest about uncertainty rather than fabricating. (read-only)
- `bee_code`: Programming help from Bee's code specialist: explain code, fix a bug, refactor, or write tests — pick via `action`. (read-only)
- `bee_security`: Bee's security specialist: audit code, build a threat model, assist authorised penetration testing, or review a smart contract — pick via `task`. Refuses weaponisation / unauthorised targets. (read-only)
- `bee_research`: Bee's research specialist: design a quantum circuit (NISQ-honest, Qiskit) or critique an ML/CS paper — pick via `task`. (read-only)
- `bee_documents_search`: Search your Bee documents (RAG) — returns the top matching chunks with their source. Scoped to your account; requires a rag-entitled plan. (read-only)
- `bee_documents_add`: Add a document to your Bee knowledge base so bee_documents_search (and Bee) can use it. Scoped to your account; counts against your plan's document limit.
- `bee_memory_search`: Search your Bee personal memory — facts, preferences, projects and skills Bee has remembered about you. Scoped to your account. (read-only)
- `bee_memory_add`: Save a fact to your Bee personal memory so Bee recalls it in future conversations. Scoped to your account; near-duplicates are de-duplicated automatically.

## FAQ

### How do I install the Bee MCP server?

You can install the MCP server using the command: uvx --from bee-sdk@latest bee-mcp.

### Is there a free tier available for Bee?

Yes, the free Cell tier is available and works with both the SDKs and the MCP server.
