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
| Variable | Required | Secret | Description |
|---|---|---|---|
LAGAAM_ALLOWED_TABLES | Yes | No | Comma list of catalog.schema.table grants; the server will not start without it |
LAGAAM_ALLOW_ALL_TABLES | No | No | true to run with no grant at all: an explicit opt-out, off by default |
LAGAAM_ENGINE | No | No | Which adapter to run |
TRINO_HOST | No | No | Trino coordinator host |
TRINO_PORT | No | No | Trino coordinator port |
TRINO_USER | No | No | Trino user |
PINOT_CONTROLLER_URL | No | No | Pinot controller URL |
PINOT_BROKER_URL | No | No | Pinot broker URL |
PINOT_USER | No | No | Pinot user; unset means no auth |
PINOT_PASSWORD | No | Yes | Pinot password; unset means no auth |
LAGAAM_AGENT_NAME | No | No | Identity stamped on the audit trail |
LAGAAM_MAX_SCAN_BYTES | No | No | Scan-bytes budget per query, checked before it runs (default 50 GiB) |
LAGAAM_MAX_ROWS | No | No | Scanned-row estimate budget per query; unset means ungated |
LAGAAM_MAX_INTERMEDIATE_ROWS | No | No | Rows the engine would build at its widest step, not rows returned, so a LIMIT doesn't lower it |
LAGAAM_MAX_RETURNED_ROWS | No | No | Rows returned to the agent per query, capped at 100000; a bigger LIMIT in the query is lowered to it |
LAGAAM_QUERY_TIMEOUT | No | No | Wall-clock seconds per query |
LAGAAM_METADATA_TTL | No | No | Metadata cache TTL, seconds |
LAGAAM_AUDIT_LOG | No | No | Audit JSONL file path; unset means stderr |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/lagaam-ai/lagaam |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 1 secret: PINOT_PASSWORD |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account lagaam-ai |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | lagaam 0.2.5 has no setup.py; nothing runs at install |
| Code red flags | Pass | Read 40 files in lagaam 0.2.5: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No 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.
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 name | io.github.lagaam-ai/lagaam |
|---|---|
| Publisher | GitHub account lagaam-ai |
| How the name is verified | Name verified via GitHub account lagaam-ai. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | pypi lagaam 0.2.5 (stdio) |
| Version | 0.2.5 |
| Published | |
| Last updated | |
| Source repository | https://github.com/lagaam-ai/lagaam |
| Website | https://github.com/lagaam-ai/lagaam |
| Category | Other (assigned by keyword rule, not by hand) |
Related servers in Other
- mcp-trino5/6MCP server for Trino data warehouses. Query, analyze plans, and…
- bouncer-gates6/7Stops secrets, cross-tenant queries and unsafe migrations before…
- Model Salt7/7Randomness from outside the model, so one prompt gives different…
- lens-mcp7/7Outside-in validation gate for AI-generated text; a separate model…
koment4/4Read and write checked code rationale stored outside source comments.- netcafe-china4/4China facts a server outside China cannot get: real mainland…