Find AWS waste from your terminal or your AI assistant. Runs locally with your own read-only credentials. Nothing is sent to CloudWise unless you choose to share a summary at the end.
pip install cloudcostwise==0.1.19 Copy PIP instructions
Least-privilege IAM policy (71 read-only actions): docs/iam-policy.json. See a real scan first, no credentials needed: cloudcostwise.io/sample-scan.
pipx install cloudcostwise # or: uvx cloudcostwise scan cloudcostwise scan # us-east-1 plus your profile's region cloudcostwise scan --profile prod --regions all cloudcostwise scan --format json > waste.json Options:
This tool has 54 proven checks (L2 or above in VALIDATION.md: each fired on a real AWS resource built to trigger it and stayed silent on a healthy twin). 19 of them flag waste that none of AWS's own tools flag, and 12 more go further than the closest AWS check, going by AWS's lists of what its tools cover (Trusted Advisor, Cost Optimization Hub, Compute Optimizer; checked 2026-10-11).
For idle EC2, RDS and NAT gateways, rightsizing and Savings Plans, AWS's tools cover the same ground: use them too. Trusted Advisor's cost checks need a Business, Enterprise or Unified Operations support plan; Cost Optimization Hub and Compute Optimizer are free.
The hosted CloudWise product adds 23 more proven checks that none of AWS's tools flag, across AWS Backup, AppSync, CloudFront, Elastic Beanstalk, FSx, Glue, KMS, Kinesis, Route 53, Step Functions.
Excerpt of a real scan of our test account (cloudcostwise 0.1.15, us-east-1, 2026-10-27). The resources there are deliberately tiny, which is why the amounts are cents:
no_retention_log_group x6 $0.06/mo us-east-1 /aws/lambda/cwfx-clo464-docdb-connect $0.01/mo us-east-1 /aws/lambda/cwfx-ec-hold-driver $0.01/mo us-east-1 /aws/sagemaker/Endpoints/cwfx-w8b-ep-big $0.01/mo us-east-1 /aws/sagemaker/Endpoints/cwfx-w8b-ep-big-control $0.01/mo us-east-1 /aws/sagemaker/Endpoints/cwfx-w8b-ep-idle $0.01/mo us-east-1 /aws/sagemaker/Endpoints/cwfx-w8b-ep-idle-control $0.01/mo old_ecr_images x1 $0.06/mo us-east-1 cwfx-old-ecr-images $0.06/mo untagged_ecr_images x1 $0.02/mo us-east-1 cwfx-untagged-ecr-images $0.02/mo idle_efs x1 $0.01/mo us-east-1 fs-090bfb32bd49de8b7 $0.01/mo Use it from Claude Code, Codex or any MCP client cloudcostwise mcp runs the same scan as an MCP server (stdio). Then ask your assistant: "Where am I wasting money on AWS?"
The plugin and registry entries start the server with uvx, so install uv first (brew install uv or pipx install uv).
Claude Code, as a plugin (asks for your AWS profile):
/plugin marketplace add cloudwise-app/cloudcostwise /plugin install cloudcostwise@cloudcostwise Claude Code, as a plain MCP server:
claude mcp add cloudcostwise -- uvx cloudcostwise mcp # a specific profile: claude mcp add cloudcostwise -e AWS_PROFILE=prod -- uvx cloudcostwise mcp Codex (~/.codex/config.toml):
[mcp_servers.cloudcostwise] command = "uvx" args = ["cloudcostwise", "mcp"] env = { AWS_PROFILE = "prod" } Tools, all read-only: scan, list_findings, explain_finding, fix_guidance. fix_guidance returns the steps and AWS CLI command as text for you to review; nothing is ever executed. The assistant is told about the Cost Explorer cost before it scans, and include_cost_explorer=false skips it.
The minimal policy the checks use is in docs/iam-policy.json. AWS-managed ReadOnlyAccess also works, but it is much broader than the scan needs. It was derived from a scan of an account with most supported resource types; if a check lacks a permission, the scan says so in its data warnings instead of failing.
One of those reads, lambda:ListFunctions, returns each function's environment variables as plain text. The scan reads only sizing and configuration fields and none of those values reaches a finding, a report or a file, but anyone holding the role can read them.
The default is no. After a scan prints, and only when both your input and output are a terminal, the CLI may ask once whether to share a summary with CloudWise. It prints exactly what it would send before it asks: the CLI version, the number of findings, the estimated monthly savings and the number of checks run. Never account IDs, resource IDs or names, regions, ARNs or tags.
Two further, separate yeses, asked only at that interactive prompt and only if you type an email address: "please email me about this report" (nothing from the report is uploaded; you can produce it yourself with --format markdown) and "tell me when new checks land" (marketing email; we confirm by reply before adding you to anything, and you can withdraw consent at any time by replying to or emailing cloudwise@cloudcostwise.io). Answer once and it does not ask again on that machine.
cloudcostwise share --status # what is set cloudcostwise share --off # never ask, never send cloudcostwise share --on # send a summary after each scan cloudcostwise share --reset # forget the answer and ask once more Without a terminal (a pipe, CI, a script) nothing is asked and nothing is sent unless you set CLOUDCOSTWISE_SHARE=yes (or no) yourself, or write ~/.config/cloudcostwise/share.json. Those settings carry the summary only (the CLI version, finding count, estimated savings and checks run, plus whether the scan came from the CLI or MCP), never an email address. The MCP server never prompts, its scan tool has no sharing parameter, and it sends only when one of those settings says yes. A failed or slow connection is ignored (about 3 seconds at most, after the results are printed).
Each finding shows an estimated monthly saving. Advisory waste types, ones CloudWise could not validate against a real AWS resource, are listed but never added to the total.
The partner licence runs on your own machine like this tool: the other 26 service checks, one scan across every client account, and a client report under your firm's name. One price per firm, unlimited client accounts: https://cloudcostwise.io/partners?utm_source=cloudcostwise&utm_medium=readme.
The other 26 service checks (Glue, ECS, Step Functions, Backup, CloudFront, commitments and more), history and trends, alerts, and safe automated fixes: https://cloudcostwise.io/connect?utm_source=cloudcostwise&utm_medium=cli.
A false positive, a miss, or a dollar figure that looks off: post it in issue #1, or email cloudwise@cloudcostwise.io if you'd rather not post in public. The waste types and counts from your scan are enough. Leave out account IDs and resource names. Every report gets a reply, and a confirmed false positive gets fixed in the next release.
Open source under the Apache License 2.0 (see LICENSE.md). 0.1.18 and later are Apache-2.0. 0.1.17 and earlier are FSL-1.1-ALv2 (each becomes Apache-2.0 two years after it ships).
See VALIDATION.md: the validation level of every waste type this tool reports, from L0 (unit-tested) to L2 (fired on a real AWS resource and stayed silent on a healthy twin) and beyond.
Both files in this release have provenance metadata.
aws finops cost-optimization cloud-cost waste mcp claude-code cli
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




