Lagaam

io.github.lagaam-ai/lagaam

About Lagaam

Lagaam is an MCP server published by the GitHub account lagaam-ai. Stops an agent's Trino or Pinot query before it runs if it costs too much or reads outside its grant

It runs on your own machine: your AI client starts it from the PyPI package lagaam at version 0.2.5.

It asks for one secret: PINOT_PASSWORD. Give it a key with the least access that still works.

It also needs LAGAAM_ALLOWED_TABLES set before it starts.

Version 0.2.5 was published on 10 October 2026, and the source code is public, so you can read it before installing.

Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.

What it asks for

VariableRequiredSecretDescription
LAGAAM_ALLOWED_TABLESYesNoComma list of catalog.schema.table grants; the server will not start without it
LAGAAM_ALLOW_ALL_TABLESNoNotrue to run with no grant at all: an explicit opt-out, off by default
LAGAAM_ENGINENoNoWhich adapter to run
TRINO_HOSTNoNoTrino coordinator host
TRINO_PORTNoNoTrino coordinator port
TRINO_USERNoNoTrino user
PINOT_CONTROLLER_URLNoNoPinot controller URL
PINOT_BROKER_URLNoNoPinot broker URL
PINOT_USERNoNoPinot user; unset means no auth
PINOT_PASSWORDNoYesPinot password; unset means no auth
LAGAAM_AGENT_NAMENoNoIdentity stamped on the audit trail
LAGAAM_MAX_SCAN_BYTESNoNoScan-bytes budget per query, checked before it runs (default 50 GiB)
LAGAAM_MAX_ROWSNoNoScanned-row estimate budget per query; unset means ungated
LAGAAM_MAX_INTERMEDIATE_ROWSNoNoRows the engine would build at its widest step, not rows returned, so a LIMIT doesn't lower it
LAGAAM_MAX_RETURNED_ROWSNoNoRows returned to the agent per query, capped at 100000; a bigger LIMIT in the query is lowered to it
LAGAAM_QUERY_TIMEOUTNoNoWall-clock seconds per query
LAGAAM_METADATA_TTLNoNoMetadata cache TTL, seconds
LAGAAM_AUDIT_LOGNoNoAudit JSONL file path; unset means stderr

Checks

CheckResultDetail
Source repository linkedPasshttps://github.com/lagaam-ai/lagaam
Version pinnedPassEvery package has an explicit version
Secrets requestedInfoAsks for 1 secret: PINOT_PASSWORD
Known package registryPassAll packages come from npm, PyPI, OCI, NuGet or MCPB
Namespace ownershipInfoName verified via GitHub account lagaam-ai
Registry text aimed at the AIPassDescription and settings contain no hidden characters or instructions to the AI
Install scriptsPasslagaam 0.2.5 has no setup.py; nothing runs at install
Code red flagsPassRead 40 files in lagaam 0.2.5: no obfuscation, encoded execution, credential reads or data-collection endpoints found
Text aimed at the AIPassNo hidden characters or instructions to the AI in 40 files, including comments and the README

Popularity & health: 49 / 100

Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.

Popularity7 / 40

1 GitHub stars, 25 downloads last week, no Hacker News posts found. Best two of the three, each on a log scale.

Activity15 / 25

Last push 2026-10-09, last release 2026-10-09, 0 commits in 90 days.

Issue health8 / 15

2 closed of 2 issues, too few to judge. No data, so half marks.

Our checks20 / 20

0 warnings, each costing a fifth.

0 forks, 48 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.

What people say

No Hacker News threads link to its source code.

Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.

Facts

Registry nameio.github.lagaam-ai/lagaam
PublisherGitHub account lagaam-ai
How the name is verifiedName verified via GitHub account lagaam-ai. The registry ties the name prefix to that account or domain; it does not check the code.
TypeLocal: runs on your machine from a package
Packagespypi lagaam 0.2.5 (stdio)
Version0.2.5
Published
Last updated
Source repositoryhttps://github.com/lagaam-ai/lagaam
Websitehttps://github.com/lagaam-ai/lagaam
CategoryOther (assigned by keyword rule, not by hand)

Related servers in Other