Skip to main content
Glama
nih-nlm-mesh-medical-terms-mcp

nih-nlm-mesh-medical-terms-mcp

README.md
# nih-nlm-mesh-medical-terms-mcp

Live NIH National Library of Medicine MeSH ontology search over Model Context Protocol (MCP). Clinical informatics teams, medical researchers, and PubMed indexing workflows can search disease descriptors, check allowable subheading qualifiers, look up entry terms, and inspect ontological tree branches without an API key or account.

## Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

```text
https://nih-nlm-mesh-medical-terms-mcp.lipmichal.workers.dev/mcp
```

## Available tools

| Tool | Purpose |
| --- | --- |
| `search_mesh_descriptors` | Search NIH NLM MeSH descriptors by clinical term, disease name, or pharmacologic concept |
| `get_mesh_descriptor_detail` | Retrieve descriptor notes, tree numbers, pharmacological actions, and related headings |
| `lookup_mesh_terms` | Search MeSH entry terms and clinical synonyms across the controlled vocabulary |
| `get_mesh_qualifiers` | List allowable PubMed subheadings and preferred terms for a MeSH descriptor ID |
| `get_mesh_tree_hierarchy` | Inspect MeSH ontological tree branches, root categories, depth, and ancestor paths |

## Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

```json
{
  "mcpServers": {
    "nih-nlm-mesh-medical-terms": {
      "url": "https://nih-nlm-mesh-medical-terms-mcp.lipmichal.workers.dev/mcp"
    }
  }
}
```

## Run locally over stdio

You can run the server locally on Node 20 or newer over stdio.

```bash
npm install
npm run build
npm start
```

## Compliance and reliability

Every request calls `id.nlm.nih.gov/mesh` with a polite `User-Agent` string (`mcpstamp-nih-nlm-mesh-medical-terms/1.0.1 (hello@mcpstamp.com)`) and automatic retry on transient 5xx or network errors. All five tools declare read-only, non-destructive, idempotent, and open-world annotations. The Worker also negotiates future protocol versions cleanly.

## More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.

- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.nih-nlm-mesh-medical-terms-mcp) with hosted commercial servers and priority endpoints.