Skip to main content
Glama

nhs-intelligence-mcp

MCP server for NHS waiting times and trust quality. Connects to Claude Code, Claude Desktop, or any MCP-compatible client.

No LLM inside — deterministic data tools only. Reasoning happens in the client.

Install

bash <(curl -fsSL https://raw.githubusercontent.com/Hydaspex/nhs-intelligence-mcp/main/scripts/setup.sh)

Downloads the latest nhs_intel.db, verifies checksum, registers a weekly refresh job, prints the .mcp.json snippet.

Related MCP server: NHS MCP Server

Tools

Tool

Input

Returns

lookup_wait_time

provider name, specialty

latest wait in weeks

rank_trusts_by_wait

specialty, region?, limit?

trusts ranked longest-first

wait_time_trend

provider_code, specialty

delta, direction, monthly series

get_trust_rating

cqc_provider_id

overall + per-domain CQC ratings

trust_profile

identifier, specialty, by_name?

current wait + trend + CQC rating

Example: "Cardiology waiting times at Chelsea and Westminster?" → 10 weeks, Outstanding (Aug 2026).

Data sources

Source

Frequency

Covers

NHS My Planned Care

Weekly

Current waits — 130 trusts, 74 specialties

NHS England RTT

Monthly

Trend data

CQC HSCA Active Locations

Monthly

Trust quality ratings

All ingested into a single SQLite DB, published as a GitHub release. No network calls at query time.

DB location

OS

Path

Mac

~/Library/Application Support/nhs-intel/nhs_intel.db

Linux

~/.local/share/nhs-intel/nhs_intel.db

Windows

%APPDATA%\nhs-intel\nhs_intel.db

Override: NHS_INTEL_DB=/path/to/nhs_intel.db

Architecture

src/nhs_intel/
  domain/      # value objects
  sources/     # SQLite-backed adapters
  analysis/    # pure trend, ranking, profile logic
  ingest/      # rtt_ingest, cqc_ingest, load_db CLIs
  server.py    # FastMCP layer
data/schema.sql
scripts/setup.sh, refresh_data.sh
.github/workflows/publish_db.yml

Development

uv sync --extra dev
uv run pytest

# Populate DB
uv run nhs-intel-load-db --rtt rtt.csv --planned-care planned_care.csv
uv run nhs-intel-cqc-ingest --out /tmp/cqc.csv && uv run nhs-intel-load-db --cqc /tmp/cqc.csv

uv run nhs-intel-mcp

CI

Runs every Sunday 02:00 UTC. Seeds from the previous release, scrapes 130 trusts, refreshes CQC data, and incrementally backfills any recent RTT months the DB is missing, so waiting-time history accrues across runs. Publishes nhs_intel.db + SHA-256.

Requires WEBSCRAPER_READ_TOKEN secret — see .github/SECRETS.md.

A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
Response time
2dRelease cycle
2Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    C
    maintenance
    Enables querying of current A\&E waiting times, specialist outpatient waiting times, and general outpatient clinic quotas in Hong Kong using natural language through MCP.
    3
    4
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to query NHS public health datasets, including prescribing data, dataset exploration, and organisation lookup via the NHSBSA Open Data Portal.
    9
  • A
    license
    Not graded
    quality
    B
    maintenance
    MCP server for the Semble practice-management API, enabling AI agents to search for patients, contacts, and users, as well as retrieve patient relationships via read-only tools.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables querying the Polish National Health Fund (NFZ) public API for medical waiting lists and service dictionary, allowing AI to compare wait times and find providers.
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Hosted MCP server exposing US hospital procedure cost data to AI assistants

  • UK NIHR (National Institute for Health and Care Research) open-data MCP.

  • Hosted MCP endpoint with realistic fake data for prototyping agents. 12 tools, no setup.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Roberto-Pecora/nhs-intelligence-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server