# RegiaBI MCP server

> Enables AI agents to profile data and generate interactive, production-ready chart code for JavaScript, TypeScript, or Python projects.

- Repository: https://github.com/codexguy/regiabi-plugins
- Page: https://hostedmcp.org/servers/codexguy/regiabi-plugins
- Transport: stdio, remote
- Stars: 0
- License: MIT
- Latest version: 0.6.128

## Install

### Claude Code

```sh
claude mcp add --env 'BIC_LICENSE_KEY=<YOUR_BIC_LICENSE_KEY>' --env 'BIC_SECRET_KEY=<YOUR_BIC_SECRET_KEY>' regiabi-plugins -- npx -y @bicharts/chart-mcp
```

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

```json
{
  "mcpServers": {
    "regiabi-plugins": {
      "command": "npx",
      "args": [
        "-y",
        "@bicharts/chart-mcp"
      ],
      "env": {
        "BIC_LICENSE_KEY": "<YOUR_BIC_LICENSE_KEY>",
        "BIC_SECRET_KEY": "<YOUR_BIC_SECRET_KEY>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "regiabi-plugins": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@bicharts/chart-mcp"
      ],
      "env": {
        "BIC_LICENSE_KEY": "<YOUR_BIC_LICENSE_KEY>",
        "BIC_SECRET_KEY": "<YOUR_BIC_SECRET_KEY>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"regiabi-plugins","type":"stdio","command":"npx","args":["-y","@bicharts/chart-mcp"],"env":{"BIC_LICENSE_KEY":"<YOUR_BIC_LICENSE_KEY>","BIC_SECRET_KEY":"<YOUR_BIC_SECRET_KEY>"}}'
```

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

```json
{
  "mcpServers": {
    "regiabi-plugins": {
      "command": "npx",
      "args": [
        "-y",
        "@bicharts/chart-mcp"
      ],
      "env": {
        "BIC_LICENSE_KEY": "<YOUR_BIC_LICENSE_KEY>",
        "BIC_SECRET_KEY": "<YOUR_BIC_SECRET_KEY>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add regiabi-plugins --env 'BIC_LICENSE_KEY=<YOUR_BIC_LICENSE_KEY>' --env 'BIC_SECRET_KEY=<YOUR_BIC_SECRET_KEY>' -- npx -y @bicharts/chart-mcp
```

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

```toml
[mcp_servers.regiabi-plugins]
command = "npx"
args = ["-y", "@bicharts/chart-mcp"]

[mcp_servers.regiabi-plugins.env]
BIC_LICENSE_KEY = "<YOUR_BIC_LICENSE_KEY>"
BIC_SECRET_KEY = "<YOUR_BIC_SECRET_KEY>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'BIC_LICENSE_KEY=<YOUR_BIC_LICENSE_KEY>' -e 'BIC_SECRET_KEY=<YOUR_BIC_SECRET_KEY>' regiabi-plugins npx -- -y @bicharts/chart-mcp
```

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

```json
{
  "mcpServers": {
    "regiabi-plugins": {
      "command": "npx",
      "args": [
        "-y",
        "@bicharts/chart-mcp"
      ],
      "env": {
        "BIC_LICENSE_KEY": "<YOUR_BIC_LICENSE_KEY>",
        "BIC_SECRET_KEY": "<YOUR_BIC_SECRET_KEY>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `BIC_LICENSE_KEY` | no | yes | Optional. The license key for that account, with BIC_LICENSEE, instead of signing in. Authoring needs a trial or paid account; running a generated chart needs nothing. |
| `BIC_SECRET_KEY` | no | yes | Optional secret key, if your account uses one. |
| `BIC_LICENSEE` | no | no | Optional. Leave it unset and the first chart call opens your browser to sign in (or create a free account). Set it with BIC_LICENSE_KEY to use a license key instead, for machines with no browser. |
| `BIC_MCP_QUERY_ROW_CAP` | no | no | Optional. The most rows a semantic-model query keeps (default 250000, at most 1000000, Power BI's own ceiling). Raising it costs time and memory on every call that reads the rows. |

## FAQ

### Does my data leave my machine during profiling?

No, the profiling step happens locally on your machine and no data leaves for this step.

### What programming languages are supported for the generated code?

The server provides D3 for JavaScript and TypeScript projects, and Plotly or matplotlib for Python projects.

### How do I authenticate with the server?

You can sign in via a browser-based OAuth flow or use a license key provided through environment variables or a credentials file.
