Connect to FHIR servers and query medical data such as patient history in natural language.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add fhir-server-momentum --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- docker run -i --rm --init --mount 'type=bind,source=<your-project-path>/app,target=/root_project/app' --mount 'type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env' mcp-server:latest~/.codex/config.toml
[mcp_servers.fhir-server-momentum]
command = "docker"
args = ["run", "-i", "--rm", "--init", "--mount", "type=bind,source=<your-project-path>/app,target=/root_project/app", "--mount", "type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env", "mcp-server:latest"]
env = { BRAVE_API_KEY = "<BRAVE_API_KEY>", GITHUB_TOKEN = "<GITHUB_TOKEN>" }
# codex mcp add fhir-server-momentum --env BRAVE_API_KEY='<BRAVE_API_KEY>' --env GITHUB_TOKEN='<GITHUB_TOKEN>' -- docker run -i --rm --init --mount 'type=bind,source=<your-project-path>/app,target=/root_project/app' --mount 'type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env' mcp-server:latest~/.cursor/mcp.json
{
"mcpServers": {
"fhir-server-momentum": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"--mount",
"type=bind,source=<your-project-path>/app,target=/root_project/app",
"--mount",
"type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env",
"mcp-server:latest"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"fhir-server-momentum": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"--mount",
"type=bind,source=<your-project-path>/app,target=/root_project/app",
"--mount",
"type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env",
"mcp-server:latest"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"fhir-server-momentum": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"--mount",
"type=bind,source=<your-project-path>/app,target=/root_project/app",
"--mount",
"type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env",
"mcp-server:latest"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"fhir-server-momentum": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"--mount",
"type=bind,source=<your-project-path>/app,target=/root_project/app",
"--mount",
"type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env",
"mcp-server:latest"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"fhir-server-momentum": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--init",
"--mount",
"type=bind,source=<your-project-path>/app,target=/root_project/app",
"--mount",
"type=bind,source=<your-project-path>/config/.env,target=/root_project/config/.env",
"mcp-server:latest"
],
"env": {
"BRAVE_API_KEY": "<BRAVE_API_KEY>",
"GITHUB_TOKEN": "<GITHUB_TOKEN>"
}
}
}
}Environment variables
BRAVE_API_KEYGITHUB_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.