MCP server for LakeXpress — automated database-to-cloud data pipeline as Parquet
A Model Context Protocol (MCP) server for LakeXpress — a database to Parquet export tool with sync management and data lake publishing.
pip install -e ".[dev]"
Add to your Claude Code MCP settings:
{
"mcpServers": {
"lakexpress": {
"command": "python",
"args": ["-m", "src.server"],
"cwd": "/path/to/lakexpress-mcp",
"env": {
"LAKEXPRESS_PATH": "/path/to/LakeXpress",
"LAKEXPRESS_TIMEOUT": "3600",
"LAKEXPRESS_LOG_DIR": "./logs",
"FASTBCP_DIR_PATH": "/path/to/FastBCP/"
}
}
}
}
Or using the installed entry point:
{
"mcpServers": {
"lakexpress": {
"command": "lakexpress-mcp",
"env": {
"LAKEXPRESS_PATH": "/path/to/LakeXpress",
"FASTBCP_DIR_PATH": "/path/to/FastBCP/"
}
}
}
}
preview_commandBuild and preview any LakeXpress CLI command without executing it. Supports all 14 subcommands with full parameter validation.
execute_commandExecute a previously previewed command. Requires confirmation: true as a safety mechanism.
validate_auth_fileValidate that an authentication file exists, is valid JSON, and optionally check for specific auth_id entries.
list_capabilitiesList all supported source databases, log databases, storage backends, publishing targets, compression types, and available commands.
suggest_workflowGiven a use case (source DB type, storage destination, optional publish target), suggest the full sequence of LakeXpress commands with example parameters.
get_versionReport the detected LakeXpress binary version and capabilities.
# 1. Initialize the log database (first-time setup)
LakeXpress logdb init -a auth.json --log_db_auth_id export_db
# 2. Create a sync configuration
LakeXpress config create -a auth.json --log_db_auth_id export_db \
--source_db_auth_id prod_db --source_schema_name sales \
--output_dir ./exports --compression_type Zstd
# 3. Execute the sync
LakeXpress sync --sync_id <sync_id>
# 4. Check status
LakeXpress status -a auth.json --log_db_auth_id export_db --sync_id <sync_id>
| Variable | Default | Description |
|---|---|---|
LAKEXPRESS_PATH | ./LakeXpress | Path to the LakeXpress binary |
LAKEXPRESS_TIMEOUT | 3600 | Command execution timeout in seconds |
LAKEXPRESS_LOG_DIR | ./logs | Directory for execution logs |
FASTBCP_DIR_PATH | (empty) | Path to FastBCP binary directory (auto-fills fastbcp_dir_path parameter) |
LOG_LEVEL | INFO | Logging level (DEBUG, INFO, WARNING, ERROR) |
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
python -m pytest tests/ -v
# Run with coverage
python -m pytest tests/ -v --cov=src --cov-report=term-missing
MIT
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx lakexpress-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-arpe-io-lakexpress-mcp": {
"command": "uvx",
"args": [
"lakexpress-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencelakexpress-mcppypiio.github.arpe-io/lakexpress-mcp works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.