@gera-services/mcp-gera-clinic 0.1.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -37
- package/bin/cli.js +11 -1
- package/dist/calculators.d.ts +108 -0
- package/dist/calculators.js +227 -0
- package/dist/cqc.d.ts +102 -0
- package/dist/cqc.js +102 -0
- package/dist/data/cqc-cluster.json +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +10 -28
- package/dist/server.d.ts +17 -0
- package/dist/server.js +248 -316
- package/llms.txt +13 -22
- package/package.json +21 -20
- package/server.json +8 -13
package/llms.txt
CHANGED
|
@@ -1,34 +1,27 @@
|
|
|
1
1
|
# GeraClinic MCP Server
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> Offline MCP server by Gera Systems. Lets AI agents find CQC-registered UK care/health providers, read area care statistics, and run non-diagnostic health calculators — no backend, no network, no auth. Real Care Quality Commission data under the Open Government Licence v3.0.
|
|
4
4
|
|
|
5
5
|
## What This MCP Server Does
|
|
6
6
|
|
|
7
|
-
The `@gera-services/mcp-gera-clinic` MCP server connects AI assistants (Claude, ChatGPT, Gemini, etc.)
|
|
7
|
+
The `@gera-services/mcp-gera-clinic` MCP server connects AI assistants (Claude, ChatGPT, Gemini, etc.) to [GeraClinic](https://geraclinic.com)'s real UK healthcare-provider directory and its published health-calculator math. Everything is computed locally from a bundled snapshot of real Care Quality Commission (CQC) data and pure reference formulas, so an agent can find a provider, read area care statistics, and run a health calculator entirely offline.
|
|
8
8
|
|
|
9
|
-
## Available Tools
|
|
9
|
+
## Available Tools (all offline, no authentication)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
- find_care_provider: Search real CQC-registered UK providers (GP surgeries, dentists, hospitals, clinics, care/nursing homes, hospices, urgent care) by name, postcode (full or outward), service type, and/or local authority. Returns address, phone, website, service types, last-inspected date, and the CQC profile URL.
|
|
12
|
+
- get_cqc_area_stats: Aggregated CQC statistics for a UK local authority or locality — total registered providers, phone/website coverage, service-type breakdown with counts and percentages, top service type, and latest inspection date.
|
|
13
|
+
- list_care_authorities: List the UK areas the directory covers (optionally filtered by region) with provider counts and the available service types — used to discover valid area/authority values.
|
|
14
|
+
- list_health_calculators: List the available health calculators with their inputs and the public reference standard each uses.
|
|
15
|
+
- run_health_calculator: Run a calculator — BMI (WHO), BMR/TDEE (Mifflin-St Jeor), ideal weight (Devine/Robinson/Miller/Hamwi), blood-pressure category (ACC/AHA), heart-rate zones, A1C↔glucose (ADAG), water intake, or waist-to-height ratio. Objective, non-diagnostic reference values.
|
|
12
16
|
|
|
13
|
-
|
|
14
|
-
- [get_doctor_profile](https://geraclinic.com/doctors): Get a full doctor profile — bio, qualifications, languages spoken, consultation fees, and supported appointment types.
|
|
15
|
-
- [get_available_slots](https://geraclinic.com/book): Get open appointment time slots for a specific doctor on a given date.
|
|
16
|
-
- [list_specialties](https://geraclinic.com/specialties): List all medical specialties available in a country (general practice, cardiology, dermatology, etc.).
|
|
17
|
-
- [get_featured_doctors](https://geraclinic.com/featured): Get top-rated and verified doctors for a country.
|
|
18
|
-
- [get_health_services](https://geraclinic.com/services): Get all health service types available in a country — telemedicine, pharmacy, lab tests, home nursing.
|
|
17
|
+
## Data & Disclaimers
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
- [book_appointment](https://geraclinic.com/book): Book a medical consultation. Returns confirmation with payment URL if applicable.
|
|
23
|
-
|
|
24
|
-
## Multi-Country Support
|
|
25
|
-
|
|
26
|
-
Pass any ISO 3166-1 alpha-2 country code (e.g., `GB`, `US`, `AM`, `GE`, `UG`, `KE`, `NG`) via the `country` parameter. Each country may have different specialties, pricing, and appointment types available.
|
|
19
|
+
Provider data: Care Quality Commission www.cqc.org.uk, licensed under the Open Government Licence v3.0. CQC ratings are categorical (Outstanding / Good / Requires improvement / Inadequate), never numeric. Health calculators are educational reference math, not a diagnosis or prescription.
|
|
27
20
|
|
|
28
21
|
## Installation & Integration
|
|
29
22
|
|
|
30
23
|
```bash
|
|
31
|
-
npx @gera-services/mcp-gera-clinic
|
|
24
|
+
npx -y @gera-services/mcp-gera-clinic
|
|
32
25
|
```
|
|
33
26
|
|
|
34
27
|
Claude Desktop config (`claude_desktop_config.json`):
|
|
@@ -37,8 +30,7 @@ Claude Desktop config (`claude_desktop_config.json`):
|
|
|
37
30
|
"mcpServers": {
|
|
38
31
|
"gera-clinic": {
|
|
39
32
|
"command": "npx",
|
|
40
|
-
"args": ["@gera-services/mcp-gera-clinic"]
|
|
41
|
-
"env": { "GERACLINIC_API_URL": "https://api.geraclinic.com" }
|
|
33
|
+
"args": ["-y", "@gera-services/mcp-gera-clinic"]
|
|
42
34
|
}
|
|
43
35
|
}
|
|
44
36
|
}
|
|
@@ -46,9 +38,8 @@ Claude Desktop config (`claude_desktop_config.json`):
|
|
|
46
38
|
|
|
47
39
|
## About GeraClinic
|
|
48
40
|
|
|
49
|
-
GeraClinic is a product of [Gera
|
|
41
|
+
GeraClinic is a product of [Gera Systems](https://gera.services).
|
|
50
42
|
|
|
51
43
|
- Homepage: https://geraclinic.com
|
|
52
|
-
- API Docs: https://api.geraclinic.com/api/docs
|
|
53
44
|
- MCP Package: https://www.npmjs.com/package/@gera-services/mcp-gera-clinic
|
|
54
45
|
- MCP Registry: io.github.geraservicesuk/mcp-gera-clinic
|
package/package.json
CHANGED
|
@@ -1,58 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gera-services/mcp-gera-clinic",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "MCP server
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "GeraClinic MCP server — find CQC-registered UK care/health providers, read area care statistics, and run non-diagnostic health calculators. Deterministic, offline, no auth. A Gera Systems product.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"main": "dist/server.js",
|
|
7
8
|
"types": "dist/server.d.ts",
|
|
9
|
+
"mcpName": "io.github.geraservicesuk/mcp-gera-clinic",
|
|
8
10
|
"bin": {
|
|
9
11
|
"mcp-gera-clinic": "bin/cli.js"
|
|
10
12
|
},
|
|
11
13
|
"files": [
|
|
12
14
|
"dist",
|
|
13
15
|
"bin",
|
|
16
|
+
"server.json",
|
|
14
17
|
"README.md",
|
|
15
18
|
"LICENSE",
|
|
16
|
-
"server.json",
|
|
17
19
|
"llms.txt"
|
|
18
20
|
],
|
|
19
21
|
"publishConfig": {
|
|
20
22
|
"access": "public"
|
|
21
23
|
},
|
|
22
24
|
"scripts": {
|
|
23
|
-
"build": "
|
|
25
|
+
"build": "tsc --noCheck && mkdir -p dist/data && cp src/data/cqc-cluster.json dist/data/cqc-cluster.json",
|
|
24
26
|
"type-check": "tsc --noEmit",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"prepublishOnly": "npm run build"
|
|
27
|
+
"start": "node bin/cli.js",
|
|
28
|
+
"smoke": "node scripts/smoke.mjs"
|
|
28
29
|
},
|
|
29
30
|
"keywords": [
|
|
30
31
|
"mcp",
|
|
31
32
|
"model-context-protocol",
|
|
32
|
-
"ai",
|
|
33
33
|
"healthcare",
|
|
34
|
-
"
|
|
34
|
+
"cqc",
|
|
35
|
+
"care-quality-commission",
|
|
36
|
+
"uk-health",
|
|
35
37
|
"doctor-search",
|
|
36
|
-
"
|
|
38
|
+
"health-calculators",
|
|
37
39
|
"gera-clinic",
|
|
38
40
|
"gera"
|
|
39
41
|
],
|
|
40
42
|
"author": {
|
|
41
|
-
"name": "Gera
|
|
43
|
+
"name": "Gera Systems",
|
|
42
44
|
"email": "engineering@gera.services",
|
|
43
45
|
"url": "https://gera.services"
|
|
44
46
|
},
|
|
45
|
-
"
|
|
47
|
+
"homepage": "https://geraclinic.com",
|
|
46
48
|
"repository": {
|
|
47
49
|
"type": "git",
|
|
48
|
-
"url": "https://github.com/geraservicesuk/
|
|
50
|
+
"url": "https://github.com/geraservicesuk/globetura.git",
|
|
51
|
+
"directory": "packages/mcp-gera-clinic"
|
|
49
52
|
},
|
|
50
|
-
"homepage": "https://geraclinic.com",
|
|
51
53
|
"bugs": {
|
|
52
|
-
"url": "https://github.com/geraservicesuk/
|
|
53
|
-
},
|
|
54
|
-
"engines": {
|
|
55
|
-
"node": ">=18.0.0"
|
|
54
|
+
"url": "https://github.com/geraservicesuk/globetura/issues"
|
|
56
55
|
},
|
|
57
56
|
"dependencies": {
|
|
58
57
|
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
@@ -60,7 +59,9 @@
|
|
|
60
59
|
},
|
|
61
60
|
"devDependencies": {
|
|
62
61
|
"@types/node": "^20.12.0",
|
|
63
|
-
"esbuild": "^0.28.0",
|
|
64
62
|
"typescript": "^5.4.0"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=20"
|
|
65
66
|
}
|
|
66
67
|
}
|
package/server.json
CHANGED
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.geraservicesuk/mcp-gera-clinic",
|
|
4
|
-
"description": "
|
|
4
|
+
"description": "Find CQC-registered UK care/health providers and run non-diagnostic health calculators (BMI, etc).",
|
|
5
|
+
"version": "1.0.0",
|
|
5
6
|
"repository": {
|
|
6
|
-
"url": "https://github.com/geraservicesuk/
|
|
7
|
-
"source": "github"
|
|
7
|
+
"url": "https://github.com/geraservicesuk/globetura",
|
|
8
|
+
"source": "github",
|
|
9
|
+
"subfolder": "packages/mcp-gera-clinic"
|
|
8
10
|
},
|
|
9
|
-
"
|
|
11
|
+
"websiteUrl": "https://geraclinic.com",
|
|
10
12
|
"packages": [
|
|
11
13
|
{
|
|
12
14
|
"registryType": "npm",
|
|
13
15
|
"identifier": "@gera-services/mcp-gera-clinic",
|
|
14
|
-
"version": "
|
|
16
|
+
"version": "1.0.0",
|
|
15
17
|
"transport": {
|
|
16
18
|
"type": "stdio"
|
|
17
|
-
}
|
|
18
|
-
"environmentVariables": [
|
|
19
|
-
{
|
|
20
|
-
"name": "GERACLINIC_API_URL",
|
|
21
|
-
"description": "Base URL for the GeraClinic API (defaults to https://api.geraclinic.com)",
|
|
22
|
-
"required": false
|
|
23
|
-
}
|
|
24
|
-
]
|
|
19
|
+
}
|
|
25
20
|
}
|
|
26
21
|
]
|
|
27
22
|
}
|