# thehealthai/clarity-mcp [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/thehealthai/clarity-mcp  
**GitHub Stars:** 0  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/thehealthai-clarity-mcp

## Description
Condition-aware ingredient, product & supplement safety for agents, with provenance on every answer — a verdict, an evidence tier (Gold/Silver/Bronze), and a verifiable citation — across breastfeeding, pregnancy, histamine/MCAS, rosacea, HS, allergy and fertility lenses. 9 tools incl. validateclaim (fact-check a claim against curated cited sources) and checkrecall (FDA/consumer recall lookup by brand with Class I flagging and source URLs). Hosted at mcp.healthai.com.

## Tools
Capabilities this server exposes over MCP:

- **check_ingredient** — Look up a cosmetic/food/supplement ingredient in Clarity's condition-aware database. Returns verdict, evidence tier (Gold/Silver/Bronze), and citation for a given condition lens. Pass `lenses` (array) instead of `lens` to check several conditions in ONE call (profile-shaped checking, e.g. a user who is pregnant AND has MCAS) — results then carry a per-lens breakdown under `lenses{}`. `citations` lists citations for the requested lens and `general_citations` those backing the overall verdict; `citation_count` counts verified citations across both (= `lens_citation_count` + `general_citation_count`), so `citations: []` with `citation_count >= 1` means the verified evidence is general rather than lens-specific. Every result includes human_url, a live Clarity page to hand the user as the source link.
- **check_stack** — Audit a supplement/ingredient STACK in one call: per-item condition-lens verdicts (evidence-graded, cited where citations exist) PLUS every curated ingredient-to-ingredient interaction found WITHIN the stack (type, severity, mechanism, source). Use when a user takes multiple supplements together. Supports multi-lens via `lenses`. Absence of an interaction is NOT proof of safety — the curated set is growing. Every result includes human_url for the user.
- **find_alternatives** — Find 2-3 safer swaps for a flagged product: same-category products that rate good/excellent on Clarity's general food/skincare quality score AND contain no ingredient flagged for the given condition lens. Seed by barcode (preferred — e.g. right after scan_barcode flags something) or product_name. Each alternative carries its score, ingredient-recognition coverage, and human_url. The score is a GENERAL quality score, not a condition verdict — verify a chosen alternative with scan_barcode or check_stack. Food and skincare only (supplement swaps are declined honestly for now).
- **strain_lookup** — Look up a cannabis or mushroom species/strain in Clarity's database. Returns verdict, evidence tier, PMID citation, and safety flags.
- **scan_barcode** — Look up a product by barcode (Open Food Facts / Open Beauty Facts), match its ingredients against Clarity's database, return which ingredients are flagged for the given condition lens, AND flag any active FDA recall for the product (recall_flag + recalls[], sourced from FDA — verify via source_url). Anonymous calls are read-only: a local-mirror miss may query the public source but does not refresh Clarity's mirror or harvest tokens. An authenticated caller may opt into each bounded side effect with persist_mirror:true and harvest_crosswalk:true.
- **validate_claim** — Fact-check a free-text health/safety claim against Clarity's human-curated, evidence-graded database. Given a statement (e.g. 'fenugreek is safe while breastfeeding') and a condition lens, returns whether Clarity's curated position supports / contradicts / does-not-cover it, plus any verified citation on file. Anonymous calls never write the review queue. An authenticated caller may explicitly opt into a bounded, redacted review signal with review_consent:true. Do not include personal information. Descriptive — not medical advice.
- **check_interaction** — Check Clarity's curated ingredient-to-ingredient interaction database. Give one ingredient to list everything it interacts with (e.g. 'iron'), or two ingredients to check a specific pair (e.g. 'calcium' + 'iron'). Returns interaction_type, severity (Beneficial/Moderate/High), mechanism, clinical_note, source, and whether it affects lactation/infant/absorption. Queries both directions of the pair. Absence of a result is NOT proof of safety — the set is curated and growing. Descriptive with sources, not medical advice.
- **score_product** — Get Clarity's product quality score by barcode. Returns category-specific scores (food: nutrition/additive/processing/organic; skincare: irritation/allergen/endocrine/condition; supplement: transparency/safety/label_quality/complexity — dose transparency penalizes proprietary blends, safety flags high-risk botanicals) — these are DISTINCT and never merged — plus per-lens fit with match coverage. Always includes data_quality/coverage so a score is never given without its confidence.
- **check_recall** — Check whether a consumer product or brand has an FDA/consumer recall on file — supplements, food, cosmetics (NOT medical devices). Query by `brand` (primary), optionally narrow by `product_name`. Returns recall_flag, whether any active Class I (most serious) recall exists, and each matching record with classification, reason, date, status, and a source_url to verify. Recall data has no barcode, so matches are brand/name text matches — confirm via source_url. For medical-DEVICE recalls, use the radar MCP (com.healthai/radar).

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "clarity-mcp": {
    "command": "npx",
    "args": ["-y","clarity-mcp"]
  }
}
```

## Documentation

## What thehealthai/clarity-mcp does

Clarity provides agent-accessible safety and quality checks for cosmetic, food, supplement, cannabis, mushroom, and consumer products. Results can include a verdict, a Gold/Silver/Bronze evidence tier, citations, and a live `human_url` that agents can pass to users as a source link.

The condition lenses include breastfeeding, lactation, pregnancy, histamine, MCAS, rosacea, HS, allergy, and an all-conditions option. Several tools accept multiple lenses in one request, returning a separate breakdown for each lens. The service is descriptive and not medical advice; an absent flag or interaction is not proof of safety.

## How it works

The production service is hosted at `https://mcp.healthai.com` and uses Streamable HTTP with JSON-RPC 2.0. Anonymous calls are read-only and rate-limited to 60 tool calls per minute per IP. An `X-API-Key` header enables higher metered limits.

Every tool call produces bounded operational telemetry for reliability and abuse prevention without storing raw tool arguments in that telemetry. Inputs may include ingredient names, product names, condition lenses, stacks, barcodes, ingredient pairs, and free-text claims. Personal information, medical records, names, and contact details should not be sent.

The server also exposes MCP prompts for supplement-stack audits, health-claim fact checks, and product-safety checks, plus `clarity://methodology` and `clarity://lenses` resources.

## Setup and configuration

No local installation or API key is required for anonymous access. Configure the hosted endpoint as a Streamable HTTP MCP server:

```json
{
  "mcpServers": {
    "clarity": {
      "type": "streamable-http",
      "url": "https://mcp.healthai.com"
    }
  }
}
```

Claude Code can add it with `claude mcp add --transport http clarity https://mcp.healthai.com`. Clients without native remote MCP support can use `mcp-remote` as a bridge. OpenAI’s Responses API can register the endpoint as a remote MCP tool; the documented example keeps approval set to `always` while evaluating calls.

## Tools and capabilities

- `check_ingredient` evaluates a cosmetic, food, or supplement ingredient for one or more condition lenses, with verdicts, evidence, and citations.
- `check_stack` audits multiple supplements or ingredients and reports curated within-stack interactions alongside per-lens results.
- `find_alternatives` suggests two or three same-category food or skincare alternatives for a flagged product. It uses general quality scores and ingredient screening; supplement substitutions are not included.
- `strain_lookup` checks cannabis or mushroom species and strains for verdicts, evidence, PMID citations, and safety flags.
- `scan_barcode` uses Open Food Facts or Open Beauty Facts data to match ingredients and identify active FDA recalls.
- `validate_claim` compares a free-text health or safety claim with Clarity’s curated position: supports, contradicts, or does-not-cover.
- `check_interaction` searches curated ingredient interactions in one direction or both directions of a pair, returning severity, mechanism, clinical notes, and sources.
- `score_product` returns separate category-specific quality dimensions and data-coverage information for food, skincare, or supplement products.
- `check_recall` searches FDA or consumer recalls by brand and optionally product name for supplements, food, and cosmetics.

## Limitations and notes

Recall matching is based on brand and product-name text because recall records do not use barcodes. Medical-device recalls are outside this tool’s scope. Barcode lookups may query public product sources; authenticated callers can explicitly allow mirror persistence or ingredient-token harvesting. Authenticated callers can also consent to bounded review signals for uncovered claim text.

Interaction and safety datasets are curated and growing, so a missing result should not be interpreted as confirmation of safety. Alternative-product quality scores are general scores rather than condition-specific verdicts and should be followed by a barcode or stack check. Requests containing uncovered claim text must not include personal information.

_Full upstream README: https://allmcps.com/mcp/thehealthai-clarity-mcp/readme_

