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

> Connect Claude or ChatGPT to your Flabs account and ask about your lab's revenue, dues, reports and operations in plain language.

> [!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.

**Flabs MCP** 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]
>
> Server URL:  `https://v2.flabs.in/flabs-mcp/mcp`

> [card] [Connect Claude](https://developer.flabslis.com/flabs-mcp/connect-claude.md)
>
> Add Flabs as a connector in Claude, on the web or the app.

> [card] [Connect ChatGPT](https://developer.flabslis.com/flabs-mcp/connect-chatgpt.md)
>
> Add Flabs as an app in ChatGPT.

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

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


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