Zlens MCP
MCP server by duckcode-ai-labs Verified · npm:@zlens
Connects Claude Code, Codex, Cursor and Claude Desktop to ZLens certified saved queries, semantic layer and governed analytics. Built for analysts and teams who want AI answers labeled by how far they can be trusted.
Install Zlens MCP
Built from the published package, never by AI.
claude mcp add zlens-mcp -- npx -y @zlens/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"zlens-mcp": {
"args": [
"-y",
"@zlens/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"zlens-mcp": {
"args": [
"-y",
"@zlens/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"zlens-mcp": {
"args": [
"-y",
"@zlens/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add zlens-mcp -- npx -y @zlens/mcp{
"mcpServers": {
"zlens-mcp": {
"args": [
"-y",
"@zlens/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add zlens-mcp npx -y @zlens/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
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 zlens-mcp block.
About
ZLens MCP is the built-in Model Context Protocol server of ZLens, a local, open-source workbench for governed analytics. It gives Claude Code, Codex, Cursor and Claude Desktop the same certified-first answers and trust labels that ZLens uses in its own workbench. When a question comes in, ZLens tries the most trusted source first: a certified saved query, then the semantic layer, then SQL written by AI that still needs review. If none of these can answer safely, it refuses and says why.
ZLens works on top of a dbt project or directly on database tables. Saved queries, notebooks and Apps are stored as files in git, so they can be reviewed like code. It can use a Claude or ChatGPT subscription, an API key or a local model through Ollama. The source says there is no ZLens account or hosted service and no usage telemetry.
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 for Ask, such as a Claude or ChatGPT subscription, an API key or a local Ollama model
Try asking
- Answer this revenue question using only certified saved queries
- Show which metrics and tables a previous answer was built from
- Trace where this number comes from in the lineage
Good to know
- Ask needs an AI model to be added in Settings, under AI provider
- The Docker demo keeps nothing after it is stopped
Security check
ANo 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 a warehouse
- Reviewing AI-written SQL before it is trusted
- Tracing metrics back to their source
Alternatives to Zlens MCP
All alternatives →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.
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.
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.
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.
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.
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.
Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data
Zlens MCP: common questions
Does ZLens MCP need an account?
No. The source says there is no ZLens account or hosted service, and no usage telemetry.
Which AI models can ZLens use?
The source lists a Claude or ChatGPT subscription, an API key for Anthropic, OpenAI, Gemini or any OpenAI-compatible endpoint, or a local model through Ollama.
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. Needs review means AI-written SQL, saved as a draft until someone certifies it.
How do I install Zlens MCP?
In Claude Code run claude mcp add zlens-mcp -- npx -y @zlens/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Zlens MCP the official server?
Zlens MCP is published by npm:@zlens from its verified domain in the official MCP Registry.
Is Zlens MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Zlens MCP safe to use?
It scores 70 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 Zlens MCP?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does Zlens 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.
