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.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ohdsi_prompt_registry-0.2.0.tar.gz | 243.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ohdsi_prompt_registry-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 273.7 kB
Release files / ohdsi_prompt_registry-0.2.0.tar.gz
| Download URL | ohdsi_prompt_registry-0.2.0.tar.gz |
|---|---|
| Size | 243.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
081b06aaee811cabce9d5900c813684244976cdaacd6b4203b430e30d57211a4
|
|
BLAKE2b-256 checksum How to use checksums |
cf40878f61536482f6845244de42b4361c656fb790712a0e313465c9149089f7
|
| 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 logRelease files / ohdsi_prompt_registry-0.2.0-py3-none-any.whl
| Download URL | ohdsi_prompt_registry-0.2.0-py3-none-any.whl |
|---|---|
| Size | 30.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3c5506f666db7ff559dea9117bb9fac5de180847cf6c555f510ae6d53502fe7f
|
|
BLAKE2b-256 checksum How to use checksums |
614f4c5ab9c6aa210478740f5a1ba7f732960fe022063794af740066257c7761
|
| 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