Skip to main content
Glama

FHIR MCP Server

by the-momentum
fhir_schemas.pyβ€’869 B
from typing import Any, Literal from pydantic import BaseModel, Field type FhirMethod = Literal["GET", "POST", "PUT", "DELETE"] class FhirQueryRequest(BaseModel): """Request to the FHIR resource.""" method: FhirMethod = Field(..., description="The HTTP method used to query the FHIR resource") path: str = Field(..., description="The path of the FHIR resource") body: dict[str, Any] | None = Field( None, description="The body of the FHIR resource. " "If the method is GET, the body is not required.", ) class FhirQueryResponse(FhirQueryRequest): """Response from the FHIR resource with extra fields from the request.""" response: Any = Field(..., description="The response from the FHIR resource") class FhirError(FhirQueryRequest): """Error response from the FHIR resource.""" error_message: str

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/the-momentum/fhir-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server