Cost Guard MCP
io.github.mcpsmiths/cost-guard-mcp · version 0.6.0
Community listing. Not installed or verified by cosmic-mcp. Read the source and its permissions before you run it.
Pre-flight query cost and result-size guardrails for AI agents on BigQuery, Snowflake, Databricks
https://github.com/mcpsmiths/cost-guard-mcpQuick facts
- Listing: Community
- Published Oct 19, 17:04 UTC
- Transport: stdio
- Package: pypi
cost-guard-mcp0.6.0 - Listed by cosmic-mcp: Nov 9, 04:26 UTC
Details
- Repository: https://github.com/mcpsmiths/cost-guard-mcp
- PyPI: https://pypi.org/project/cost-guard-mcp/
- Needs settings:
GOOGLE_APPLICATION_CREDENTIALSSNOWFLAKE_ACCOUNTSNOWFLAKE_USERSNOWFLAKE_ROLESNOWFLAKE_SECONDARY_ROLESSNOWFLAKE_PRIVATE_KEY_PATHSNOWFLAKE_PRIVATE_KEY_PASSPHRASESNOWFLAKE_PASSWORDSNOWFLAKE_EDITIONDATABRICKS_SERVER_HOSTNAMEDATABRICKS_HTTP_PATHDATABRICKS_TOKENDATABRICKS_CLIENT_IDDATABRICKS_CLIENT_SECRETCOST_GUARD_ALLOW_MULTI_STATEMENT_SQLCOST_GUARD_ALLOW_WRITE_STATEMENTSCOST_GUARD_MAX_IN_FLIGHT_QUERIESCOST_GUARD_DATABRICKS_ALLOW_WAREHOUSE_STARTCOST_GUARD_SNOWFLAKE_ALLOW_WAREHOUSE_RESUME
Setup snippets
Generated from the registry entry. cosmic-mcp has not run or reviewed this server; values in angle brackets are yours to fill in.
Run it locally (pypi)
uvx 'cost-guard-mcp==0.6.0'Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"cost-guard-mcp": {
"args": [
"cost-guard-mcp==0.6.0"
],
"command": "uvx",
"env": {
"COST_GUARD_ALLOW_MULTI_STATEMENT_SQL": "<your cost guard allow multi statement sql>",
"COST_GUARD_ALLOW_WRITE_STATEMENTS": "<your cost guard allow write statements>",
"COST_GUARD_DATABRICKS_ALLOW_WAREHOUSE_START": "<your cost guard databricks allow warehouse start>",
"COST_GUARD_MAX_IN_FLIGHT_QUERIES": "<your cost guard max in flight queries>",
"COST_GUARD_SNOWFLAKE_ALLOW_WAREHOUSE_RESUME": "<your cost guard snowflake allow warehouse resume>",
"DATABRICKS_CLIENT_ID": "<your databricks client id>",
"DATABRICKS_CLIENT_SECRET": "<your databricks client secret>",
"DATABRICKS_HTTP_PATH": "<your databricks http path>",
"DATABRICKS_SERVER_HOSTNAME": "<your databricks server hostname>",
"DATABRICKS_TOKEN": "<your databricks token>",
"GOOGLE_APPLICATION_CREDENTIALS": "<your google application credentials>",
"SNOWFLAKE_ACCOUNT": "<your snowflake account>",
"SNOWFLAKE_EDITION": "<your snowflake edition>",
"SNOWFLAKE_PASSWORD": "<your snowflake password>",
"SNOWFLAKE_PRIVATE_KEY_PASSPHRASE": "<your snowflake private key passphrase>",
"SNOWFLAKE_PRIVATE_KEY_PATH": "<your snowflake private key path>",
"SNOWFLAKE_ROLE": "<your snowflake role>",
"SNOWFLAKE_SECONDARY_ROLES": "<your snowflake secondary roles>",
"SNOWFLAKE_USER": "<your snowflake user>"
}
}
}
}Claude Code
claude mcp add 'cost-guard-mcp' -- uvx 'cost-guard-mcp==0.6.0'Cursor (.cursor/mcp.json)
{
"mcpServers": {
"cost-guard-mcp": {
"args": [
"cost-guard-mcp==0.6.0"
],
"command": "uvx",
"env": {
"COST_GUARD_ALLOW_MULTI_STATEMENT_SQL": "<your cost guard allow multi statement sql>",
"COST_GUARD_ALLOW_WRITE_STATEMENTS": "<your cost guard allow write statements>",
"COST_GUARD_DATABRICKS_ALLOW_WAREHOUSE_START": "<your cost guard databricks allow warehouse start>",
"COST_GUARD_MAX_IN_FLIGHT_QUERIES": "<your cost guard max in flight queries>",
"COST_GUARD_SNOWFLAKE_ALLOW_WAREHOUSE_RESUME": "<your cost guard snowflake allow warehouse resume>",
"DATABRICKS_CLIENT_ID": "<your databricks client id>",
"DATABRICKS_CLIENT_SECRET": "<your databricks client secret>",
"DATABRICKS_HTTP_PATH": "<your databricks http path>",
"DATABRICKS_SERVER_HOSTNAME": "<your databricks server hostname>",
"DATABRICKS_TOKEN": "<your databricks token>",
"GOOGLE_APPLICATION_CREDENTIALS": "<your google application credentials>",
"SNOWFLAKE_ACCOUNT": "<your snowflake account>",
"SNOWFLAKE_EDITION": "<your snowflake edition>",
"SNOWFLAKE_PASSWORD": "<your snowflake password>",
"SNOWFLAKE_PRIVATE_KEY_PASSPHRASE": "<your snowflake private key passphrase>",
"SNOWFLAKE_PRIVATE_KEY_PATH": "<your snowflake private key path>",
"SNOWFLAKE_ROLE": "<your snowflake role>",
"SNOWFLAKE_SECONDARY_ROLES": "<your snowflake secondary roles>",
"SNOWFLAKE_USER": "<your snowflake user>"
}
}
}
}VS Code (.vscode/mcp.json)
{
"servers": {
"cost-guard-mcp": {
"args": [
"cost-guard-mcp==0.6.0"
],
"command": "uvx",
"env": {
"COST_GUARD_ALLOW_MULTI_STATEMENT_SQL": "<your cost guard allow multi statement sql>",
"COST_GUARD_ALLOW_WRITE_STATEMENTS": "<your cost guard allow write statements>",
"COST_GUARD_DATABRICKS_ALLOW_WAREHOUSE_START": "<your cost guard databricks allow warehouse start>",
"COST_GUARD_MAX_IN_FLIGHT_QUERIES": "<your cost guard max in flight queries>",
"COST_GUARD_SNOWFLAKE_ALLOW_WAREHOUSE_RESUME": "<your cost guard snowflake allow warehouse resume>",
"DATABRICKS_CLIENT_ID": "<your databricks client id>",
"DATABRICKS_CLIENT_SECRET": "<your databricks client secret>",
"DATABRICKS_HTTP_PATH": "<your databricks http path>",
"DATABRICKS_SERVER_HOSTNAME": "<your databricks server hostname>",
"DATABRICKS_TOKEN": "<your databricks token>",
"GOOGLE_APPLICATION_CREDENTIALS": "<your google application credentials>",
"SNOWFLAKE_ACCOUNT": "<your snowflake account>",
"SNOWFLAKE_EDITION": "<your snowflake edition>",
"SNOWFLAKE_PASSWORD": "<your snowflake password>",
"SNOWFLAKE_PRIVATE_KEY_PASSPHRASE": "<your snowflake private key passphrase>",
"SNOWFLAKE_PRIVATE_KEY_PATH": "<your snowflake private key path>",
"SNOWFLAKE_ROLE": "<your snowflake role>",
"SNOWFLAKE_SECONDARY_ROLES": "<your snowflake secondary roles>",
"SNOWFLAKE_USER": "<your snowflake user>"
},
"type": "stdio"
}
}
}Related servers
- Analytics Legends — SAP AI & Analytics MCP Server Verified domain
SAP AI & analytics market data for agents: SAP firms, day rates, jobs, Joule & BDC news - Ankra Verified domain
Deploy and operate Kubernetes: clusters, stacks, apps, logs, metrics and security, with OAuth. - AutoRFP.ai Verified domain
Search AutoRFP.ai projects, requirements, content library, and tags for Q&A and analytics. - Dubai Data — Dubai real estate statistics Verified domain
Dubai property prices, AED/sqft, sales, rents, yields and projects from DLD registered transactions. - 100Trades Verified domain
Read your 100Trades day-trading simulator record: trades, R, stops, notes and analytics. - 11agents Cloud MCP
Cloud MCP for project data, analytics, research, content planning, media generation, and growth.