Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Dql MCP

MCP server by duckcode-ai Verified · npm:@duckcodeailabs

Exposes the certified saved queries, semantic layer, lineage and governance of the ZLens workbench to AI assistants over MCP. It is for analysts and data teams who want each answer labeled by how trustworthy its source is.

  • Score 75
  • 2 stars
  • 143 a week
  • Apache-2.0
  • Updated

Install Dql MCP

Built from the published package, never by AI.

claude mcp add dql-mcp -- npx -y @duckcodeailabs/dql-mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Dql MCP in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the dql-mcp block.

About

The DQL MCP server is built into ZLens, a local, open-source workbench for governed analytics. ZLens works on top of a dbt project or directly on a database's tables. Its MCP server gives Claude Code, Codex, Cursor and Claude Desktop the same certified-first answers and labels as the workbench. When a question is asked, ZLens tries the most trusted source first: a certified saved query, then the semantic layer, then SQL written by AI that needs review. If none of these can answer safely, it refuses and says why.

Saved queries, notebooks and Apps are stored as files in your repo, so they can be diffed, reviewed and versioned like code. ZLens reads dbt manifests, semantic models and profiles. The source says it runs locally with no ZLens account, no hosted service and no usage telemetry. Users can connect a Claude or ChatGPT subscription, an API key, or a local model through Ollama. It suits data teams that want trust labels on AI-generated answers.

Written from the project's README and checked against it.

What you need

  • Node.js 20, 22, 24 or 26
  • Python 3.9 to 3.14
  • git
  • An AI model: a Claude or ChatGPT subscription, an API key, or Ollama

Try asking

  • Ask my warehouse for the top 10 customers by lifetime spend.
  • Show which certified saved query answers this question and who owns it.
  • Trace where this revenue metric comes from in the lineage.

Good to know

  • Ask needs an AI model added under Settings, then AI provider.
  • Some older videos use the label Governed, which is now From Metrics.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Getting certified answers from AI assistants
  • Checking which source an analytics answer used
  • Reviewing data work in git
  • Tracing metrics back to their source

Alternatives to Dql MCP

All alternatives →
World Monitor koala73
98

World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.

ACA Remote 91k
Power BI Authoring MCP Server (Local) microsoft
95

Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.

AAA Local 9.7k/wk
Seal Open Data ariacom
95

Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.

AAA Remote 1.7k
OpenMetadataopen-metadata
94

OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.

AAA Remote 16k
Flint Chart MCP microsoft
94

Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.

AAA Local 4.6k
PostHog PostHog
94

Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.

AFA Remote 41k

Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data

Dql MCP: common questions

Which AI assistants can use this MCP server?

The source says the built-in MCP server works with Claude Code, Codex, Cursor and Claude Desktop.

Does ZLens send usage data anywhere?

The source says ZLens needs no account, uses no hosted service and sends no usage telemetry.

What do the trust labels mean?

Certified means a reviewed saved query ran exactly as certified. From Metrics means it was built from approved metrics, and Needs review means AI-written SQL saved as a draft.

How do I install Dql MCP?

In Claude Code run claude mcp add dql-mcp -- npx -y @duckcodeailabs/dql-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Dql MCP the official server?

Dql MCP is published by npm:@duckcodeailabs from its verified domain in the official MCP Registry.

Is Dql MCP free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Dql MCP safe to use?

It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Dql MCP?

Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.

Does Dql MCP work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Dql MCP Install

Add to stack

Loading.