# LM Studio

LM Studio can read your fivebar stats over MCP, and answer questions about them.

Ask it about your sites in your own words, such as why traffic jumped on Tuesday, and it answers from your figures, following fivebar’s rules about what they mean. Connecting is adding fivebar’s address, signing in and choosing Allow, with no key to copy.

## Add fivebar

To add fivebar from a link, open [Add fivebar to LM Studio](lmstudio://add_mcp?name=fivebar&config=eyJ1cmwiOiJodHRwczovL2ZpdmViLmFyL2FwaS9tY3AifQ%3D%3D), which needs LM Studio 0.3.17 or later.

Or add it yourself: in LM Studio’s **Program** tab, choose **Install**, then **Edit mcp.json**, and add fivebar:

```
{
  "mcpServers": {
    "fivebar": {
      "url": "https://fiveb.ar/api/mcp"
    }
  }
}
```

## Sign in

LM Studio opens your browser to sign in to fivebar.

fivebar opens in your browser. Sign in if you need to, check that the page names LM Studio, and choose Allow. LM Studio can then [read the stats](https://fiveb.ar/docs/mcp.md#what-an-app-can-read) of every site on your Sites page, and changes nothing of yours unless you also tick the box to let it [change settings](https://fiveb.ar/docs/mcp.md#changing-settings).

## Try it

Ask LM Studio about your sites in your own words, such as:

- Which pages did best last week, and where did their visitors come from?
- How does this month compare with last month so far?
- How many people are on my site right now?

## Removing it

Delete fivebar from `mcp.json`.

To stop LM Studio reading your stats from fivebar’s side, disconnect it in [Settings](https://fiveb.ar/settings).

More in [LM Studio’s own documentation](https://lmstudio.ai/docs/app/mcp).
