mcpbeat Sign in

Lagaam MCP Server

by lagaam-ai Your server? Claim it
local only

Lagaam runs on your own machine — the client starts it, so there is no endpoint to ping. 474 installs a week from pypi. Last commit 6 Nov 2026.

Stops an agent's Trino or Pinot query before it runs if it costs too much or reads outside its grant

Installs per day peak 401 · avg 41 · +641% w/w
a month agotoday
474
Installs / week
pypi · lagaam
1
Stars
0 open issues
6 Nov 2026
Last commit
from GitHub
Apache-2.0
License
Python

Nothing serious here today

Today is the operative word: we check Lagaam every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add lagaam -e 'LAGAAM_ALLOWED_TABLES=<LAGAAM_ALLOWED_TABLES>' -- uvx lagaam
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "lagaam": {
      "command": "uvx",
      "args": [
        "lagaam"
      ],
      "env": {
        "LAGAAM_ALLOWED_TABLES": "<LAGAAM_ALLOWED_TABLES>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.lagaam]
command = "uvx"
args = ["lagaam"]
env = { LAGAAM_ALLOWED_TABLES = "<LAGAAM_ALLOWED_TABLES>" }
.cursor/mcp.json
{
  "mcpServers": {
    "lagaam": {
      "command": "uvx",
      "args": [
        "lagaam"
      ],
      "env": {
        "LAGAAM_ALLOWED_TABLES": "<LAGAAM_ALLOWED_TABLES>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "lagaam": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lagaam"
      ],
      "env": {
        "LAGAAM_ALLOWED_TABLES": "<LAGAAM_ALLOWED_TABLES>"
      }
    }
  }
}

Put your own value in place of <LAGAAM_ALLOWED_TABLES> (Comma list of catalog.schema.table grants; the server will not start without it). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: LAGAAM_ALLOW_ALL_TABLES (true to run with no grant at all: an explicit opt-out, off by default), LAGAAM_ENGINE (Which adapter to run), TRINO_HOST (Trino coordinator host), TRINO_PORT (Trino coordinator port), TRINO_USER (Trino user), TRINO_PASSWORD (Password for TRINO_USER; unset means no login. Not with TRINO_JWT), TRINO_JWT (JWT to log in with instead of a password; unset means no login), TRINO_HTTP_SCHEME (http or https; unset means https once a password or JWT is set, else http), TRINO_VERIFY (TLS cert check: true, false, or the path of a CA bundle (PEM)), PINOT_CONTROLLER_URL (Pinot controller URL), PINOT_BROKER_URL (Pinot broker URL), PINOT_USER (Pinot user; unset means no auth), PINOT_PASSWORD (Pinot password; unset means no auth), LAGAAM_AGENT_NAME (Identity stamped on the audit trail), LAGAAM_MAX_SCAN_BYTES (Scan-bytes budget per query, checked before it runs (default 50 GiB)), LAGAAM_MAX_ROWS (Scanned-row estimate budget per query; unset means ungated), LAGAAM_MAX_INTERMEDIATE_ROWS (Rows the engine would build at its widest step, not rows returned, so a LIMIT doesn't lower it), LAGAAM_MAX_RETURNED_ROWS (Rows returned to the agent per query, capped at 100000; a bigger LIMIT in the query is lowered to it), LAGAAM_QUERY_TIMEOUT (Wall-clock seconds per query), LAGAAM_METADATA_TTL (Metadata cache TTL, seconds), LAGAAM_AUDIT_LOG (Audit JSONL file path; unset means stderr).

Alternatives to Lagaam

same job, measured the same way
Repomagpie
by varshavia

Your agent checks your notes before installing and stops on packages you or your team ruled out.

746 installs/wk local only
Vericto Proxy mode (local, PostgreSQL)
by vericto

Read-only PostgreSQL for AI agents: every statement is checked before it runs. No account needed.

local only
Voyager Repo
by dir-ai

An AI agent's safe read-only scout to orient in an unknown repository before touching it.

93 installs/wk local only
Secret Scan
by agentic-income-bot

Check text for leaked credentials before an agent writes or commits it. Runs locally.

local only
Repo Run Check
by devx-agent

Check GitHub repos and shell commands for malware-delivery tricks before an AI agent runs them

171 installs/wk 4 tools answering
Mnki MCP
by mnkiagentos

MCP proxy that checks every tools/call against Agent Trust policy, with evidence, before it runs.

70 installs/wk local only
Small Print
by smallprint

Check an MCP server, skill or plugin before your agent uses it: tool text on record, changes graded.

102 installs/wk local only
isitdone
by raimondasl

Make a coding agent prove it: run the repo's real tests, typecheck and lint before it says done.

107 installs/wk local only

Lagaam — questions

Answers built from our own checks of this server.

Why is there no uptime for Lagaam?
Lagaam runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package lagaam was installed 474 times last week.
How do I connect Lagaam?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls lagaam straight from pypi; nothing to host, nothing to sign up for.
How many people use Lagaam?
The pypi package lagaam was installed 474 times in the last week. Week over week that is +641%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Lagaam open source?
Yes — it is published under the Apache-2.0 licence, written in Python and 1 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.