Metadata-Version: 2.4
Name: fhir-mcp-shared
Version: 0.1.0
Summary: Shared utilities for the fhir-mcp-suite monorepo (logging, LangFuse, base models, eval)
Project-URL: Homepage, https://github.com/pcmedsinge/fhir-mcp-suite
Project-URL: Repository, https://github.com/pcmedsinge/fhir-mcp-suite
Project-URL: Bug Tracker, https://github.com/pcmedsinge/fhir-mcp-suite/issues
Project-URL: Documentation, https://pcmedsinge.github.io/fhir-mcp-suite/
Project-URL: Changelog, https://github.com/pcmedsinge/fhir-mcp-suite/releases
Author-email: Parag Medsinge <pcmedsinge@gmail.com>
License: Apache-2.0
Keywords: eval,fhir,healthcare,langfuse,logging,mcp,pydantic
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Healthcare Industry
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Medical Science Apps.
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.12
Requires-Dist: langfuse>=3.0
Requires-Dist: pydantic-settings>=2.6
Requires-Dist: pydantic>=2.9
Requires-Dist: structlog>=24.4
Description-Content-Type: text/markdown

# fhir-mcp-shared

Internal shared utilities for the [fhir-mcp-suite](https://github.com/pcmedsinge/fhir-mcp-suite) monorepo.

Not published to PyPI. Used as a uv workspace dependency by `mcp-fhir`, `mcp-terminology`, and `mcp-clinical-reasoner`.

## Contents

- `logging.py` — structlog configuration (JSON + console renderers)
- `langfuse.py` — LangFuse v3 wrapper with graceful no-op degradation
- `models/` — shared Pydantic models (`FhirResource`, `ValidationReport`, etc.)
- `eval/` — golden-query eval harness (`EvalRunner`, `GoldenCase`, `EvalResult`)
