Welcome to pymedplum!

pymedplum is an unofficial Python SDK for Medplum, providing a convenient interface for interacting with a Medplum server’s FHIR API. It is designed to be intuitive, robust, and fully typed.

This library allows you to:

  • Authenticate with a Medplum server.
  • Perform CRUD (Create, Read, Update, Delete) operations on FHIR resources.
  • Search for FHIR resources using powerful query parameters.
  • Execute GraphQL queries for complex data retrieval.
  • Work with fully-typed Pydantic models for all FHIR resources, providing excellent editor support and data validation.
  • Run an optional MCP server for agent-based workflows.

Start here

Core concepts

Advanced

Reference

Help


PyMedplum is an independent Python client and is not affiliated with, endorsed by, or sponsored by Orangebot, Inc., the makers of Medplum (upstream repo). “Medplum” is a product and trademark of Orangebot, Inc. “FHIR” is a registered trademark of Health Level Seven International. Use of these names here is purely descriptive.

Built and maintained by Kinstead Health.