Cost Guard MCP
io.github.mcpsmiths/cost-guard-mcp
MCP server Not tested
Pre-flight query cost and result-size guardrails for AI agents on BigQuery, Snowflake, Databricks
Technical sheet
- Author
- mcpsmiths (registry namespace)
- Repository
- github.com/mcpsmiths/cost-guard-mcp
- Site
- —
- Version
- 0.6.0
- Transport
- stdio
- Authentication
- None (declared in the registry)
- Packages
- cost-guard-mcp 0.6.0 pypi stdio
- Tools
- —
- Categories
- Maps, places and weather, AI, agents and memory
- Last updated
- 19 Oct 2026
- Published
- 19 Oct 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: no successful test not yet
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.mcpsmiths/cost-guard-mcp)<a href="https://latlas.dev/en/mcp/io.github.mcpsmiths/cost-guard-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.mcpsmiths/cost-guard-mcp.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.
[](https://latlas.dev/en/mcp/io.github.mcpsmiths/cost-guard-mcp)<a href="https://latlas.dev/en/mcp/io.github.mcpsmiths/cost-guard-mcp"><img src="https://latlas.dev/badge/fiche/io.github.mcpsmiths/cost-guard-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
No remote address published: this server runs locally, so we do not test it.
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport not listed | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Local launch of package cost-guard-mcp (PyPI). Formats taken from each client’s documentation.
claude mcp add-json cost-guard-mcp '{"command":"uvx","args":["cost-guard-mcp==0.6.0"]}'{
"mcpServers": {
"cost-guard-mcp": {
"command": "uvx",
"args": ["cost-guard-mcp==0.6.0"]
}
}
}{
"mcpServers": {
"cost-guard-mcp": {
"type": "stdio",
"command": "uvx",
"args": ["cost-guard-mcp==0.6.0"]
}
}
}{
"mcpServers": {
"cost-guard-mcp": {
"type": "stdio",
"command": "uvx",
"args": ["cost-guard-mcp==0.6.0"],
"tools": ["*"]
}
}
}{
"mcpServers": {
"cost-guard-mcp": {
"command": "uvx",
"args": ["cost-guard-mcp==0.6.0"]
}
}
}{
"mcpServers": {
"cost-guard-mcp": {
"command": "uvx",
"args": ["cost-guard-mcp==0.6.0"]
}
}
}[mcp_servers.cost-guard-mcp]
command = "uvx"
args = ["cost-guard-mcp==0.6.0"]Declared environment variables
| Name | Required | Description |
|---|---|---|
| GOOGLE_APPLICATION_CREDENTIALS | no (secret) | BigQuery: path to a service-account key file (Application Default Credentials). Required to use the bigquery engine. |
| SNOWFLAKE_ACCOUNT | no | Snowflake: account identifier. Required to use the snowflake engine. |
| SNOWFLAKE_USER | no | Snowflake: username. Required to use the snowflake engine. |
| SNOWFLAKE_ROLE | no | Snowflake: role to assume. Required to use the snowflake engine; has no default and must never be ACCOUNTADMIN (ACCOUNTADMIN, SECURITYADMIN and ORGADMIN are rejected before any Snowflake connection i… |
| SNOWFLAKE_SECONDARY_ROLES | no | Snowflake: secondary roles activated at login. NONE (default) means only SNOWFLAKE_ROLE is active in the session; ALL is the explicit opt-out that activates every role granted to SNOWFLAKE_USER. |
| SNOWFLAKE_PRIVATE_KEY_PATH | no (secret) | Snowflake: path to an RSA private key file for key-pair auth (preferred over SNOWFLAKE_PASSWORD). Either this or SNOWFLAKE_PASSWORD is required to use the snowflake engine. |
| SNOWFLAKE_PRIVATE_KEY_PASSPHRASE | no (secret) | Snowflake: passphrase for an encrypted SNOWFLAKE_PRIVATE_KEY_PATH key file, if the key is encrypted. |
| SNOWFLAKE_PASSWORD | no (secret) | Snowflake: password (discouraged; prefer SNOWFLAKE_PRIVATE_KEY_PATH). Either this or SNOWFLAKE_PRIVATE_KEY_PATH is required to use the snowflake engine. |
| SNOWFLAKE_EDITION | no | Snowflake: account edition that sets the USD/credit price of estimates - standard (default), enterprise, business_critical or vps. The per-call edition argument can only raise it. |
| DATABRICKS_SERVER_HOSTNAME | no | Databricks: SQL warehouse server hostname (e.g. my-workspace.cloud.databricks.com, no scheme, no trailing slash). Required to use the databricks engine. |
| DATABRICKS_HTTP_PATH | no | Databricks: SQL warehouse HTTP path (from the warehouse's Connection Details tab, e.g. /sql/1.0/warehouses/ ). Required to use the databricks engine. |
| DATABRICKS_TOKEN | no (secret) | Databricks: personal access token (simplest auth option). Either this or DATABRICKS_CLIENT_ID + DATABRICKS_CLIENT_SECRET is required to use the databricks engine. |
| DATABRICKS_CLIENT_ID | no | Databricks: OAuth machine-to-machine service-principal client ID (preferred for automated use). Requires DATABRICKS_CLIENT_SECRET as well. |
| DATABRICKS_CLIENT_SECRET | no (secret) | Databricks: OAuth machine-to-machine service-principal client secret. Requires DATABRICKS_CLIENT_ID as well. |
| COST_GUARD_ALLOW_MULTI_STATEMENT_SQL | no | Set to 1 to let estimate_query_cost/run_query_bounded accept text containing more than one SQL statement. Off by default: the cost cap is only known to cover the single statement the dry run/EXPLAIN… |
| COST_GUARD_ALLOW_WRITE_STATEMENTS | no | Set to 1 (exactly that value) to let estimate_query_cost/run_query_bounded accept statements that are not reads. Off by default: only text whose first keyword (after comments and opening parentheses)… |
| COST_GUARD_MAX_IN_FLIGHT_QUERIES | no | Maximum number of run_query_bounded calls allowed in flight at once (positive integer, default 8). A cancelled call keeps its slot until its warehouse query completes or the 120 s watchdog fires; a c… |
| COST_GUARD_DATABRICKS_ALLOW_WAREHOUSE_START | no | Set to true (exactly that value) to let the read-only Databricks tools (check_credentials, estimate_query_cost) open a session on a SQL warehouse that is not RUNNING, which starts the warehouse and b… |
| COST_GUARD_SNOWFLAKE_ALLOW_WAREHOUSE_RESUME | no | Set to true (exactly that value) to let the read-only Snowflake tools run SELECT CURRENT_REGION(), the INFORMATION_SCHEMA.QUERY_HISTORY read and check_credentials' session-context SELECT on a warehou… |
Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
[Cost Guard MCP — L’Atlas](https://latlas.dev/en/mcp/io.github.mcpsmiths/cost-guard-mcp)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.