Skip to main content

Install the CLI

brew tap OleanderHQ/tap
brew install oleander-cli

Configure your API key

oleander configure --api-key <YOUR_API_KEY>
Get your API key from oleander settings.

Connect your agent

Add the oleander MCP server to your agent in one command:
claude mcp add --transport http oleander https://oleander.dev/mcp
When prompted, complete the OAuth flow to authorize access with your oleander account.
From here, pick a path:

Verify the connection

Ask your agent to confirm it’s connected:
“Are you connected to oleander? Who am I authenticated as?”
The agent will call oleander_whoami and return your organization context.

Load the sample dataset

Download the sample Iris dataset and load it into your lake:Download iris_dataset.parquet
oleander lake upload --file iris_dataset.parquet --table default.iris

Run your first query

Now ask your agent:
“What’s the average petal length in the iris dataset, broken down by species?”
The agent will call oleander_list_catalogs to find your tables, then oleander_query_lake to run the query - picking the right engine without you specifying it:
SELECT species, AVG(petal_length) AS avg_petal_length
FROM oleander.default.iris
GROUP BY species
ORDER BY avg_petal_length DESC;
From here, your agent can submit Spark jobs, trace lineage, investigate failures, and break down costs. See the MCP tools reference for the full list of what it can do.