Search MeSH
mesh_searchSearch MeSH descriptors to find controlled vocabulary for indexing medical literature or PubMed searches. Returns matching terms with MeSH IDs, labels, and official translations when available.
Instructions
Search for MeSH (Medical Subject Headings) descriptors.
Use this tool to:
Find MeSH terms for indexing medical literature
Look up subject headings for PubMed searches
Find controlled vocabulary terms
Set language to request NLM's official translations where they exist (e.g. language: "pt" for Portuguese labels); content is never machine-translated.
Returns matching descriptors with MeSH IDs and labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | No | Match type: exact, contains, or startswith. Default: contains | contains |
| query | Yes | Search term (e.g., "diabetes", "heart failure") | |
| language | No | Language code (default: en). Returns the source's OFFICIAL translation when it exists (e.g. 'pt' for official Portuguese); content is never machine-translated. | en |
| max_results | No | Maximum number of results (1-100). Default: 25 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | Yes | Match type applied to descriptor labels. | |
| query | Yes | The search term as submitted. | |
| provenance | Yes | Provenance block: source, URL, data vintage, extraction instant, origin diagnostics, citation, license | |
| attribution | Yes | Canonical source URLs of this response (attribution list) | |
| descriptors | Yes | Matching MeSH descriptors, each with its ID (e.g. "D003920"), URI and label. | |
| total_count | Yes | Number of descriptors returned (the NLM lookup is capped at max_results, so this is not a total count of all matches). |