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.1.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.1.0
File Size Uploaded
ohdsi_prompt_registry-0.1.0.tar.gz 238.6 kB Details

Built distribution (wheel)

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

Total release size: 267.6 kB

Release files / ohdsi_prompt_registry-0.1.0.tar.gz

Download URL ohdsi_prompt_registry-0.1.0.tar.gz
Size 238.6 kB
Tags Source
SHA-256 checksum
How to use checksums
124bc9bfef774a579c9c305d3c50408cc12a0e1424c4a0b386d5afd5e66a0914
BLAKE2b-256 checksum
How to use checksums
7230cd515af2277e5b207c030b2e28e49480f5d13765105944af42eefd99dbaf
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 Sep 11, 2026.

Transparency log

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

Download URL ohdsi_prompt_registry-0.1.0-py3-none-any.whl
Size 29.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dc41c3dd012d9eb97a1131f245c549e906a5dc739bb3958ff367e60fce14883
BLAKE2b-256 checksum
How to use checksums
912ab80f26f3996929d269a1bfa735996592aab9faf49d895c2c2394d9d90a82
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 Sep 11, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.0

2 release files

This release

0.1.0 This release

2 release files

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