dremio-mcp-lite
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@dremio-mcp-lite preview the Customers table in the Sales source"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
dremio-mcp-lite
A TypeScript MCP (Model Context Protocol) server for Dremio data exploration. This tool enables AI assistants to interact with Dremio through a set of read-only operations.
Features
Fast Startup: Optimized for <1s startup time for VS Code stdio MCP
Read-Only Operations: Safe exploration of your Dremio data catalog
6 Core Tools:
catalog_browse: List sources, spaces, folders, and tablesschema_get: Get table schemassql_query: Execute SELECT queries (max 1000 rows)table_preview: Preview first 10 rows of a tablesearch_catalog: Find tables by nameexplain_query: Get query execution plans
Related MCP server: iceberg-mcp-server
Installation
npm install @guillaume-galp/dremio-mcp-liteConfiguration
Create a .env file in your project root:
DREMIO_URL=http://localhost:9047
DREMIO_PAT=your_personal_access_token_here
# SSL Configuration (optional)
# Set to 'false' to disable SSL certificate verification for self-signed certificates
# WARNING: Only use in development/testing environments
DREMIO_REJECT_UNAUTHORIZED=trueOr copy from the example:
cp .env.example .envSSL Certificate Configuration
When connecting to Dremio instances with self-signed SSL certificates (common in internal/corporate environments), you may encounter certificate verification errors. To disable SSL certificate verification:
Set
DREMIO_REJECT_UNAUTHORIZED=falsein your.envfileImportant: Only use this setting in development or testing environments
Never disable certificate verification in production environments
Example for self-signed certificates:
DREMIO_URL=https://dremio.internal.company.com:9047
DREMIO_PAT=your_personal_access_token_here
DREMIO_REJECT_UNAUTHORIZED=falseGetting a Dremio Personal Access Token
Log in to your Dremio instance
Go to Settings → Personal Access Tokens
Click "Create Token"
Copy the token and add it to your
.envfile
Usage
As an MCP Server
Add to your MCP client configuration (e.g., VS Code mcp.json):
{
"mcpServers": {
"dremio": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@guillaume-galp/dremio-mcp-lite"
],
"envFile": "${userHome}/.dremio-mcp.env",
"gallery": true
}
}
}Configuration Notes:
type: Must be"stdio"for standard input/output communication-y: Auto-confirms npx package installationenvFile: Path to your environment file containingDREMIO_URLandDREMIO_PATRecommended: Use
${userHome}variable:"${userHome}/.dremio-mcp.env"Windows absolute path:
"C:\\Users\\<YourUsername>\\.dremio-mcp.env"macOS/Linux absolute path:
"/Users/<YourUsername>/.dremio-mcp.env"or"/home/<YourUsername>/.dremio-mcp.env"Replace
<YourUsername>with your actual username
gallery: Optional, set totrueto show in MCP gallery
Or if installed globally:
{
"mcpServers": {
"dremio": {
"type": "stdio",
"command": "dremio-mcp-lite",
"envFile": "${userHome}/.dremio-mcp.env",
"gallery": true
}
}
}Available Tools
catalog_browse
Browse the Dremio catalog structure.
// List all sources
catalog_browse()
// Browse a specific path
catalog_browse({ path: ["source_name", "folder"] })schema_get
Get the schema definition of a table.
schema_get({ table_path: ["source", "schema", "table"] })sql_query
Execute SELECT queries (read-only).
sql_query({
sql: "SELECT * FROM source.schema.table WHERE id > 100",
max_rows: 500 // Optional, default 1000
})table_preview
Quick preview of table data (first 10 rows).
table_preview({ table_path: ["source", "schema", "table"] })search_catalog
Search for tables and datasets by name.
search_catalog({ search_term: "customer" })explain_query
Get the execution plan for a query.
explain_query({ sql: "SELECT * FROM source.schema.table" })Security
This MCP server implements several security measures:
Read-Only Operations: Only SELECT queries are allowed. All modifications (INSERT, UPDATE, DELETE, etc.) are blocked.
SQL Injection Protection: Table paths are properly escaped using SQL identifier quoting to prevent injection attacks.
Query Validation: SQL queries are validated to ensure they are SELECT statements, even when prefixed with comments or whitespace.
Personal Access Tokens: Uses Dremio PAT authentication stored securely in .env file (never commit .env to version control).
Development
Build
npm run buildRun Locally
npm startPublishing to npm
The package is automatically published to npm when a version tag is pushed:
Update the version in
package.json:npm version patch # or minor, or majorPush the tag to GitHub:
git push origin master --tagsOr if using the main branch:
git push origin main --tagsThe GitHub Actions workflow will automatically build and publish to npm
Prerequisites:
NPM_TOKENmust be configured in GitHub repository secretsThe token must have publish access to the
@guillaume-galpscope on npmjs.org
Requirements
Node.js >= 18
Access to a Dremio instance (default port: 9047)
Valid Dremio Personal Access Token
License
MIT
Available Tools
6 toolscatalog_browseB
Browse Dremio catalog to list sources, spaces, folders, and tables. Optionally provide a path to browse a specific location.
Inputs: path.
explain_queryB
Get the execution plan for a SQL query
Inputs: sql (required).
schema_getA
Get the schema of a specific table in Dremio
Inputs: table_path (required).
search_catalogC
Search for tables and datasets in the Dremio catalog by name
Inputs: search_term (required).
sql_queryA
Execute a SELECT query on Dremio. Returns up to 1000 rows. Read-only queries only.
Inputs: sql (required), max_rows.
table_previewB
Preview the first 10 rows of a table
Inputs: table_path (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a clearly distinct operation: catalog browsing, schema retrieval, arbitrary SQL, quick preview, catalog search, and query explanation. The only potentially overlapping pair is catalog_browse and search_catalog, but one navigates the hierarchy while the other searches by name, so they are easy to distinguish.
The naming is readable and consistently uses snake_case, but the verb placement is mixed: object-verb forms like catalog_browse, schema_get, and table_preview sit alongside verb-object forms like search_catalog and explain_query, and sql_query has no verb at all. This is not chaotic, but it does not follow a single predictable pattern.
Six tools is well-scoped for a read-only Dremio exploration and querying server. Each tool serves a distinct purpose without redundancy, and the count is comfortably within the ideal range.
The tool set covers the full read-only workflow: discovering data via browse/search, inspecting structure via schema, peeking at data via preview, running arbitrary queries, and understanding performance via explain. No obvious dead ends or missing essential operations exist for the stated purpose.
Maintenance
Related MCP Connectors
Draxlr's remote MCP server connects AI assistants to your SQL databases and dashboards. Explore schemas, run read-only queries, manage saved queries and dashboards, and export results, all with row-level security so each user sees only their own data.
Query, join, profile, clean and convert CSV/JSON/Parquet with server-side DuckDB over MCP.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Related MCP Servers
- AlicenseAqualityDmaintenanceA read-only MCP server for exploring and analyzing a Secoda data catalog, enabling AI chat, semantic search, glossary browsing, and data lineage tracing.12Apache 2.0
- AlicenseNot gradedqualityBmaintenanceMCP Server for Apache Iceberg, enabling users to read, query, and manipulate data within Iceberg catalogs.97 PyPI2Apache 2.0
- AlicenseAqualityDmaintenanceA read-only MCP server for browsing and querying SQL Server databases, providing tools to list schemas, tables, describe columns, and execute safe SELECT queries with validated parameters.15ISC
- FlicenseNot gradedqualityDmaintenanceA read-only MCP server for exploring and querying Oracle schemas safely. Provides tools for table listing, schema description, column search, and validated SELECT execution.2-