Cost Guard MCP
Local package path declaredNo credentials listedRepository declared by sourceUpdated 2026-10-19
io.github.mcpsmiths/cost-guard-mcp · Registry status: active
At a glance
Pre-flight query cost and result-size guardrails for AI agents on BigQuery, Snowflake, Databricks
Vendor's own description, untranslated and unverified
- Execution location
- Local package path declaredMCP-Register · 2026-09-13
- Required secrets declared
- No credentials listedMCP-Register · 2026-09-13
- Declared version and change
0.6.0· Source-reported change date 2026-10-19MCP-Register · 2026-10-20- Repository as declared
- github.com/mcpsmiths/cost-guard-mcpMCP-Register · 2026-09-13
- Configuration
- can be built from the disclosed start template
Inspect connection paths and prerequisites
Related categories
- MCP servers without declared required secrets69,165
- Locally executed MCP servers30,038
- MCP servers with a repository URL49,574
- Local MCP servers without declared required secrets24,904
- Local MCP servers with a repository URL28,511
- MCP servers over stdio only22,381
6 of 9 categories. All categories in the segment catalogue
Page last changed:
Sources and collection
- Runs
- Local package path declared
- Credentials
- No credentials listed
- Registry record changed
- 2026-10-19
- Setup
- Template available
- Registry name
io.github.mcpsmiths/cost-guard-mcp- Package coordinate
pypi:cost-guard-mcp- Declared version
0.6.0- Source-reported listing date
- 2026-10-19
- Source-reported change date
- 2026-10-19
- First seen by tracevero
- 2026-09-13
- Vendor's website
- https://github.com/mcpsmiths/cost-guard-mcp
Evidence for this page: The values on this page come from several collections. Each row therefore states its own origin. What the confidence levels mean
Measured values
| Required secrets declared | No credentials listed no Original data – Required secret variables (raw): confirmed absent Original data – Required secret headers (raw): confirmed absent Source: MCP-Register · collected on 2026-09-13 · derived |
|---|---|
| Execution location | Local package path declared local Original data – Transports (raw): stdio Source: MCP-Register · collected on 2026-09-13 · derived |
| Path argument present | no Original data – Path arguments (raw): confirmed absent Original data – Path environment variables (raw): confirmed absent Source: MCP-Register · collected on 2026-09-13 · derived |
| Repository URL listed | Repository declared by source yes Original data – Repository (raw): https://github.com/mcpsmiths/cost-guard-mcp Source: MCP-Register · collected on 2026-09-13 · derived |
| Declared version | 0.6.0 Source: MCP-Register · collected on 2026-10-20 · self-declared |
What is measured is what a manifest declares, not what a piece of software does. This registry fetches no repository URL, no endpoint and no package index; nothing here is verified. Which value comes from which source, and by which rule it was formed, is set out in the Methodology.
Source data25
Evidence for this page: The values on this page come from several collections. Each row therefore states its own origin.
| Description (raw) | Pre-flight query cost and result-size guardrails for AI agents on BigQuery, Snowflake, Databricks Source: MCP-Register · collected on 2026-09-15 · self-declared |
|---|---|
| Environment variables (raw) | GOOGLE_APPLICATION_CREDENTIALS, SNOWFLAKE_ACCOUNT, SNOWFLAKE_USER, SNOWFLAKE_ROLE, SNOWFLAKE_SECONDARY_ROLES, SNOWFLAKE_PRIVATE_KEY_PATH, SNOWFLAKE_PRIVATE_KEY_PASSPHRASE, SNOWFLAKE_PASSWORD, SNOWFLAKE_EDITION, DATABRICKS_SERVER_HOSTNAME, DATABRICKS_HTTP_PATH, DATABRICKS_TOKEN, DATABRICKS_CLIENT_ID, DATABRICKS_CLIENT_SECRET, COST_GUARD_ALLOW_MULTI_STATEMENT_SQL, COST_GUARD_ALLOW_WRITE_STATEMENTS, COST_GUARD_MAX_IN_FLIGHT_QUERIES, COST_GUARD_DATABRICKS_ALLOW_WAREHOUSE_START, COST_GUARD_SNOWFLAKE_ALLOW_WAREHOUSE_RESUME Source: MCP-Register · collected on 2026-10-16 · self-declared |
| Required secret variables (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Transports (raw) | stdio Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Path arguments (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Repository (raw) | https://github.com/mcpsmiths/cost-guard-mcp Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Package registries (raw) | pypi Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Required secret headers (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Path environment variables (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Remote URLs (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Remote hosts (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Registry status message (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| First listed in the registry (raw) | 2026-10-19 Source: MCP-Register · collected on 2026-10-20 · self-declared |
| Last changed in the registry (raw) | 2026-10-19 Source: MCP-Register · collected on 2026-10-20 · self-declared |
| Schema version of the raw record (raw) | https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Delivery form (raw) | package Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Repository platform (raw) | github Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Repository subfolder (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Package identifiers (raw) | cost-guard-mcp Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Package versions (raw) | 0.6.0 Source: MCP-Register · collected on 2026-10-20 · self-declared |
| Runtime hints (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Environment variable formats (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Environment variable descriptions (raw) | COST_GUARD_ALLOW_MULTI_STATEMENT_SQL=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 priced. Skips only this server's scanner: Snowflake still rejects multi-statement text (sessions are pinned to MULTI_STATEMENT_COUNT=1), and only a single SELECT/WITH/VALUES statement is wrapped in a LIMIT subquery - a script runs unwrapped and its row cap (max_rows, default 1000) is enforced by the paged fetch. · COST_GUARD_ALLOW_WRITE_STATEMENTS=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) is SELECT, WITH, VALUES, SHOW, DESCRIBE, DESC or EXPLAIN is estimated or run - a WITH must be followed by a SELECT or VALUES - because warehouse rows re-enter the model's context and can steer the next call. The gate is defence in depth: the authorisation boundary is the credential's grants (deploy a read-only principal). With COST_GUARD_ALLOW_MULTI_STATEMENT_SQL=1 every statement in the text must be a read, so BigQuery scripts (DECLARE/SET/BEGIN) need both opt-outs. Any other value leaves the gate on. · COST_GUARD_DATABRICKS_ALLOW_WAREHOUSE_START=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 bills compute until it auto-stops. Off by default: the server first reads the warehouse's state through the Warehouses API (GET /api/2.0/sql/warehouses/<id>, CAN_VIEW/CAN_USE suffices) and, unless it is RUNNING - also when the state cannot be read - check_credentials returns ok=false and estimate_query_cost returns no byte or dollar figure, without opening a session. run_query_bounded is not gated: its own pre-execution estimate and the execution may start the warehouse. Any other value leaves the guard on. · COST_GUARD_MAX_IN_FLIGHT_QUERIES=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 call over the cap fails with a tool error naming this variable before any warehouse connection is opened. · COST_GUARD_SNOWFLAKE_ALLOW_WAREHOUSE_RESUME=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 warehouse that is not STARTED, which can resume a suspended AUTO_RESUME warehouse and bill compute until it auto-suspends. Off by default: those statements are skipped unless the pinned warehouse's SHOW WAREHOUSES state is STARTED (also skipped when no warehouse is pinned or the state cannot be read), and the QUERY_HISTORY read is skipped whenever estimate_query_cost is called without a warehouse argument; estimate_query_cost then prices at Gen1 rates with the byte-tier heuristic and says so in a caveat, and check_credentials returns ok=true with a detail built from the SHOW WAREHOUSES row. USE WAREHOUSE, EXPLAIN USING JSON, SHOW WAREHOUSES and SELECT CURRENT_WAREHOUSE() always run; run_query_bounded is not gated. Any other value leaves the guard on. · DATABRICKS_CLIENT_ID=Databricks: OAuth machine-to-machine service-principal client ID (preferred for automated use). Requires DATABRICKS_CLIENT_SECRET as well. · DATABRICKS_CLIENT_SECRET=Databricks: OAuth machine-to-machine service-principal client secret. Requires DATABRICKS_CLIENT_ID as well. · DATABRICKS_HTTP_PATH=Databricks: SQL warehouse HTTP path (from the warehouse's Connection Details tab, e.g. /sql/1.0/warehouses/<warehouse-id>). Required to use the databricks engine. · DATABRICKS_SERVER_HOSTNAME=Databricks: SQL warehouse server hostname (e.g. my-workspace.cloud.databricks.com, no scheme, no trailing slash). Required to use the databricks engine. · DATABRICKS_TOKEN=Databricks: personal access token (simplest auth option). Either this or DATABRICKS_CLIENT_ID + DATABRICKS_CLIENT_SECRET is required to use the databricks engine. · GOOGLE_APPLICATION_CREDENTIALS=BigQuery: path to a service-account key file (Application Default Credentials). Required to use the bigquery engine. · SNOWFLAKE_ACCOUNT=Snowflake: account identifier. Required to use the snowflake engine. · SNOWFLAKE_EDITION=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. · SNOWFLAKE_PASSWORD=Snowflake: password (discouraged; prefer SNOWFLAKE_PRIVATE_KEY_PATH). Either this or SNOWFLAKE_PRIVATE_KEY_PATH is required to use the snowflake engine. · SNOWFLAKE_PRIVATE_KEY_PASSPHRASE=Snowflake: passphrase for an encrypted SNOWFLAKE_PRIVATE_KEY_PATH key file, if the key is encrypted. · SNOWFLAKE_PRIVATE_KEY_PATH=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_ROLE=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 is opened - the check runs when the Snowflake configuration is first loaded, on the first Snowflake tool call; the server process itself starts regardless, so a bad role surfaces as a failed check_credentials or a tool error, not as a startup exit). · SNOWFLAKE_SECONDARY_ROLES=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_USER=Snowflake: username. Required to use the snowflake engine. Source: MCP-Register · collected on 2026-10-20 · self-declared |
| Icon formats (raw) | confirmed absent Source: MCP-Register · collected on 2026-09-13 · self-declared |
| Connection paths (source structure) | {"packages":[{"registryType":"pypi","identifier":"cost-guard-mcp","version":"0.6.0","transport":"stdio","environment":[{"name":"GOOGLE_APPLICATION_CREDENTIALS","description":"BigQuery: path to a service-account key file (Application Default Credentials). Required to use the bigquery engine.","required":false,"secret":true},{"name":"SNOWFLAKE_ACCOUNT","description":"Snowflake: account identifier. Required to use the snowflake engine.","required":false,"secret":false},{"name":"SNOWFLAKE_USER","description":"Snowflake: username. Required to use the snowflake engine.","required":false,"secret":false},{"name":"SNOWFLAKE_ROLE","description":"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 is opened - the check runs when the Snowflake configuration is first loaded, on the first Snowflake tool call; the server process itself starts regardless, so a bad role surfaces as a failed check_credentials or a tool error, not as a startup exit).","required":false,"secret":false},{"name":"SNOWFLAKE_SECONDARY_ROLES","description":"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.","required":false,"secret":false},{"name":"SNOWFLAKE_PRIVATE_KEY_PATH","description":"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.","required":false,"secret":true},{"name":"SNOWFLAKE_PRIVATE_KEY_PASSPHRASE","description":"Snowflake: passphrase for an encrypted SNOWFLAKE_PRIVATE_KEY_PATH key file, if the key is encrypted.","required":false,"secret":true},{"name":"SNOWFLAKE_PASSWORD","description":"Snowflake: password (discouraged; prefer SNOWFLAKE_PRIVATE_KEY_PATH). Either this or SNOWFLAKE_PRIVATE_KEY_PATH is required to use the snowflake engine.","required":false,"secret":true},{"name":"SNOWFLAKE_EDITION","description":"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.","required":false,"secret":false},{"name":"DATABRICKS_SERVER_HOSTNAME","description":"Databricks: SQL warehouse server hostname (e.g. my-workspace.cloud.databricks.com, no scheme, no trailing slash). Required to use the databricks engine.","required":false,"secret":false},{"name":"DATABRICKS_HTTP_PATH","description":"Databricks: SQL warehouse HTTP path (from the warehouse's Connection Details tab, e.g. /sql/1.0/warehouses/<warehouse-id>). Required to use the databricks engine.","required":false,"secret":false},{"name":"DATABRICKS_TOKEN","description":"Databricks: personal access token (simplest auth option). Either this or DATABRICKS_CLIENT_ID + DATABRICKS_CLIENT_SECRET is required to use the databricks engine.","required":false,"secret":true},{"name":"DATABRICKS_CLIENT_ID","description":"Databricks: OAuth machine-to-machine service-principal client ID (preferred for automated use). Requires DATABRICKS_CLIENT_SECRET as well.","required":false,"secret":false},{"name":"DATABRICKS_CLIENT_SECRET","description":"Databricks: OAuth machine-to-machine service-principal client secret. Requires DATABRICKS_CLIENT_ID as well.","required":false,"secret":true},{"name":"COST_GUARD_ALLOW_MULTI_STATEMENT_SQL","description":"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 priced. Skips only this server's scanner: Snowflake still rejects multi-statement text (sessions are pinned to MULTI_STATEMENT_COUNT=1), and only a single SELECT/WITH/VALUES statement is wrapped in a LIMIT subquery - a script runs unwrapped and its row cap (max_rows, default 1000) is enforced by the paged fetch.","required":false,"secret":false},{"name":"COST_GUARD_ALLOW_WRITE_STATEMENTS","description":"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) is SELECT, WITH, VALUES, SHOW, DESCRIBE, DESC or EXPLAIN is estimated or run - a WITH must be followed by a SELECT or VALUES - because warehouse rows re-enter the model's context and can steer the next call. The gate is defence in depth: the authorisation boundary is the credential's grants (deploy a read-only principal). With COST_GUARD_ALLOW_MULTI_STATEMENT_SQL=1 every statement in the text must be a read, so BigQuery scripts (DECLARE/SET/BEGIN) need both opt-outs. Any other value leaves the gate on.","required":false,"secret":false},{"name":"COST_GUARD_MAX_IN_FLIGHT_QUERIES","description":"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 call over the cap fails with a tool error naming this variable before any warehouse connection is opened.","required":false,"secret":false},{"name":"COST_GUARD_DATABRICKS_ALLOW_WAREHOUSE_START","description":"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 bills compute until it auto-stops. Off by default: the server first reads the warehouse's state through the Warehouses API (GET /api/2.0/sql/warehouses/<id>, CAN_VIEW/CAN_USE suffices) and, unless it is RUNNING - also when the state cannot be read - check_credentials returns ok=false and estimate_query_cost returns no byte or dollar figure, without opening a session. run_query_bounded is not gated: its own pre-execution estimate and the execution may start the warehouse. Any other value leaves the guard on.","required":false,"secret":false},{"name":"COST_GUARD_SNOWFLAKE_ALLOW_WAREHOUSE_RESUME","description":"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 warehouse that is not STARTED, which can resume a suspended AUTO_RESUME warehouse and bill compute until it auto-suspends. Off by default: those statements are skipped unless the pinned warehouse's SHOW WAREHOUSES state is STARTED (also skipped when no warehouse is pinned or the state cannot be read), and the QUERY_HISTORY read is skipped whenever estimate_query_cost is called without a warehouse argument; estimate_query_cost then prices at Gen1 rates with the byte-tier heuristic and says so in a caveat, and check_credentials returns ok=true with a detail built from the SHOW WAREHOUSES row. USE WAREHOUSE, EXPLAIN USING JSON, SHOW WAREHOUSES and SELECT CURRENT_WAREHOUSE() always run; run_query_bounded is not gated. Any other value leaves the guard on.","required":false,"secret":false}],"additional_arguments_declared":false}],"remotes":[]} Source: MCP-Register · collected on 2026-10-20 · self-declared |
Embed this badge
Paste this line into a README of your own. The badge states how many values the registry holds for the entry and when it last looked, and it links back to this page.
[](https://tracevero.com/mcp/io-github-mcpsmiths-cost-guard-mcp)
The image is drawn again on every request, so it always reports the current state while the pasted line stays as it is. It carries no rating and no traffic light – only the two measured figures.
Changes
| 2026-10-20 | Declared version: 0.5.0 → 0.6.0 |
|---|---|
| 2026-10-20 | Last changed in the registry (raw): 2026-10-15 → 2026-10-19 |
| 2026-10-20 | First listed in the registry (raw): 2026-10-15 → 2026-10-19 |
These are the 3 most recent changes to this entry. Full history
tracevero · https://tracevero.com/mcp/io-github-mcpsmiths-cost-guard-mcp