Hosted OMOP vocabulary releases for Groundworkers
Use a named OMOP vocabulary release directly from Groundworkers. OMOPHub maintains the vocabulary snapshots and serves the lookup, relationship and search requests. A team can reproduce a mapping from an older release and compare it with today's study release without downloading either snapshot, running migrations or rebuilding an embedding index.
For example, the active mapping of ICD-10-CM D3A.022 differs between OMOPHub releases 2024.2 and 2026.2:
| Release | Source OMOP ID | Active outgoing Maps to target IDs |
|---|---|---|
| 2024.2 | 45537907 | 760937 |
| 2026.2 | 45537907 | 1244590, 1345982 |
Install and connect
Use Python 3.12 or later and the Python environment that runs Groundworkers 0.11.x. From the directory containing this plugin’s pyproject.toml:
python -m pip install .
To install on another host directly from a reviewed commit, replace COMMIT_SHA with the full Git SHA containing this directory. Pinning the plugin commit and the vocabulary release records both pieces needed to repeat the lookup.
python -m pip install "groundworkers-omophub @ git+https://github.com/OMOPHub/groundworkers-omophub.git@COMMIT_SHA"
Set OMOPHUB_API_KEY using your credential manager and set a concrete release in the environment that starts Groundworkers. Use the numeric YYYY.N release identifier, such as 2026.2. Both variables must be present. A malformed release prevents the OMOPHub plugin from loading. The key’s permissions govern vocabulary access and quota. Get an API key · Available releases
export OMOPHUB_VOCAB_RELEASE=2026.2
groundworkers --describe
Restart an existing MCP session after changing its configuration. The sample configuration, runner and tests are included in the repository and source distribution. For a wheel installation, check out the matching source revision to use those examples. To try just the hosted tools with the empty SQLite configuration, run the following from that directory and connect the command as a stdio server in your MCP client.
groundworkers --config-path examples/demo.toml --transport stdio
Groundworkers still needs a host configuration to start. The nine omophub_ tools read vocabulary evidence from OMOPHub. Groundworkers' native tools use the site's configured resources. Match releases before combining results from both. Each hosted call sends the exact release in the query and header and verifies the server’s release header and any release returned in metadata. An unavailable release, access denial or release mismatch produces an error.
Compare a mapping across releases
With the host pinned to 2026.2, call omophub_compare_mappings:
{"vocabulary_id": "ICD10CM", "concept_code": "D3A.022", "baseline_release": "2024.2"}
The plugin resolves the source code independently in each release and follows every page of active outgoing Maps to and Maps to value edges. The result includes the verified release, source concept and typed target IDs for each snapshot. added and removed compare the pairs of relationship type and target concept ID. The comparison leaves the host's default pin in place for subsequent calls. If either source lookup fails or pagination is incomplete, the comparison reports an error. An empty edge list on a successful lookup means the source exists and has no active mapping of either type. Use this diff as evidence for review before changing a study definition.
Other tools
| Tool | Use |
|---|---|
omophub_by_code |
Resolve a vocabulary ID and code on the configured release. |
omophub_search |
Find exact names, synonyms or codes in one vocabulary and domain. |
omophub_relationships |
Inspect typed edges and their original direction. Supports inbound edges and pagination. |
omophub_descendants |
Page through active descendants within 20 levels. Inspect truncated for the 5,000-row cap. |
omophub_fhir_resolve |
Resolve a FHIR Coding to its source and standard OMOP concepts and destination CDM table. An unmapped sentinel has concept ID 0. |
omophub_fhir_resolve_codeable_concept |
Resolve alternate codings for one clinical idea. Keeps the selected result, alternatives and unresolved codings. |
omophub_semantic_search |
Rank a terminology phrase using hosted embeddings and vocabulary/domain filters. |
omophub_find_similar_concepts |
Rank neighbours by lexical, semantic or hybrid similarity. Results report the algorithm used. |
Only send terminology codes or de-identified terms. Queries go to the OMOPHub API and count against the configured key. A release pin identifies the vocabulary snapshot. Search models, ranking software and access rights can change independently.
Verify an installation
Run the offline contract tests from the plugin directory:
python -m unittest discover -s tests -v
With a configured API key, run the live checks through a stock Groundworkers stdio MCP host:
python examples/run_demo.py --suite omophub --release 2026.2 --output /tmp/omophub.json
python examples/run_demo.py --suite groundworkers --release 2026.2 --output /tmp/groundworkers.json
The first suite checks the two-release mapping diff, FHIR resolution, and hosted search. The second reproduces the published FOLFOX, family-history and ascending-colon cases. The runner returns 0 for a match, 1 for a reference difference and 2 for a case execution error. On 2026.2 the original oncology audit has a known reference difference: the published demo identifies 1077457 as a target of two benign carcinoid codes, while OMOPHub reports active targets 1244590 and 1345982. Groundworkers demo at the tested revision
Metadata
Release files for groundworkers-omophub 0.3.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 | Provenance | Actions |
|---|---|---|---|---|
| groundworkers_omophub-0.3.0.tar.gz | 19.7 kB | Without provenance | Details for groundworkers_omophub-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| groundworkers_omophub-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for groundworkers_omophub-0.3.0-py3-none-any.whl |
Total release size: 29.4 kB
Release files / groundworkers_omophub-0.3.0.tar.gz
| Download URL | groundworkers_omophub-0.3.0.tar.gz |
|---|---|
| Size | 19.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8361f4fbdd116387374a34fb3edf4ddc7da23c7ee23ab2353d425479f79f9d55
|
|
BLAKE2b-256 checksum How to use checksums |
f99841fea1c313d619e09c9d3678c5eda56cc6f8acc6c8e5f909657f9e36818f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / groundworkers_omophub-0.3.0-py3-none-any.whl
| Download URL | groundworkers_omophub-0.3.0-py3-none-any.whl |
|---|---|
| Size | 9.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03768f66115b54f25e7adf9b290963944aabf1fb8815b01a58883efdf0eef770
|
|
BLAKE2b-256 checksum How to use checksums |
3e54a788c812103e16e63d6c4be8c1ca015c1277048d0c260273035ad69b2f6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for groundworkers-omophub 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.