Detailed documentation to follow
- Clone the repo
- Run
uv sync
(for default setup with DuckDb support) oruv sync --extra mcp-postgres
depending on where your OMOP data is. - Copy
sample.env
to.env
and provide a SQLAlchemy compatible connection string to your database. - Setup tracing with Langfuse (See https://langfuse.com/self-hosting/docker-compose#get-started for local deployment using docker compose). Follow the docs to create public and secret keys and update the
.env
file usingsample.env
as a template. - Modify
config.toml
or preferably create a copy and name it toconfig.local.toml
. This is already gitignored. Set theCONFIG_FILE_PATH
variable in.env
to./config.local.toml
. This file is read bysrc/fastomop/config.py
and any structural changes to this file that require changes toconfig.py
must also be reflected in the defaultconfig.toml
. - Activate the virtual environment and run
uv run fastomop
or justfastomop
to use the CLI. API and UI versions to be implemented.