1. Conduid
  2. Healthcare
  3. Dql
MCP server · Healthcare

Dql

DQL MCP server: expose certified blocks, semantic layer, lineage, and governance to LLM agents via the Model Context Protocol

Unclaimed healthcare
44Fair

Scored 22 hours ago · breakdown

About Dql

Dql is an MCP server published by duckcode-ai-labs in the Healthcare category: dQL MCP server: expose certified blocks, semantic layer, lineage, and governance to LLM agents via the Model Context Protocol. Conduid read 53 tools from its source: answer_question, approve_hint, ask_dql, build_block_from_prompt, build_dql_app, build_dql_block and 47 more. It is published to npm as @duckcodeailabs/dql-mcp, a package with no command-line entry point.

The duckcode-ai-labs/zlens monorepo this package is published from has 2 stars and 0 forks, and its last commit was on 3 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include healthcare.

Install

npm
npm install @duckcodeailabs/dql-mcp
From source
git clone https://github.com/duckcode-ai-labs/zlens

Tools (53)

answer_questionGoverned one-shot answer. Runs DQL's OWN governed cascade (certified block → semantic metric → generated SQL) end-to-end and returns the executed answer with rows, SQL preview, canonical trust label, citations, and a reviewable draft — the SAME engine and trust guards as the DQL UI. Use this when you want DQL to generate AND answer for you. Prefer query_via_metadata when you want to author the SQL yourself. Requires the ZLens runtime (the workbench `zlens notebook` starts) with an AI model set up in ZLens; without one it returns modelUnavailable and you answer through ask_dql → query_via_block or query_via_metadata instead.
ParameterTypeDescription
analysisDepthstringOptional retrieval/analysis depth.
audiencestringAnswer audience. Default analyst.
domainstringPin the business domain the question is read in; the runtime resolves it into an envelope (descendants and certified imports admitted, siblings excluded).
modelAreaIdstringFocus a model area inside the domain.
purposestringApproved purpose for a cross-domain import, when the domain requires one.
question *stringBusiness or analytics question to answer.
reasoningEffortstringOptional model effort (host ceilings still apply).
requestedModestringRouting mode. Default auto (let the cascade decide).
serverUrlstringBase URL of the local DQL runtime. Default http://127.0.0.1:3474.
skillRefsarraySkills to select for this question (only eligible skills apply).
threadIdstringContinue a persisted conversation thread.
approve_hintEvaluate and approve, or reject, a candidate correction hint. Approval fails closed on stale/unsafe evidence and is the only path that makes a scoped hint usable.
ParameterTypeDescription
decision *stringApprove or reject the candidate hint.
hintId *stringId of the candidate hint to review.
notestringReview evidence note. Required for v3 approval on MCP because MCP has no local SQL executor.
reviewer *stringWho is reviewing.
ask_dqlHigh-level governed ask router. Use first for business questions. Returns certified-vs-generated route, contextPackId, exact block candidate, allowed SQL context, missing context, trust status, and next safe DQL tool.
ParameterTypeDescription
domainstringPin the business domain the question is read in; the runtime resolves it into an envelope (descendants and certified imports admitted, siblings excluded).
focusObjectKeystringOptional metadata object key to bias retrieval.
limitnumberMaximum metadata objects in the context pack. Default 100.
modelAreaIdstringFocus a model area inside the domain.
purposestringApproved purpose for a cross-domain import, when the domain requires one.
question *stringBusiness or analytics question to route through governed DQL context.
skillRefsarraySkills to select for this question (only eligible skills apply).
build_block_from_promptGoverned saved query (block) builder from a natural-language prompt. Runs DQL's buildFromPrompt (the same governed engine the UI uses) to draft a reusable, review-required DQL block — you do NOT author SQL. Symmetric with build_dql_app. Returns the draft path, generated SQL, and the Certifier verdict; NEVER auto-certifies. Requires the ZLens runtime (the workbench `zlens notebook` starts) with an AI model set up in ZLens; without one it returns modelUnavailable — then write the SQL yourself and save it with suggest_block.
ParameterTypeDescription
blockPathstringRequired for mode=edit: the block file to modify.
modestringCreate a new draft, or edit an existing block in place. Default create.
ownerstringOwner identity to stamp on the draft.
prompt *stringWhat the block should compute, e.g. "weekly revenue by region".
serverUrlstringBase URL of the local DQL runtime. Default http://127.0.0.1:3474.
build_dql_appStart a new App from a description as an App Studio draft. Picks certified data (Datasets, Metrics, saved queries) for the request, lists questions no certified data covers, and returns the draft id, a link that opens it in App Studio at the Data step (openUrl when the workbench is running, always openPath) and the picked sources with reasons. Writes no App files: the user checks the data, builds the pages and publishes in App Studio. saveDraft=false returns the picks only. Never certifies or publishes. Use list_apps to see existing Apps.
ParameterTypeDescription
aiLayoutbooleanIgnored. App Studio lays out the pages when the user builds them.
blocksarrayCertified block names to use as the App data, exactly (from search_blocks). Default: certified data is picked for the prompt.
domainstringOptional business domain; the App draft keeps it and picks data from it.
namestringApp name. Default: derived from the prompt. The App id is derived from it.
overwritebooleanIgnored. Each call creates a new App Studio draft; nothing is overwritten.
ownerstringIgnored. The owner is set when the App is published from App Studio.
prompt *stringWhat the App is for, e.g. "beverage performance for the growth team". It becomes the App goal in App Studio.
saveDraftbooleanCreate the App Studio draft. Default true; false returns the picked data only.
build_dql_blockDeprecated alias of suggest_block (identical behavior, kept for backward compatibility) — prefer suggest_block. Writes a proposed block to the local draft queue with governance results. Does not certify automatically.
ParameterTypeDescription
chartTypestringOptional visualization type.
description *stringOne-line description.
domain *stringBusiness domain.
name *stringProposed block name.
owner *stringBlock owner identity.
sql *stringThe block body SQL.
tagsarray
certifyCheck a saved query (block) against the certification rules and report pass/fail with the blocking rules. With the workbench running it runs the same check as the Saved queries page (owner, compile, run, tests); otherwise it checks the declared metadata only and says tests were not run. Changes nothing: a person certifies in Saved queries or with `zlens certify --from-draft`.
ParameterTypeDescription
name *stringBlock name to evaluate, as shown by search_blocks.
serverUrlstringBase URL of the local DQL runtime for the full check. Default http://127.0.0.1:3474.
check_compatibilityCheck whether governed metrics can be grouped by the requested dimensions. Returns the compatible dimensions and, for each incompatible one, WHY (no_join_path, one_to_many_only, not_shared_across_metrics, metric_unresolved; one_to_many_only means the only path walks a join one-to-many, which would repeat each metric value, so no governed query can group by it). Call this before compile_semantic_query when a question asks for a breakdown, and use the compatible list to pick an alternative instead of giving up.
ParameterTypeDescription
dimensionsarrayOptional dimensions to check. Omit to list everything the metric set can be sliced by.
limitnumberMax compatible dimensions to return. Default 25.
metrics *arrayGoverned metric names, exactly as returned by search_semantic_layer.
compile_semantic_queryCompile a governed SQL query from EXPLICIT semantic members (metrics + dimensions + optional time grain/filters). This is the governed path: the compiler validates every member and joins tables via the semantic graph. Prefer this over hand-written SQL whenever the semantic layer covers the question. Returns compiled SQL, or a refusal reason (e.g. a member that does not exist or an uncomposable metric×dimension pair) so you can adjust and retry.
ParameterTypeDescription
dimensionsarraySemantic dimension names to group by.
filtersarray
limitnumber
metrics *arraySemantic metric names (from search_semantic_layer).
orderByarray
timeDimensionobject
describe_datasetDescribe one current approved governed App Dataset by exact sourceId, including its approved fields, measures, parameters, lifecycle, and trust. This does not execute SQL.
ParameterTypeDescription
serverUrlstringOptional local DQL runtime base URL.
sourceId *stringExact governed Dataset source id returned by list_datasets.
describe_notebook_datasetDescribe one local/project/staged notebook dataset including schema, bounded profile, freshness, lineage, and trust. Does not return raw rows.
ParameterTypeDescription
id *string
execute_generated_sqlExecute generated SQL as a bounded, uncertified preview. Use only after inspecting DQL/DBT/semantic context and only for read-only SELECT/WITH analysis.
ParameterTypeDescription
sql *stringRead-only SQL to execute as a bounded, uncertified preview. ZLens will add safety limits.
execute_local_analysisExecute bounded read-only SQL in the notebook DuckDB workspace over imported or staged datasets. Results are always review-required and never certified.
ParameterTypeDescription
sql *string
expand_contextRepair-loop context expander. Use after inspect_metadata_context or query_via_metadata reports an allowed-context gap for a known catalog/runtime relation. It creates a new contextPackId with the requested relation(s), so the agent can retry query_via_metadata without starting over or inventing uninspected SQL.
ParameterTypeDescription
contextPackId *stringExisting context-pack id returned by ask_dql or inspect_metadata_context.
questionstringOptional refined question used in expansion notes. Defaults to the original context-pack question.
relations *arrayRelations to add to the context pack, such as dev.supplies or SHOP.ANALYTICS.supplies.
explain_metricRead a governed metric's definition: its expression, aggregation, backing table, filters, owner, and description. Use it to answer what a metric MEANS, and to tell two similarly named metrics apart, without running a query.
ParameterTypeDescription
metric *stringMetric name exactly as returned by search_semantic_layer.
explain_relationship_proofInspect one DQL analytical relationship including exact keys, cardinality, fanout, validation evidence, stale status, and cross-domain import/export proof.
ParameterTypeDescription
relationshipId *stringManifest-v3 relationship id.
feedback_recordRecord thumbs-up/down feedback for local answer-quality review. Feedback does not create or promote a hint and never upgrades generated output to certified.
ParameterTypeDescription
answerKind *stringHow the answer was classified.
blockIdstringBlock id the answer was anchored to, if any.
commentstringOptional free-text rationale.
question *stringOriginal question.
rating *stringThumbs up or down.
user *stringUser who submitted the feedback.
fetchRead a page
ParameterTypeDescription
id *string
get_blockReturn full metadata, dependencies, and SQL for a saved query (block).
ParameterTypeDescription
includeSourcebooleanInclude full .dql source text. Default true.
name *stringBlock name as shown in search_blocks.
get_table_schemaReturn the qualified relation, ref form, real columns and types, inferred join keys, and governed relationships for a table (a dbt model, or a warehouse relation in a project without dbt) by name, alias, or qualified relation.
ParameterTypeDescription
table *stringModel name, alias, or qualified relation.
inspect_dql_projectFront-door project health/context tool for MCP clients. Refreshes metadata/index by default and returns block, app, dashboard, semantic, catalog, and recommended-next-step status, plus the certified blocks with their grains. Next step: ask_dql with the user's question.
ParameterTypeDescription
refreshbooleanRefresh metadata and agent index before returning status. Default true.
inspect_metadata_contextBuild the local SQLite metadata context pack for a question. Use before Tier-2 SQL generation to inspect certified blocks, semantic metrics, DQL terms/views, dbt/warehouse objects, lineage edges, diagnostics, selected evidence, rejected candidates, and trust labels.
ParameterTypeDescription
focusObjectKeystringOptional object key, such as dql:block:Revenue or semantic:metric:revenue.
includeDiagnosticsbooleanReturn the full retrieval diagnostics and every object payload (large; for debugging retrieval). Default false: a compact pack with everything needed to write SQL.
limitnumberMaximum selected objects in the context pack. Default 100.
objectTypesarrayOptional metadata object type filter.
question *stringUser question to ground in the local SQLite metadata catalog.
strictnessstringRetrieval depth. Use exploratory for deep research; it widens context when limit is omitted.
inspect_runtime_schemaInspect runtime table and column context for an arbitrary analytics question. Use this before writing new SQL when no certified block directly answers the question.
ParameterTypeDescription
question *stringThe user question or analytical task to inspect schema for.
kg_searchSearch the DQL knowledge graph across business terms, business views, blocks, apps, dashboards, notebooks, semantic objects, and dbt/source metadata.
ParameterTypeDescription
domainstringFilter to a single business domain.
kindsarrayOptional KG node-kind filter.
limitnumberMax hits. Default 10.
query *stringNatural-language or keyword query.
lineage_impactReturn upstream/downstream lineage for a block, metric, or model.
ParameterTypeDescription
downstreamDepthnumber
edgeLimitnumberMaximum lineage edges to return. Default 120.
focus *stringNode id, such as block:revenue, or a bare name.
nodeLimitnumberMaximum lineage nodes to return. Default 80.
nonSemanticbooleanWith recert, treat the change as non-semantic.
pathLimitnumberMaximum complete paths per direction when paths=true. Default 20.
pathsbooleanInclude full source-to-leaf paths.
recertbooleanReturn re-certification impact for a changed block.
upstreamDepthnumber
list_appsList the Apps (dashboards) in this project with their dashboards and tiles: each tile's title, the block it runs, that block's certification status, and the trust label the tile carries. Read-only; runs no query.
ParameterTypeDescription
querystringOptional text matched against App id, name, description, domain, and tags.
list_datasetsList current approved governed App Datasets available to the local Dataset runtime (warehouse tables approved for App tiles). Returns source identity, capability, lifecycle, and trust metadata only; it does not execute SQL. Not the way to answer a business question: call ask_dql for that. An empty list does not mean the project has no governed answers; when it has certified blocks or semantic metrics, the result says so with nextTool ask_dql.
ParameterTypeDescription
querystringOptional title or domain search text.
serverUrlstringOptional local DQL runtime base URL.
list_dimensionsList semantic-layer dimensions, optionally filtered by domain.
ParameterTypeDescription
domainstringFilter to a single domain.
list_hintsList scoped correction hints, optionally filtered by lifecycle status, domain, or metric. Approved hints are folded into future Tier-2 drafts after certified routing.
ParameterTypeDescription
domainstringFilter to a single domain scope.
metricstringFilter to a single metric scope.
statusstringFilter by lifecycle status.
list_metricsList semantic-layer metrics, optionally filtered by domain.
ParameterTypeDescription
domainstringFilter to a single domain.
list_notebook_datasetsList imported and staged notebook datasets using metadata only. Use before proposing local or mixed-source analysis. Never returns complete file contents.
list_notebooksList the notebooks in this project with their cells (markdown text and SQL/DQL source). Pass path to read one notebook in full. Read-only; runs no cell.
ParameterTypeDescription
pathstringOptional notebook path relative to the project, e.g. notebooks/welcome.dqlnb, to return only that notebook with full cell text.
querystringOptional text matched against notebook path, title, and description.
list_proposalsList Tier-2 block drafts, semantic metric drafts, and semantic recertification proposals ordered by askedTimes DESC. Use this to prioritize recurring questions and composted metrics for certification.
ParameterTypeDescription
askedAtLeastTimesnumberFilter to drafts asked at least N times. Default 1.
sincestringISO 8601 timestamp; only return drafts whose last_asked is on or after this.
preview_queryRun candidate SQL against the real warehouse with a small row limit and get back the COLUMN NAMES it produced, plus whether it executed. Use this to confirm a query compiles and to learn the exact output column names before composing the final answer. Returns no cell values.
ParameterTypeDescription
sql *stringA single read-only SELECT or WITH statement.
preview_tile_queryValidate a typed TileQuery against one current governed App Dataset before execution. The server resolves source identity and approved capability; SQL and client trust claims are not accepted.
ParameterTypeDescription
parametersobjectOptional values for parameters declared by this Dataset only.
query *any
serverUrlstringOptional local DQL runtime base URL.
sourceId *stringExact governed Dataset source id returned by list_datasets.
propose_cross_source_joinCompare dataset schemas and propose join keys/cardinality warnings. If multiple plausible keys or a many-to-many risk exists, returns clarificationRequired=true instead of guessing.
ParameterTypeDescription
left *string
right *string
query_certified_blockExecute a certified DQL block by name through the local governed runtime. Use this when a certified block exactly answers the question.
ParameterTypeDescription
limitnumberMaximum rows to return in the tool result. Default 200.
name *stringCertified DQL block name to execute.
parametersobjectExplicit typed values for the certified block parameters.
questionstringOriginal user question used to resolve typed block parameters.
query_datasetExecute a typed TileQuery through the same governed App Dataset runtime used by App Builder. Returns current result, trust, and source/query/target receipt fingerprints. It creates no App, draft, story, or publication evidence.
ParameterTypeDescription
parametersobjectOptional values for parameters declared by this Dataset only.
query *any
serverUrlstringOptional local DQL runtime base URL.
sourceId *stringExact governed Dataset source id returned by list_datasets.
query_semantic_modelSemantic-layer compiler and bounded preview runner. Use only after ask_dql returned no certified block, when a governed metric/dimension/time-grain selection can answer the question before deep dbt/warehouse SQL search. When a certified block already answers the requested metric and grain, the result names it under certifiedBlock with nextTool query_via_block. Accepts explicit semantic members or a question, returns selected members, compiled SQL, bounded preview rows when runtime execution is available, and a reviewable DQL semantic artifact. Labelled From Metrics when every join it takes is a certified relationship (or it takes none), AI-Generated when a join is a draft or unmodeled relationship (relationshipProof lists the joins). uncertified: true means no certified block backs the result, not that it is AI-generated; report trustLabelInfo.display.
ParameterTypeDescription
dimensionsarraySemantic dimensions to group by.
driverstringOptional SQL driver/dialect hint, such as duckdb, snowflake, bigquery, or postgres.
dryRunbooleanReturn the semantic DQL artifact and compiled SQL without runtime execution. Default false.
filtersarrayOptional semantic filters to compile through the semantic layer.
limitnumberOptional result limit for the compiled semantic query.
metricsarraySemantic metric names to compile. When supplied, these are used directly instead of question-based member selection.
orderByarrayOptional semantic order by clauses.
parametersobjectExplicit values for the certified block's declared runtime parameters. Values may not alter metrics, dimensions, joins, or output shape.
questionstringBusiness question to map to semantic-layer members when metrics are not supplied explicitly.
rowLimitnumberMaximum rows returned from bounded preview execution. Default 200. Does not change the semantic query limit.
saveDraftbooleanPersist the generated semantic DQL artifact to blocks/_drafts for review. Default true.
serverUrlstringBase URL of the local DQL runtime for preview execution. Default http://127.0.0.1:3474.
tableMappingobjectOptional mapping from semantic table names to physical database relations.
timeDimensionobjectOptional semantic time dimension and granularity such as {name:"order_date", granularity:"month"}.
query_via_blockTier-1 of graduated trust. Execute a certified saved query (block) against the local DQL runtime when the block grain exactly answers the user question. For named-entity filters, custom rankings, breakdowns, comparisons, or drill-throughs, use the block as context and call query_via_metadata instead.
ParameterTypeDescription
limitnumberMax rows to return. Default 200.
name *stringCertified block to execute.
parametersobjectTyped runtime parameter values resolved from the question, prior result, or an explicit user input.
questionstringOriginal question. Enables a defense-in-depth grain gate before serving the block.
serverUrlstringBase URL of the local DQL runtime. Default http://127.0.0.1:3474.
query_via_metadataTier-2 of graduated trust. Use when no certified block exactly answers the requested grain, including named filters, rankings, breakdowns, comparisons, anomalies, and drill-throughs. Call inspect_metadata_context first and pass its contextPackId. If proposedSql is omitted, this returns the catalog route plan and allowed SQL context. If proposedSql is supplied, it must be one read-only SELECT/WITH query using only inspected relations/columns. The runtime executes a bounded preview, returns uncertified trust evidence, and saves a reviewable DQL draft.
ParameterTypeDescription
contextPackIdstringContext-pack id returned by inspect_metadata_context.
dryRunbooleanReturn proposal only without execution. Default false.
followUpobject
intentstringOptional deep-research intent.
limitnumberMax rows to return on execution.
outputsarrayDeclared output column names returned by the proposed SQL and written into the DQL draft.
proposedDomainstringBest guess at the DataLex domain that owns this question.
proposedEntitystringBest guess at the owning entity, such as Customer.
proposedSqlstringRead-only SELECT/WITH SQL inferred from inspected metadata context.
question *stringThe user question being answered, verbatim.
regroundAttemptsUsednumberNumber of expand_context re-ground attempts already used for this query. Pass 1 when retrying with an expanded context pack.
saveDraftbooleanPersist a draft .dql file. Default true.
serverUrlstringBase URL of the local DQL runtime. Default http://127.0.0.1:3474.
upstreamRefsarrayTables or blocks involved in the proposed SQL.
record_correctionCapture an analyst correction of a Tier-2 generated answer as a scoped, Git-versioned candidate hint. The hint is not used until approved.
ParameterTypeDescription
anchorObjectKeystringContext pack, block, or object id the correction anchored to.
authorstringWho recorded the correction.
correctedSqlstringCanonical corrected SQL. Required before a dbt-first v3 candidate can be approved.
correction *stringThe analyst correction: corrected SQL, rule, or guidance.
hintGuidancestringOverride the hint guidance.
hintTitlestringOverride the derived hint title.
lessonobjectStructured reusable experience. The approved rule remains advisory to current governed truth.
question *stringThe analyst question the Tier-2 answer was for.
rationalestringWhy the original answer was wrong.
scope *any
tagsarraySearchable keywords.
wrongAnswer *stringThe generated answer or SQL that was wrong.
resolve_analytical_pathResolve a deterministic manifest-v3 analytical path before generating SQL. Returns exact certified relationships, key pairs, fanout policy, and cross-domain interfaces, or a clarification/refusal reason.
ParameterTypeDescription
dimensionEntitiesarrayEntities contributing grouping dimensions.
entities *arrayAnalytical entities to connect: qualified ids such as commerce::entity::order, or bare entity names such as order when only one domain has that entity. An unknown name returns the available entity ids.
measureEntitiesarrayEntities contributing additive measures.
ownerDomainstringDomain that owns the proposed analysis.
purposestringDeclared cross-domain analytical purpose.
sample_notebook_datasetReturn a strictly bounded, redacted sample from a notebook dataset. Use only when schema/profile is insufficient. Sensitive columns are always redacted.
ParameterTypeDescription
id *string
limitnumber
scan_manifestGrep-style, index-independent scan over the live project graph (certified blocks, metrics, dimensions, dbt models). Returns objects whose name/description/context contains ALL query terms, then ANY. Use when FTS search misses or you want a fresh, ranking-free lookup.
ParameterTypeDescription
kindsarrayOptional node-kind filter, e.g. ["block","metric","dimension","dbt_model"]. Default all.
limitnumberMax results. Default 20.
query *stringTerms to scan for, e.g. "tax region product".
searchSearch pages
ParameterTypeDescription
query *string
search_blocksFind saved queries (blocks), certified and draft, by keyword, domain, or status. Each result carries its status; only a certified saved query is a certified answer.
ParameterTypeDescription
domainstringFilter to a single business domain.
limitnumberMax results. Default 50.
querystringSubstring matched against name, description, or tags.
statusstringFilter by certification status.
search_metadataGrounded-SQL retrieval: rank tables relevant to a request (dbt models, or the synced warehouse catalog in a project without dbt) and return each table qualified relation and ref form. Use before writing SQL so you reference the real relation, never a bare model name.
ParameterTypeDescription
limitnumberMax tables to return. Default 12.
query *stringNatural-language request to find relevant tables for.
search_project_filesFast bounded ripgrep over the live DQL/dbt source tree. Use only when catalog and semantic search missed a likely block, metric, dimension, model, or join definition. Returns source paths and matching lines; it never executes or mutates files.
ParameterTypeDescription
limitnumberMaximum matching lines. Default 40, maximum 100.
query *stringBusiness terms or identifiers to find in DQL, SQL, YAML, JSON, and Markdown sources.
search_semantic_layerSearch the governed semantic layer for metrics and dimensions matching a question. Returns member NAMES to pass to compile_semantic_query, with labels, descriptions, and backing tables. Use this before compile_semantic_query.
ParameterTypeDescription
limitnumberMax members per kind. Default 8.
query *stringNatural-language terms, e.g. "tax by region and product".
suggest_blockWrite a curated proposed saved query (block) to the local draft queue with a hand-shaped name and structure, plus the governance gate result. Use when proposing a shared building block; for one-shot ad-hoc Tier-2 captures, use query_via_metadata instead.
ParameterTypeDescription
chartTypestringOptional visualization type.
description *stringOne-line description.
domain *stringBusiness domain.
name *stringProposed block name.
owner *stringBlock owner identity.
sql *stringThe block body SQL.
tagsarray
update_pageChange a page
ParameterTypeDescription
idstring
validate_sqlValidate that a read-only SELECT/WITH query references only relations and columns that exist (in the dbt schema, or the synced warehouse catalog in a project without dbt) and only governed joins. Returns the precise offending table or column on a miss.
ParameterTypeDescription
querystringOptional original request, used to scope grounding.
sql *stringA read-only SELECT/WITH query to validate against the dbt schema.

Security checks

From the duckcode-ai-labs/zlens monorepo, not this package alone.

  • ✓README presentThe repository's README runs to about 867 words.

5 checks have not been run yet.

README

The repository's README runs to about 867 words. The original in the repository is authoritative.

Read full README
Questions

About Dql

How do I install Dql?

It is published to npm as @duckcodeailabs/dql-mcp, a package without a command-line entry point, so npx can't start it directly. Install it with npm install @duckcodeailabs/dql-mcp and follow the README to run the server.

Is Dql safe to use with an AI agent?

Its trust score is 44 out of 100 (fair). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Dql still maintained?

Yes — the last commit in the duckcode-ai-labs/zlens monorepo was 4 hours ago. The duckcode-ai-labs/zlens monorepo has 2 stars and 0 forks.

What tools does Dql provide?

Conduid read 53 tools from the source: answer_question, approve_hint, ask_dql, build_block_from_prompt, build_dql_app, build_dql_block, certify, check_compatibility and 45 more. 52 of them publish their parameters, listed under Tools above.