Skip to main content

OHDSI Prompt Registry

The OHDSI Prompt Registry makes reviewed prompt workflows discoverable through Groundworkers MCP. A pack can publish instructions, JSON Schemas, examples, deterministic Markdown rendering, and an optional user-facing MCP prompt.

To see what is available before choosing a workflow:

Call ohdsi_prompt_registry_catalogue with:

{}

The response lists each active pack, its scope, tags, source, documents, schemas, prompts, renderers, and advertised tool dependencies. Filter by a tag when the catalogue is large:

Call it with a tag filter:

{"tags": ["concept-mapping"]}

Then inspect the pack’s manifest and instructions. A resource-capable client can read the URIs returned in the catalogue. A client without resource browsing can ask for links:

Call ohdsi_prompt_registry_links with:

{"pack": "omop-concept-grounding"}

The registry also exposes a small, stable tool surface:

Tool Use it for
ohdsi_prompt_registry_catalogue Find packs by scope or tag.
ohdsi_prompt_registry_links Get the manifest, documents, and schemas for one pack.
ohdsi_prompt_registry_validate Check a request or result against a pack schema.
ohdsi_prompt_registry_render Turn a valid document into a human-readable Markdown review.
ohdsi_prompt_registry_status See active packs, rejected packs, overrides, and missing tool dependencies.

Declared workflows appear in the MCP prompt list. Current examples include:

rqt_structure_question   # bundled research-question workflow
ocg_ground_concepts      # installed concept-grounding workflow
gdc_classify_fields      # filesystem Groundcrew workflow
gsc_classify_columns     # filesystem Groundcrew workflow

Invoke a prompt by its published name. Prompt arguments are strings; JSON inputs are passed as JSON text:

Call ocg_ground_concepts with:

{
  "mapping_request": "{\"items\":[{\"item_id\":\"dx-1\",\"label\":\"Type 2 diabetes mellitus\"}]}"
}

For a workflow that returns a JSON document, validate it before treating it as an operational handoff:

Call ohdsi_prompt_registry_validate with:

{
  "pack": "omop-concept-grounding",
  "schema": "mapping_decision",
  "document": "{...}"
}

The instructions in each pack state which schemas and domain tools apply. The registry supplies the current schema at read time, so the instructions and contract do not need to be kept in separate prompt copies.

Documentation

Full documentation: https://AustralianCancerDataNetwork.github.io/ohdsi-prompt-registry

  • Pack sources — bundled, installed, and filesystem packs, and which one wins when two packs share a name.
  • Pack format — the manifest contract every source uses, and how to extend a pack safely.
  • Development — the local loop, versioning, and the release process.

Development

uv sync --all-extras --dev
uv run ruff check .
uv run ty check src/
uv run pytest -q

Enable the uv.lock sync hook once per clone:

git config core.hooksPath .githooks

Contribution and labelling rules are in .github/CONTRIBUTING.md.

Metadata

Release files for ohdsi-prompt-registry 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ohdsi-prompt-registry 0.3.0
File Size Uploaded Provenance
ohdsi_prompt_registry-0.3.0.tar.gz 243.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ohdsi-prompt-registry 0.3.0
File Interpreter ABI Platform
ohdsi_prompt_registry-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 273.7 kB

Release files / ohdsi_prompt_registry-0.3.0.tar.gz

Download URL ohdsi_prompt_registry-0.3.0.tar.gz
Size 243.0 kB
Tags Source
SHA-256 checksum
How to use checksums
672a2639482e1d16921c24784d1f3c5899370105e61a40a927a85a5705e7bc96
BLAKE2b-256 checksum
How to use checksums
a543ab11f2911e0477fec86f38af31d527d30a0cbfca480d24828459510ec4ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Release files / ohdsi_prompt_registry-0.3.0-py3-none-any.whl

Download URL ohdsi_prompt_registry-0.3.0-py3-none-any.whl
Size 30.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee664319e93249782de3b17e1dbe571e57092e23993e3297605a0061732d109d
BLAKE2b-256 checksum
How to use checksums
291118a079ba56b026ef1f4de1a978c40d6f1539d3fab6479d644c224ee1249c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

Security for ohdsi-prompt-registry 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ohdsi_prompt_registry-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page