NewMCP ServerView docs
Getting Started

Installation

Detailed installation instructions for Python, Node.js, and other platforms.

3 min readUpdated 2026-01-10

Installation

LH42 provides official SDKs for Python and JavaScript/TypeScript. Choose your preferred language below.

Python

Requires Python 3.8 or higher.

bash
pip install lakehouse42-sdk

For async support:

bash
pip install lakehouse42-sdk[async]

Node.js / TypeScript

Requires Node.js 18 or higher.

bash
npm install @lakehouse42/sdk
# or
yarn add @lakehouse42/sdk
# or
pnpm add @lakehouse42/sdk

Environment Variables

We recommend storing your API key as an environment variable:

bash
export LAKEHOUSE_API_KEY="your_api_key_here"

Then in your code:

python
from lakehouse42 import LakehouseClient
client = LakehouseClient()  # Automatically uses LAKEHOUSE_API_KEY

Docker

For containerized deployments:

dockerfile
FROM python:3.11-slim
RUN pip install lakehouse42-sdk
# Your application code

Verifying Installation

python
import lakehouse42
print(lakehouse42.__version__)  # Should print version number

Troubleshooting

SSL Certificate Errors: Ensure your system's CA certificates are up to date.

Import Errors: Make sure you're using the correct Python version.

Connection Timeouts: Check your firewall settings and network connectivity.