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

Malloy Publisher Server

MCP server by malloydata Verified · npm:@malloy-publisher

Serves Malloy semantic models over MCP and REST so AI agents, applications, and BI tools query one governed model. It is open source and runs locally with npx, Docker, or Compose.

  • Score 86
  • 137 stars
  • 4.7k a week
  • MIT
  • Updated

Install Malloy Publisher Server

Built from the published package, never by AI.

claude mcp add malloy-publisher-server -- npx -y @malloy-publisher/server

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

Step-by-step: install Malloy Publisher Server 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 malloy-publisher-server block.

About

Malloy Publisher is an open source server that serves Malloy semantic models over MCP and REST. AI agents, applications, and BI tools query one governed model instead of writing raw SQL, so the same question returns the same numbers. Local CSV, Parquet, JSON, and Excel files are read through DuckDB, and connections to BigQuery, Snowflake, Postgres, Databricks, and MotherDuck are also supported.

An agent can build the model with the bundled open-source Malloy skills, and the server validates each edit without a restart. Access is controlled with givens, #(authorize), and #(access_filter). The server is stateless and unauthenticated, so it is meant to run behind a gateway that authenticates users. It is aimed at teams that want AI agents and BI tools to use governed analytics.

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

Tools it gives your assistant

  • get_contextLets the agent discover what exists in the model before querying.
  • execute_queryRuns a Malloy query against the model and returns the result.
  • search_database_schemaRanks a connection's tables against a plain-English description and returns source lines.
  • compile_modelChecks a model edit without running it.
  • reload_packageRecompiles a package from disk.

What you need

  • Node.js 20 or newer
  • Bun 1.3.13 or newer (building from a clone)
  • Docker or Compose (optional run method)

Try asking

  • Use Malloy to explore the storefront sales data and chart revenue by category.
  • Search my connected database for tables about orders and draft a Malloy source.
  • Check my Malloy model edit with compile_model before running it.

Good to know

  • The server is stateless and unauthenticated and must sit behind a gateway.
  • Access controls only enforce policy when the gateway sets the givens from verified identity.
  • Claude Code asks to trust the folder once per directory, and the prompt needs an interactive session.
  • The generated Python client is not published to PyPI.

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

Alternatives to Malloy Publisher Server

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

Malloy Publisher Server: common questions

Does Malloy Publisher need a paid database to try it?

No. The bundled examples and local files run on DuckDB and need no credentials. Warehouse connections such as BigQuery or Snowflake are added separately.

Which AI assistants can connect to Malloy Publisher?

The source names Claude Code, Cursor, VS Code, Codex, and Claude Desktop. They connect to the MCP endpoint at http://localhost:4040/mcp by default.

How does Malloy Publisher control who sees which rows?

Givens, #(authorize), and #(access_filter) decide who may query a source and which rows they get. These rules rely on the gateway in front of the server to set the givens from verified user identity.

How do I install Malloy Publisher Server?

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

Is Malloy Publisher Server the official server?

Malloy Publisher Server is published by npm:@malloy-publisher from its verified domain in the official MCP Registry.

Is Malloy Publisher Server free?

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

Is Malloy Publisher Server safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality B. 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 Malloy Publisher Server?

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

Does Malloy Publisher Server 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.

Malloy Publisher Server Install

Add to stack

Loading.