> ## Documentation Index
> Fetch the complete documentation index at: https://developer.flabslis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Flabs for Claude & ChatGPT

> Ask Claude or ChatGPT about your lab's revenue, dues, reports and operations — in plain language, straight from your Flabs data.

> [!NOTE]
>
> **For lab owners.** No coding needed. Developers building an integration with the Flabs APIs
> should see [AI Coding Assistant](https://developer.flabslis.com/ai/integrate-with-ai.md) instead.

The **Flabs connector** links your Flabs account to Claude or ChatGPT. Once connected, you can
ask questions about your lab the way you would ask a colleague — "What was my revenue last
week?", "Which doctors referred the most patients this month?", "Show me abnormal results from
today" — and get answers built from your live Flabs data.

It is made for **lab owners**: a single place to see what is happening across all your
branches, without opening reports one by one.

> [!NOTE]
>
> Connector URL:  `https://v2.flabs.in/flabs-mcp/mcp`

## What you can ask

> [card] Revenue & collections
>
> Gross and net revenue, cash collected, payment-mode split, discounts, refunds and
> average bill value — for any period and any branch.

> [card] Dues
>
> Outstanding dues and how long they have been pending, B2B receivables, centre balances
> and payments received.

> [card] Patient reports
>
> Report values, abnormal and critical results, and how often a parameter was tested.

> [card] Lab operations
>
> Bill counts, department-wise and test-wise volumes, turnaround time (TAT),
> cancellations and collections by staff member.

> [card] Doctors & referrers
>
> Business and commission by referring doctor, hospital or B2B centre.

> [card] Trends & comparisons
>
> Day, week or month trends and "this period vs last period" comparisons, which Claude or
> ChatGPT can turn into charts and tables.

If you own more than one lab, a single connection covers all of them. You can ask about one
branch, a few, or all of them together. Dashboards and tables you saved in **Labby AI** can
also be reopened and refreshed for a new date range.

### Example questions

```text theme={null}
What was my total revenue and collection this month, branch-wise?
```

```text theme={null}
Which patients have pending dues older than 15 days?
```

```text theme={null}
Show me all critical report values from yesterday.
```

```text theme={null}
Compare this week's test volume with last week, department-wise.
```

```text theme={null}
Which B2B centres owe us the most right now?
```

## Before you start

* **A Flabs lab owner (Lab Admin) login.** Only the lab owner can connect Flabs. Staff and
  manager logins can't.
* **An Enterprise plan on Flabs.**
* **A Claude or ChatGPT account.** Claude works on Free, Pro and Max. ChatGPT needs Plus, Pro,
  Business or Enterprise; it isn't available on Free or Go.

## Connect Flabs

> [tab] Claude
>
> **1. Open Connectors**
>
> Go to [claude.ai](https://claude.ai) or open the Claude app. Click your name in the
> bottom-left corner, choose **Settings**, then click **Connectors**.
>
> **2. Add Flabs**
>
> If **Flabs** appears under **Browse connectors**, click it and choose **Connect**, then
> skip to the next step.
>
> Otherwise click **+ Add** → **Add custom connector**. Enter **Flabs** as the name,
> paste `https://v2.flabs.in/flabs-mcp/mcp` as the server URL, click **Add**, then click
> **Connect** next to Flabs.
>
> **3. Sign in to Flabs**
>
> A Flabs page opens. Enter the mobile number you use to log in to Flabs, type the
> **OTP** sent to it, then click **Allow**.
>
> **4. Ask your first question**
>
> Start a new chat. Click **+** → **Connectors** and check that **Flabs** is switched on.
> Then ask anything about your lab.

> [tab] ChatGPT
>
> **1. Open Plugins**
>
> Go to [chatgpt.com](https://chatgpt.com). In the menu on the left, click **Plugins**.
>
> **2. Add Flabs**
>
> If **Flabs** is listed, open it and click **Connect**, then skip to the next step.
>
> Otherwise click **Add** → **Create MCP App**. Enter **Flabs** as the name and paste
> `https://v2.flabs.in/flabs-mcp/mcp` under **Connection**. Leave **Authentication** set
> to **OAuth**, tick **I understand and want to continue**, then click **Create**.
>
> **3. Sign in to Flabs**
>
> A Flabs page opens. Enter the mobile number you use to log in to Flabs, type the
> **OTP** sent to it, then click **Allow**.
>
> **4. Ask your first question**
>
> Start a new chat, click **+** and choose **Flabs**. Then ask anything about your lab.

> [!TIP]
>
> You can also follow these steps, with pictures, inside Flabs: log in as the lab owner and
> open **Flabs MCP** from the left menu.

## What the AI can see

When you click **Allow**, Claude or ChatGPT gets read access to the following, for the labs you
own:

| Access | What it includes |
| - | - |
| Business reports | Revenue, collections, dues, B2B, test volumes and TAT figures |
| Name lookup | Finding doctors, centres, tests and packages by name |
| Saved Labby dashboards | Dashboards and tables you saved in Labby AI |
| Your lab list | Which of your labs are connected |
| Patient report values | Stored report values, with patient names and mobile numbers |
| Bill lists | Individual bills, with patient names, IDs and mobile numbers |

> [!WARNING]
>
> Patient report values and bill lists contain **patient information**. Anything the connector
> returns becomes part of your conversation with Claude or ChatGPT and is handled under that
> company's privacy terms. Connect only accounts that you, as the lab owner, are comfortable
> sharing this data with.

## Safe by design

* **Read-only.** The connector cannot create, edit, cancel or delete anything in Flabs —
  no bills, reports, patients or settings.
* **Only your labs.** Every answer is limited to the labs owned by the account that signed in.
  Other labs' data can never be reached.
* **OTP sign-in.** Connecting needs an OTP sent to the lab owner's registered mobile number.
  Your Flabs password is never shared with Claude or ChatGPT.
* **No raw database access.** The AI can only use a fixed set of reports that Flabs has built
  and checked. It cannot run its own queries.
* **Flabs does not read your chats.** Flabs only receives the specific request the AI makes
  for data (for example "revenue, last 7 days, all branches"), never your full conversation.

## Disconnect

You can remove access at any time, from either side:

* **In Flabs:** log in as the lab owner, open **Flabs MCP** from the left menu, and click
  **Disconnect** next to the app.
* **In Claude:** **Settings** → **Connectors** → **Flabs** → **Disconnect**.
* **In ChatGPT:** **Plugins** → **Flabs** → remove or disconnect it.

Once disconnected, the AI can no longer read any Flabs data. To use it again, connect and sign in
with your OTP again.

## FAQ

> [accordion] Do I need to install anything?
>
> No. The connector runs on Flabs' servers. You only add it inside Claude or ChatGPT and sign in.

> [accordion] Can my staff use it?
>
> Only the lab owner can connect Flabs. Anyone using that Claude or ChatGPT account after it is
> connected can ask questions, so connect it only on an account you control.

> [accordion] Are the numbers the same as in Flabs?
>
> Answers are calculated from your live Flabs data using the same calculations as Labby AI.
> If something looks off, ask the AI which date range and branches it used.

> [accordion] What happens if my Enterprise plan expires?
>
> Claude and ChatGPT stay connected but cannot read any lab data until the plan is renewed.
> Access comes back on its own after renewal — no need to reconnect.

> [accordion] Can it change anything in my lab?
>
> No. The connector is read-only. It can't create bills, edit reports or change settings.

## Privacy & support

* **Privacy policy:** [flabslis.com/privacy-policy](https://flabslis.com/privacy-policy)
* **Support:** **[hello@flabs.in](mailto:hello@flabs.in)** or **+91 7253928905**, Monday to Friday, 9 AM to 6 PM IST.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.