Weavz
Medplum

Medplum

FHIR-native healthcare data platform for patients, observations, diagnostic reports, service requests, medications, and care workflows.

6 tools
1 trigger
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
search_resource

Search one Medplum FHIR R4 resource type with explicit patient, identifier, code, status, or updated filters.

get_resource

Get one Medplum FHIR resource by exact resource type and ID.

create_resource

Create a Medplum FHIR resource from a provider-shaped JSON body.

update_resource

Replace a Medplum FHIR resource by resource type and ID.

patch_resource

Patch a Medplum FHIR resource with a JSON Patch array.

delete_resource

Delete one Medplum FHIR resource by exact resource type and ID.

Triggers

Name
resource_updated

Poll Medplum for resources updated after the trigger baseline. First poll records the baseline without emitting.

Quick Start

TypeScript
import { WeavzClient } from '@weavz-io/sdk'

const weavz = new WeavzClient({ apiKey: 'wvz_...' })

const result = await weavz.actions.execute('medplum', 'search_resource', {
  workspaceId: '550e8400-e29b-41d4-a716-446655440000',
  integrationAlias: 'medplum',
  input: { /* ... */ },
})

Related Integrations

Works well with

Frequently Asked Questions

How do I connect Medplum to my app?

Use Weavz Hosted Connect for Custom authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.

What tools does Medplum support?

Medplum supports 6 tools including Search FHIR Resource, Get FHIR Resource, Create FHIR Resource, Update FHIR Resource, Patch FHIR Resource, and more.

Can I use Medplum with AI agents?

Yes. Add Medplum to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.

How do I connect Medplum to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add Medplum as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Medplum tools exposed by that workspace.

Does Medplum work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Medplum work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with Medplum?

Medplum exposes 6 tools, including Search FHIR Resource, Get FHIR Resource, Create FHIR Resource, Update FHIR Resource, Patch FHIR Resource, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

Can Medplum be used in stateful agent workflows?

Yes. Agents can combine Medplum tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.

What authentication does Medplum use?

Medplum uses Custom. Weavz stores credentials securely and uses them for authorized action execution.

How much does the Medplum integration cost?

The Medplum integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.

What triggers does Medplum support?

Medplum supports 1 triggers including FHIR Resource Updated.

Connect Medplum in minutes

Get 20,000 free action executions every month. No credit card required.