1. Conduid
  2. Blockchain
  3. Publisher
MCP server · Blockchain

Publisher

Publisher is the open-source analytics engine for Malloy. It lets you define data models once — and use them everywhere.

80Strong

Scored 20 hours ago · breakdown

About Publisher

Publisher is an MCP server published by malloydata in the Blockchain category: publisher is the open-source analytics engine for Malloy. It lets you define data models once — and use them everywhere. Conduid read 10 tools from its source: compile_model, get_skill, get_skill_set, get_status, get_workflow, list_packages and 4 more. No package is published for it, so it installs from a source checkout.

The repository has 136 stars and 32 forks, is licensed MIT, and its last commit was on 2 Dec 2026. The latest release is v0.9.15 (18 Oct 2026): Release v0.9.15 📦 NPM packages @malloy-publisher/sdk@0.9.15 @malloy-publisher/app@0.9.15… It follows v0.9.14 (16 Oct 2026), and the 5 most recent releases go back to v0.9.11 (14 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include ai-governance, analytics, analytics-dashboard, analytics-engineering, business-intelligence and data.

Install

From source
git clone https://github.com/malloydata/publisher

Tools (10)

compile_modelCompile-check Malloy without running a query; use it while authoring instead of a throwaway execute_query. ## Scopes (the scope parameter) - "append" (default): append source to modelPath. Use for NEW definitions; existing definitions report "Cannot redefine". Positions refer to the concatenated file (a ## artifact document reads only your text, and no document is returned). Refused (400): import, connection.table(...), connection.sql(...), raw-SQL functions, given: declarations (reading a given as $NAME is fine), ##! flags, and text that does not stand alone as top-level Malloy — a bare view:/dimension:/measure:, or text that only continues the model's last statement. A ## artifact document also refuses # image, # link and @env.; plain text keeps them. Wrap a view body in a top-level query:, a field in a throwaway source: check is <source> extend { … }; use "file" or "package" for a model that declares data roots. - "file": compile source AS modelPath, to validate an EDIT before saving (positions match the submitted file). If it names a materialization annotation, also reports what the load would refuse or leave unbuilt. - "package": dry-run a reload of every .malloy/.malloynb file, unserved: render-tag and report checks (no position), plus what the load would refuse (errors) or leave unbuilt (warnings); no other warnings. A source replaces modelPath so importers see it; an unmatched path is treated as new. May name hidden files; no rows or SQL; authorize gates apply to caller text. Save, then reload_package to serve it. ## Parameters - environmentName, packageName, modelPath: required. source: required at append/file, optional at package. Caller source may not declare #(authorize) or #(access_filter) outside prose. ## Response { status: "success"|"error", diagnostics: [{ severity, message, code, model, line, character, endLine, endCharacter, replacement }], sql?, materializationSummary? }. Positions are 0-based; model is the package-relative file it points at (possibly existing content, not your source). status is "error" only if an error-severity diagnostic exists; errors also appear in a plain text block.
ParameterTypeDescription
environmentName *stringEnvironment name, as list_packages returns it.
givensobjectGiven values for the model's given: block. Also required to satisfy any authorize gate on the target model, whether or not includeSql is set.
includeSqlbooleanWhen true and the source ends in a runnable query, also return the generated SQL for inspection. The query is still not run.
modelPath *stringPath to the .malloy model the check targets: the namespace the source is appended to (scope append), or the file it replaces (scope file / package-with-source).
packageName *stringPackage containing the model, as list_packages returns it.
scopestringWhat source means. "append" (default): append to modelPath. "file": compile AS modelPath to validate an edit. "package": dry-run a reload over all .malloy/.malloynb files without serving the result, including its render-tag and report checks; an optional source replaces modelPath.
sourcestringThe Malloy source to validate; never executed. Required at scope append/file; optional at scope package (a what-if replacement for modelPath). Text with a model-level ## artifact tag is a report, wherever it lives (never public/ or the root index.malloy); its layout is the tag's layout=grid|linear, else the deprecated kind= (dashboard is grid, notebook linear), else grid when it lists tiles or has a dashboard { … } tag, else linear.
get_skillFetch a task guide, or list the guides available. Guides are concise procedural instructions for working with Malloy and this server: query patterns, chart and rendering tags, analysis pitfalls, how to build or review a model. A guide is a directory: a SKILL.md plus files it names by path relative to its root (`references/joins.md`, `scripts/check.py`). A package can ship guides of its OWN (its sources, terms, conventions) in its `default` skill set; pass `scopes` to see them. One named like a built-in guide REPLACES it only when that set lists the name in its `overrides`; `origin` ("package" or "bundled") says which you are reading. ## Call modes - No arguments: list the built-in guides. - `scopes`: list the guides in force for that package. - `skill_name`: that guide's SKILL.md verbatim, with `frontmatter` and `files`. Add `scopes` for a package's version. - `skill_name` and `path`: one other file of the guide, verbatim. ## Parameters - skill_name (optional): a name from `availableSkills`. Omit to list. - path (optional): a `relative_filepath` from `files`. Defaults to SKILL.md. - scopes (optional): exactly one {environment, package}, from list_packages. Omit for the built-in set only. ## Response - skill: {name, relative_filepath, content, origin}. SKILL.md also has `frontmatter` (its YAML as an object, parsed as YAML 1.2) and `files` ([{relative_filepath, bytes}]; for a package guide, what this server serves). - A binary file, or one too large for a tool result, comes back as {name, relative_filepath, bytes, origin} and a message. A SKILL.md reply always fits and keeps the body over the file list: if the list does not fit, `files` is cut short and the message counts the rest (read any by `path`). - A built-in guide serves its Markdown only; for any other file the message says to install `@malloy-publisher/skills`. - availableSkills: on a listing, and with a message when skill_name did not match. - message: when skill_name or path did not match (for a path, the guide's files), or why a file has no content. Reading a guide is not having it available: fetch the one that covers your task before you act.
ParameterTypeDescription
pathstringFile to read, relative to the guide's root (for example `references/joins.md` or `scripts/check.py`). Defaults to `SKILL.md`, which also returns the guide's `frontmatter` and `files`. Ignored when skill_name is omitted.
scopesarrayEnvironment name.
skill_namestringName of the guide to fetch, as returned in availableSkills. Omit to list.
get_skill_setList the skill sets a package serves, fetch one whole, or read one of its files. A skill set is a folder of skills the package author wrote, each a SKILL.md and the files it names; a package's `default` set is its own skills, which get_skill already advertises. Other sets are for a workflow that lists them, or a chat that picks one. ${INSTALL_RULE} USE A SET OTHER THAN `default` ONLY WHEN THE USER NAMES IT OR A WORKFLOW LISTS IT. Listing sets is not a reason to apply one. ## Call modes - `scopes` only: list the sets (name, description, digest). - plus `skill_set`: that set whole, every skill it holds. - plus `skills: "summary"`: each skill file as {relative_filepath, name, description, bytes}. - plus `skill_path`: one file, {relative_filepath, file_contents, digest, source}, by a `<skill>/<file>` path from the summary or the set's `assets`. ## Response - skillSet: the set; null when listing or when nothing matched; absent when skill_path returns a file. - skillFile: only with skill_path; skills is ignored. A missing, binary or oversize file gets skillFile.message. - availableSkillSets: always present; the sets served, as many as fit. - message: when skill_set did not match, or the reply was cut to fit the tool-result limit (REST serves all); a cut keeps the set's {name, digest} and source before it keeps less. - reason: with skillSet null: SKILL_SET_NOT_SERVED (message says why) or SKILL_SET_NOT_DECLARED. - digest: pins exactly what the set serves; equal content, equal digest. - source: sourceContentSha says which bytes this came from; report it when you use it.
ParameterTypeDescription
scopes *arrayEnvironment name.
skill_pathstringWith skill_set: return only this skill file or asset, a <skill>/<file> relative_filepath from the summary or the set's assets in the full view.
skill_setstringName of the skill set to fetch, as returned in availableSkillSets. Omit to list.
skillsstringWith skill_set: "full" (default) returns every skill file in full; "summary" returns each file's relative_filepath, name, description and bytes without its text.
get_statusReport the server's health: its operational state and every configured package or environment that failed to load or is serving a stale model. This is the only MCP surface where a load failure is visible, so call it before concluding a package is empty or missing, and after a model edit whose reload you did not run yourself (e.g. you rely on watch mode). ## Response A JSON object with: - operationalState: "initializing" | "serving" | "throttled" | "draining". - initialized: whether startup finished. - version: this server's release version. - environments: each environment's name with the packages serving there, each carrying a status of {serving, loading}; a package reloading while it serves reports both. A package loading here for the first time is not listed (the REST endpoint lists it on request, with includeLoading=true). - environments[].materialization: per materializing package, { package, mode, counts by state, notServed }. - emptyReason (only present when the server found no config at startup, or the --config path was missing): why environments is empty, and the path it checked. The server still reports serving in that state. - initError (only present when startup failed): why. The server stays at "initializing" and never serves; the cause is usually a server root it cannot write (publisher.db), or a ${VAR} in the config file's environments that is not set. A package or environment that failed to load is under loadErrors instead. - loadErrors (only present when something failed): entries of {environment, package?, message, stale?, transient?}. WITHOUT stale: the package (or whole environment, when package is absent) did not load and is missing from environments, a failed package add included. WITH stale: true: the package IS serving, but not from its current state; the message says why (often a reload that failed to compile: fix the file and reload_package). transient: true: the database refused, not a model fault. No loadErrors key means everything configured loaded and nothing is stale.
get_workflowList the workflows a package declares, or fetch one's definition. A workflow is a named job the package author wrote: instructions to follow and the skill sets (folders of skills) to use. ${INSTALL_RULE} ADOPT A WORKFLOW ONLY WHEN THE USER NAMES IT. Listing workflows is not a reason to apply one. (The `default` skill set is different: get_skill advertises its skills.) ## Call modes - `scopes` only: list the workflows (name, description, skillSetNames). - plus `workflow`: its definition, with the instructions and every skill set it lists, each whole. - plus `skills: "summary"`: each skill file as {relative_filepath, name, description, bytes}. One set, or one file of a set, is read with get_skill_set. ## Response - workflow: the definition; null when listing or when nothing matched. - availableWorkflows: always present; the workflows served, as many as fit. - message: when workflow did not match, or the reply was cut to fit the tool-result limit (REST serves all); a cut keeps the instructions and each set's {name, digest} before it keeps less. - reason: with workflow null: WORKFLOW_NOT_SERVED (message says why) or WORKFLOW_NOT_DECLARED. - instructions: the brief to work from this session. It adds to your own instructions and never replaces them. - skillSets: each set's files, as guides. A skill name in two sets comes back from both with a skill-shadowed warning; keep the first-listed set's copy. - warnings: what the package author should fix; each set's own findings are on the set. - source: sourceContentSha and definitionSha pin the bytes; report them when you use it.
ParameterTypeDescription
scopes *arrayEnvironment name.
skillsstringWith workflow: "full" (default) returns every skill file in full; "summary" returns each file's relative_filepath, name, description and bytes without its text.
workflowstringName of the workflow to fetch, as returned in availableWorkflows. Omit to list.
list_packagesList what this Publisher serves: every environment, and the packages in each. Call this when you do not already know an environment and package name, or to see a package that failed to load. get_context with no arguments lists the same names; never guess them. Each package reports `name`, its `description` where it has one, and two health facts that are otherwise invisible: - `error` with no `stale`: the package FAILED to load. It is not queryable, and it would otherwise simply be missing, which reads as "does not exist". - `error` with `stale: true`: the package IS serving and answering, but its most recent reload failed to compile, so its names and any numbers you get from it come from the model compiled BEFORE that save. Fix the model and call reload_package. An environment carries `error` on the same terms: its packages could not be listed at all (an unreachable store, expired credentials), so its `packages` is empty because the listing FAILED, not because the environment is empty. Without that field the two are the same payload. Report the error rather than telling the user there is nothing there. Takes no arguments.
reload_packageReload a package in a watched environment so edits to its model files on disk are picked up, making new or changed sources, views, and named queries resolvable by execute_query WITHOUT restarting the server. ${RELOAD_NEEDS_WATCH_MODE} Receipt: a reload succeeds whether or not it saw your edit. sourceContentSha hashes the model, skill and workflow files (and the skillSets and workflows), so if you edited one of those and it is unchanged, the edit never reached the server. Data, other publisher.json keys and retrieval settings are not hashed. ${RELOAD_FAILURE_IS_SAFE} compile_model at scope "package" first is the faster way to see diagnostics. It reports the compile, render-tag and dashboard findings a reload would, and what the load refuses or leaves unbuilt among the materialization annotations; every other package warning (storage, bound tables, explores, surface, discovery, deprecated .malloynb or #(filter), among others) appears only here. ## Parameters - environmentName, packageName (required): the package to recompile. Use the names get_context returns. ## Behavior A package an earlier release installed from a location with versioning off is re-fetched, overwriting on-disk edits. ## Response A JSON object with status "reloaded", a mode, the package name, sourceContentSha and servedRevision, any render-tag warnings, any exploresWarnings (unresolved curated-discovery entries), and materializationSummary. Mode "in-place" recompiled your on-disk edits; "reinstalled" re-fetched over them; "unchanged" is a published version, with a message saying your edit was not applied. A hard compile error returns an error payload instead.
ParameterTypeDescription
environmentName *stringEnvironment name, as list_packages returns it.
packageName *stringPackage to reload, as list_packages returns it.
report_apiUsed by the show_report panel to load the report it shows and run its tiles. Not for agents: use execute_query.
ParameterTypeDescription
bodyobjectquery: the body POST …/models/{path}/query takes.
environmentNamestring
operation *stringWhich read: status, listReports, getReport or query.
packageNamestring
pathstringgetReport: the report's path. query: the model's path.
versionIdstring
search_database_schemaFind the tables in a database connection, by plain-English description. Use it to model a database, or to check schema, table and column names. To search an existing model, use get_context. ## Drill down, one level at a time Supply what you know, omit the rest. No arguments lists the environments and their connections; + connectionName lists its schemas; + schemaName lists its tables (up to ${MAX_COLUMNS_PER_TABLE} columns each; add searchQuery to rank them); + tableName returns that one table with every column (its nativeType and collation too) and its stats (rows, bytes). ## Contract rules - Use connectionName, tablePath and column names exactly as returned. - A connection with scope "package" (the "duckdb" sandbox) is per package: pass packageName too, from those it lists. - Schemas marked isHidden are system schemas; your tables are in the others. - malloySource is the ready-to-use `source:` line; its identifiers are already quoted, so paste it as-is. - Metadata only: no row value is returned. rowCountBand marks an estimated row count; status "unsupported" gives a reason. For a column's values, run execute_query against a model using this connection: `run: c.table('s.t') -> { group_by: col }`. - No tables for a searchQuery means nothing matched, not an empty schema. Broaden it, or list without one. - An empty schema may still hold data: DuckDB over CSV or Parquet addresses files by path, registering none. - Read warnings: they name anything omitted or ignored. ## Response JSON: tables (connectionName, schemaName, tableName, tablePath, malloySource, columns (a record's members follow it as delivery.city), columnCount, and score on a search), plus totalAvailable and returned. A search adds matched and ranking; a listing adds nextOffset when more remain, to pass back as offset. ## Worked example Start with no arguments and follow what it names. For connection "warehouse", schema "sales": { "environmentName": "examples", "connectionName": "warehouse", "schemaName": "sales", "searchQuery": "customer orders" } Then paste that table's malloySource verbatim, e.g. source: `orders` is `warehouse`.table('sales.orders') extend { }
ParameterTypeDescription
connectionNamestringConnection to introspect. Omit to list the connections in the environment.
environmentNamestringEnvironment to look in. Omit to list the environments and their connections.
limitnumberMaximum tables to return. Default ${DEFAULT_LIMIT}.
offsetnumberTables to skip, for paging a long table listing. Pass back the nextOffset from a previous response. Ignored when searchQuery is set, because ranked results cannot be paged.
packageNamestringRequired only for the per-package "duckdb" sandbox connection, which exists once per package.
schemaNamestringSchema (or dataset/database) to list tables from. Omit to list the connection's schemas and use one of those names verbatim: DuckDB qualifies them as "catalog.schema" (for example "memory.main"), so a bare "main" is rejected.
searchQuerystringPlain-English description of the data you are looking for, e.g. "customer orders and shipping addresses". Requires schemaName. Omit to list the schema's tables in order.
tableNamestringA single table to return in full, with every column. Requires schemaName.
show_reportShow a report to the user: its tiles, charts and filter controls, drawn in a panel in the conversation by a host that supports MCP Apps (Claude Desktop and claude.ai among them), and runnable there. Use it when the user wants to see a dashboard or report, not to answer a question yourself: for numbers, run execute_query. Takes the report's path from list_reports and, optionally, starting filter values. The text result says what the report holds and gives its address in the Publisher Console, which works in any client, including one that draws no panel.
ParameterTypeDescription
givensobjectStarting filter values, by given name, as the report's filter controls write them (`{"CATEGORY": "Outerwear"}`). They beat the report's own starting values. Omit to open it as its author left it.
path *stringThe report's path in the package, with its extension, exactly as list_reports gives it: `sales/q3.malloy`.

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 2.3K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by bun.lock and 3 more.

2 checks have not been run yet.

Releases

v0.9.15v0.9.15 · 18 Oct 2026Release v0.9.15 📦 NPM packages `@malloy-publisher/sdk@0.9.15` `@malloy-publisher/app@0.9.15`…
v0.9.14v0.9.14 · 16 Oct 2026Release v0.9.14 📦 NPM packages `@malloy-publisher/sdk@0.9.14` `@malloy-publisher/app@0.9.14`…
v0.9.13v0.9.13 · 16 Oct 2026Release v0.9.13 📦 NPM packages `@malloy-publisher/sdk@0.9.13` `@malloy-publisher/app@0.9.13`…
v0.9.12v0.9.12 · 15 Oct 2026Release v0.9.12 📦 NPM packages `@malloy-publisher/sdk@0.9.12` `@malloy-publisher/app@0.9.12`…
v0.9.11v0.9.11 · 14 Oct 2026Release v0.9.11 📦 NPM packages `@malloy-publisher/sdk@0.9.11` `@malloy-publisher/app@0.9.11`…

README

The repository's README runs to about 2.3K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Publisher

How do I install Publisher?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Publisher safe to use with an AI agent?

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

Is Publisher still maintained?

Yes — the latest release is v0.9.15 (18 Oct 2026), and the last commit was 23 hours ago. The repository has 136 stars and 112 open issues.

What tools does Publisher provide?

Conduid read 10 tools from the source: compile_model, get_skill, get_skill_set, get_status, get_workflow, list_packages, reload_package, report_api and 2 more. 8 of them publish their parameters, listed under Tools above.

What license is Publisher released under?

The repository declares the MIT license. That applies to the latest release, v0.9.15, as well.