clsweeting/ohdsi-webapi-mcp
3.1
If you are the rightful owner of ohdsi-webapi-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The OHDSI WebAPI MCP Server is a Model Context Protocol server that enables LLM agents to interact with the OHDSI WebAPI for tasks such as cohort building and analysis.
Tools
11
Resources
0
Prompts
0
OHDSI WebAPI MCP Server
A Model Context Protocol (MCP) server that provides LLM agents with tools to interact with OHDSI WebAPI for cohort building and analysis.
Transport Modes
This server supports two transport modes to fit different use cases:
- stdio Mode
- HTTP using streaming HTTP
Supported Functionality
Concept Discovery
search_concepts- Search for medical concepts by name or codeget_concept_details- Get detailed information about a specific conceptbrowse_concept_hierarchy- Navigate concept relationships and hierarchies
Cohort Building
create_concept_set- Build reusable concept setsdefine_primary_criteria- Set index event criteriaadd_inclusion_rule- Add filtering criteria with time windowsvalidate_cohort_definition- Validate cohort logic and structure
Persistence & Analysis
save_cohort_definition- Save cohort to WebAPIload_existing_cohort- Retrieve saved cohort definitionsestimate_cohort_size- Preview patient countscompare_cohorts- Analyze differences between cohort definitions
Documentation
Installation & running the MCP server:
- - Complete guide for Claude Desktop, VS Code, and traditional MCP clients in stdio mode
- - Complete guide for web integration, API access, running MCP clients in http mode.
- .
Using with an MCP client:
- Using
- Using
- Testing with
Developers:
- [Development] - Developing & contributing.
License
Licensed under the Apache License 2.0. See for details.
Related Projects
- ohdsi-webapi-client - Python client for OHDSI WebAPI
- ohdsi-cohort-schemas - Pydantic models for OHDSI cohort definitions