# Mondo [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-mondo  
**GitHub Stars:** 0  
**npm Downloads (last month):** 429  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mondo

## Description
Mondo — condition-string resolver onto the Mondo Disease Ontology.

## Tools
Capabilities this server exposes over MCP:

- **mondo_resolve_condition** — Resolve free-text condition/disease strings — e.g. a clinical trial registry's "conditions" field ("Carcinoma, Non-Small-Cell Lung"), or a drug label's Indications and Usage wording — onto the Mondo Disease Ontology (MONDO), via EBI OLS4 full-text search plus MyDisease.info cross-references. Accepts a batch (1-25) of condition strings. For each, returns the original wording verbatim, the best MONDO id + label, and a match_quality you can trust: "exact-label" (identical to the Mondo term's primary label), "exact-synonym" (identical to a listed exact synonym), "broader"/"narrower" (the string exactly names a parent or child term reached via the Mondo hierarchy, not the top full-text hit itself), or "fuzzy" (closest full-text match, not a confirmed exact term — treat with caution). Also carries xrefs (OMIM, Orphanet, DOID, UMLS, MeSH) for the matched id. A string with no plausible Mondo term returns match_quality "no-match" with the queries tried and the nearest candidates found, never a bare empty result. Set expand:true to also get the resolved term's descendant MONDO ids, for building a subtype-inclusive filter (e.g. "any subtype of non-small cell lung carcinoma").

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

```json
"mcpServers": {
  "mondo": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-mondo"],
    "env": {
      "PIPEWORX_API_KEY": "",
      "PIPEWORX_META_TOOLS": ""
    }
  }
}
```

**Requires environment variables:** `PIPEWORX_API_KEY`, `PIPEWORX_META_TOOLS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What Mondo does

Mondo maps disease and condition strings to MONDO identifiers and labels while preserving the caller's original wording. The main operation, `mondo_resolve_condition`, accepts between 1 and 25 condition strings in one request. Each result includes a `match_quality` value that indicates how confidently the input was resolved.

Exact labels and exact synonyms receive separate classifications. The resolver also identifies broader or narrower hierarchical relationships when the input names a parent or child relative to the selected MONDO term. A fuzzy result represents the closest full-text candidate, not a confirmed ontology match. Inputs with no plausible result are marked `no-match` and include the search attempts and any nearby candidates found during relaxed matching.

Successful resolutions include cross-references such as OMIM, Orphanet, DOID, UMLS, and MeSH when available. Setting `expand: true` adds the MONDO identifiers of descendant terms, up to 500 results, which can support subtype-inclusive filtering.

## How it works

Mondo queries EBI's Ontology Lookup Service with searches restricted to MONDO, then uses MyDisease.info to enrich the selected term and inspect its hierarchy. Exactness is determined by comparing normalized text with the primary label and the term's exact synonyms rather than trusting a search-engine exact flag.

Normalization ignores case and treats runs of punctuation or non-alphanumeric characters as spaces. The resolver also checks the un-inverted form of MeSH-style names such as “Specific, General.” A fixed set of leading stage and status qualifiers can be removed for hierarchy-aware matching, including terms such as “Stage IV,” “metastatic,” and “recurrent.” Trailing qualifiers and parenthetical text may also be relaxed when looking for candidates.

Hierarchy and cross-reference enrichment are separate from the OLS4 search. If MyDisease.info enrichment fails, the MONDO match can still be returned with empty cross-reference data. Requests to both upstream services are bounded by timeouts.

## Setup and configuration

The hosted streamable HTTP endpoint is:

```text
https://gateway.pipeworx.io/mondo/mcp
```

An MCP client can add that URL under a server named `mondo`. The full Pipeworx endpoint, `https://gateway.pipeworx.io/mcp`, is another connection option; the pack endpoint lists Mondo tools directly while the gateway endpoint exposes the broader catalog through the gateway.

A local stdio bridge is available through npm:

```json
{
  "mcpServers": {
    "mondo": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-mondo"]
    }
  }
}
```

The bridge requires network access and has no offline mode. Anonymous use is capped at 50 calls per day. Supplying `PIPEWORX_API_KEY` increases the limit to 200 calls per day for a free account. Set `PIPEWORX_META_TOOLS=1` if the local bridge should also list Pipeworx-wide meta-tools such as discovery and routing tools.

## Tools and capabilities

- `mondo_resolve_condition(conditions, expand?)`: batch-resolves one to 25 free-text disease or condition strings.
- Exact label matching with case- and punctuation-insensitive normalization.
- Exact synonym matching based on MONDO synonyms returned by OLS4.
- Broader and narrower hierarchy classifications for parent, child, and recognized leading stage or status qualifiers.
- Fuzzy matching that remains explicitly non-exact.
- No-match responses containing attempted query variants and nearby candidates.
- Cross-references from MyDisease.info for OMIM, Orphanet, DOID, UMLS, and MeSH.
- Optional descendant MONDO IDs, capped at 500 per resolved term.

Term detail, raw MONDO search, and general ancestor or child browsing are handled by the separate `ebi-ols` pack rather than duplicated here.

_Full upstream README: https://allmcps.com/mcp/mondo/readme_

