> ## 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.

<Info>
  **For lab owners.** No coding needed. Developers building an integration with the Flabs APIs
  should see [AI Coding Assistant](/ai/integrate-with-ai) instead.
</Info>

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`
</Note>

## What you can ask

<CardGroup cols={2}>
  <Card title="Revenue & collections" icon="indian-rupee-sign">
    Gross and net revenue, cash collected, payment-mode split, discounts, refunds and
    average bill value — for any period and any branch.
  </Card>

  <Card title="Dues" icon="hourglass-half">
    Outstanding dues and how long they have been pending, B2B receivables, centre balances
    and payments received.
  </Card>

  <Card title="Patient reports" icon="file-medical">
    Report values, abnormal and critical results, and how often a parameter was tested.
  </Card>

  <Card title="Lab operations" icon="flask">
    Bill counts, department-wise and test-wise volumes, turnaround time (TAT),
    cancellations and collections by staff member.
  </Card>

  <Card title="Doctors & referrers" icon="user-doctor">
    Business and commission by referring doctor, hospital or B2B centre.
  </Card>

  <Card title="Trends & comparisons" icon="chart-line">
    Day, week or month trends and "this period vs last period" comparisons, which Claude or
    ChatGPT can turn into charts and tables.
  </Card>
</CardGroup>

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

<Tabs>
  <Tab title="Claude">
    <Steps>
      <Step title="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**.
      </Step>

      <Step title="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.
      </Step>

      <Step title="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**.
      </Step>

      <Step title="Ask your first question">
        Start a new chat. Click **+** → **Connectors** and check that **Flabs** is switched on.
        Then ask anything about your lab.
      </Step>
    </Steps>
  </Tab>

  <Tab title="ChatGPT">
    <Steps>
      <Step title="Open Plugins">
        Go to [chatgpt.com](https://chatgpt.com). In the menu on the left, click **Plugins**.
      </Step>

      <Step title="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**.
      </Step>

      <Step title="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**.
      </Step>

      <Step title="Ask your first question">
        Start a new chat, click **+** and choose **Flabs**. Then ask anything about your lab.
      </Step>
    </Steps>
  </Tab>
</Tabs>

<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.
</Tip>

## 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.
</Warning>

## 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

<AccordionGroup>
  <Accordion title="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>

  <Accordion title="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>

  <Accordion title="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>

  <Accordion title="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>

  <Accordion title="Can it change anything in my lab?">
    No. The connector is read-only. It can't create bills, edit reports or change settings.
  </Accordion>
</AccordionGroup>

## 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.