Find similar concepts
find_similar_conceptsFind similar medical concepts from an OMOP concept ID, name, or natural-language query using semantic, lexical, or hybrid matching to explore related codes and build concept sets.
Instructions
Find medical concepts similar to a reference concept, name, or natural language query. Supports three algorithms: 'semantic' (neural embeddings — best for meaning, and the default), 'lexical' (text matching — best for typos), 'hybrid' (combined). Provide exactly ONE of: concept_id, concept_name, or query. Use this to explore related concepts, find alternative codes, or build phenotype concept sets. Tip: For drug vocabularies like RxNorm, use drug class names ('ACE inhibitors', 'beta blockers', 'antihypertensives') rather than symptom descriptions ('medications for high blood pressure') — the embedding model aligns better with clinical terminology than lay language.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_similar_concepts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page of results (1-based, default 1) | |
| query | No | Find concepts matching this natural language description | |
| algorithm | No | Similarity algorithm: 'semantic' (meaning), 'lexical' (text), 'hybrid' (both). Default 'semantic', matching the API. | semantic |
| page_size | No | Number of results (1-1000, default 20) | |
| concept_id | No | Find concepts similar to this OMOP concept ID | |
| domain_ids | No | Comma-separated domain IDs to filter results. Examples: 'Condition', 'Drug'. | |
| concept_name | No | Find concepts similar to this concept name | |
| vocabulary_ids | No | Comma-separated vocabulary IDs to filter results. Examples: 'SNOMED', 'ICD10CM'. | |
| concept_class_ids | No | Comma-separated concept class IDs to filter results. Examples: 'Clinical Finding', 'Ingredient'. | |
| include_explanations | No | Include a short explanation of why each concept matched. Default false. | |
| similarity_threshold | No | Minimum similarity score (0.0-1.0). Default 0.7. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| similar_concepts | Yes |