About wso2/fhir-mcp-server
wso2/fhir-mcp-server is an MCP server published by wso2 in the Developer Tools category: fHIR MCP Server – helping you expose any FHIR Server or API as a MCP Server. Conduid read 7 tools from its source: create, delete, get_capabilities, get_user, read, search and 1 more. It is published to PyPI as fhir-mcp-server and runs with uvx.
The repository has 139 stars and 60 forks, is licensed Apache-2.0, and its last commit was on 6 Nov 2026. The latest release is 0.10.0 (30 Oct 2025). The release before it was 0.9.0 (22 Jul 2025). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include fhir and healthcare.
Install
uvx fhir-mcp-serverpip install fhir-mcp-servergit clone https://github.com/wso2/fhir-mcp-serverTools (7)
createExecutes a FHIR "create" interaction to persist a new resource of the specified type.| Parameter | Type | Description |
|---|---|---|
| operation | string | The name of a custom FHIR operation or extended query defined for the resourceMust match one of the operation names returned by `get_capabilities`. |
| payload * | object | The JSON body of the new resource. Include every element the resource's profile marks as required, or the server rejects the request. Set `resourceType` to the same value as `type`; if omitted, it defaults to `type`. Leave out `id` and `meta`, which the server assigns. |
| searchParam | object | A mapping of FHIR search parameter names to their desired values. These parameters refine queries for operation-specific query qualifiers. Only parameters exposed by `get_capabilities` for that resource type are valid. |
| type * | string | The FHIR resource type name. Must exactly match one of the resource types supported by the server. |
deleteExecute a FHIR "delete" interaction on a specific resource instance.| Parameter | Type | Description |
|---|---|---|
| id | string | The logical ID of a specific FHIR resource instance. |
| operation | string | The name of a custom FHIR operation or extended query defined for the resourceMust match one of the operation names returned by `get_capabilities`. |
| searchParam | object | A mapping of FHIR search parameter names to their desired values. These parameters refine queries for operation-specific query qualifiers. Only parameters exposed by `get_capabilities` for that resource type are valid. |
| type * | string | The FHIR resource type name. Must exactly match one of the resource types supported by the server. |
get_capabilitiesRetrieves metadata about a specified FHIR resource type, including its supported search parameters and custom operations.| Parameter | Type | Description |
|---|---|---|
| type * | string | The FHIR resource type name. Must exactly match one of the core or profile-defined resource types as per the FHIR specification. |
get_userRetrieves the currently authenticated user's FHIR resource (for example the linked `Patient` resource) and returns a concise profile containing available demographic fields such as `id`, `name`, and `birthDate`.readPerforms a FHIR "read" interaction to retrieve a single resource instance by its type and resource ID, optionally refining the response with search parameters or custom operations.| Parameter | Type | Description |
|---|---|---|
| id * | string | The logical ID of a specific FHIR resource instance. |
| operation | string | The name of a custom FHIR operation or extended query defined for the resource must match one of the operation names returned by `get_capabilities`. |
| response_filter_fhirpaths | array | Specify FHIRPath expressions to filter the response to only the data you need. Omitting returns the full resource. Bundle.* expressions supported with $everything. |
| searchParam | object | A mapping of FHIR search parameter names to their desired values. These parameters refine queries for operation-specific query qualifiers. Only parameters exposed by `get_capabilities` for that resource type are valid. |
| type * | string | The FHIR resource type name. Must exactly match one of the resource types supported by the server. |
searchExecutes a standard FHIR search interaction on a given resource type, returning a bundle or list of matching resources.| Parameter | Type | Description |
|---|---|---|
| response_filter_fhirpaths | array | Specify FHIRPath expressions to filter the response to only the data you need. Omitting returns the full resource. |
| searchParam * | object | A mapping of FHIR search parameter names to their values. Only include parameters supported for the resource type, as listed by `get_capabilities`. |
| type * | string | The FHIR resource type name. Must exactly match one of the resource types supported by the server |
updatePerforms a FHIR "update" interaction by replacing an existing resource instance's content with the provided payload.| Parameter | Type | Description |
|---|---|---|
| id * | string | The logical ID of a specific FHIR resource instance. |
| operation | string | The name of a custom FHIR operation or extended query defined for the resourceMust match one of the operation names returned by `get_capabilities`. |
| payload * | object | The complete new content of the resource. It replaces the stored version entirely, so include every required element and all existing data you want to keep. Set `resourceType` to the same value as `type`; if omitted, it defaults to `type`. The body `id` is always set to the `id` argument, overriding any value given here. |
| searchParam | object | A mapping of FHIR search parameter names to their desired values. These parameters refine queries for operation-specific query qualifiers. Only parameters exposed by `get_capabilities` for that resource type are valid. |
| type * | string | The FHIR resource type name. Must exactly match one of the resource types supported by the server. |
Security checks
Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 2.4K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
1 check has not been run yet.
Releases
README
The repository's README runs to about 2.4K words, fetched a month ago. The original in the repository is authoritative.
Read full README