home / mcp / bauplan mcp server
Provides programmatic access to Bauplan lakehouse data and operations via the MCP API for local development.
Configuration
View docs{
"mcpServers": {
"bauplanlabs-bauplan-mcp-server": {
"url": "http://localhost:8000/mcp"
}
}
}The Bauplan MCP Server lets AI assistants interact with your Bauplan lakehouse by running queries, inspecting schemas, managing data branches, and orchestrating pipelines through a simple, open interface. It enables local development workflows where your assistant can help you explore and operate your data lakehouse efficiently.
You connect an MCP client (for example Claude Code, Claude Desktop, or Cursor) to the MCP server, then start asking questions about your data lakehouse. The server exposes actions for data exploration, schema inspection, branch and namespace management, table operations, pipeline actions, and general project-oriented tasks. Start a session with a clear prompt that guides the client on how to best leverage the server’s capabilities. Begin your interactions by using your client to query tables, inspect schemas, create or merge branches, and run data-related operations.
Prerequisites you need on your machine before installing the MCP server are a Python runtime and a way to run network services (such as uv or a Python virtual environment). You will also need an API key for Bauplan if you plan to access data lakehouse resources during development.
Option 1: Quick start using a Python virtual environment and editable install. This sets up a local development instance you can run and test right away.
python -m venv venv
source venv/bin/activate
pip install -e .List all tables in a given branch or namespace.
Retrieve the schema for all tables in a branch or namespace.
Get the schema for a specific table to inspect its structure.
Execute SELECT queries against tables to fetch data.
Run a query and export results to a CSV file.
List branches with optional filters to explore versions.
Show commit history for branches.
Create a new branch from a reference.
Check if a specific branch exists.
Merge branches with a commit message.
Delete a branch with safety checks.
List available namespaces within a branch.
Create a new namespace in a branch.
Verify if a namespace exists in a branch.
Remove a namespace from a branch.
List tags with optional filters.
Create a new tag from a reference.
Check if a tag exists.
Delete a tag.
Create a table from an S3 location using schema detection.
Generate a YAML import plan for a table from S3.
Apply a table creation plan to resolve schema conflicts.
Check if a table exists in a given branch.
Delete a table from a branch.
Import data into an existing table from S3.
Revert a table from a source to a target branch.
Run a Bauplan project from a directory and reference.
Run a Bauplan project from code provided as a dictionary.
List jobs with optional filters.
Get detailed information about a specific job.
Cancel a running job and check status.
Get information about the current authenticated user.
Get detailed instructions for specific Bauplan use cases.