{"passport":{"unfragile":{"@version":"1.0","version":"2026-05","artifact":{"id":"awesome-aws-cost-analysis","slug":"aws-cost-analysis","name":"AWS Cost Analysis","type":"mcp","url":"https://github.com/awslabs/mcp/tree/main/src/cost-analysis-mcp-server","page_url":"https://unfragile.ai/aws-cost-analysis","categories":["mcp-servers"],"tags":[],"pricing":{"model":"open_source","free":true,"starting_price":null},"status":"active","verified":false},"capabilities":[{"id":"awesome-aws-cost-analysis__cap_0","uri":"capability://data.processing.analysis.cdk.project.ast.parsing.and.aws.service.extraction","name":"cdk project ast parsing and aws service extraction","description":"Parses AWS CDK TypeScript/JavaScript projects by traversing the abstract syntax tree to identify all AWS service constructs instantiated in the infrastructure code. Uses static analysis rather than runtime execution to extract service declarations, construct parameters, and resource configurations without requiring deployment or AWS credentials. Maps CDK construct hierarchy to concrete AWS service types (EC2, Lambda, RDS, etc.) for downstream cost analysis.","intents":["I need to understand which AWS services my CDK project will use before deploying","Extract a complete inventory of AWS resources from my infrastructure code","Identify all service dependencies in my CDK stack without running it"],"best_for":["DevOps engineers analyzing CDK projects for cost planning","Teams migrating infrastructure code to AWS and needing service inventory","Developers building cost estimation tools on top of CDK analysis"],"limitations":["Cannot resolve dynamic service instantiation (services created in loops or conditionals with runtime-determined counts)","Requires valid TypeScript/JavaScript syntax — cannot parse partially-written or broken code","Does not execute CDK context values or custom logic, so parameterized resource counts are not resolved","Limited to CDK v2 construct patterns; custom L1 constructs may not be recognized"],"requires":["AWS CDK project with TypeScript or JavaScript infrastructure code","Node.js 18+ for AST parsing and TypeScript compilation","Valid CDK project structure with cdk.json configuration file"],"input_types":["TypeScript/JavaScript source files","CDK stack definitions","cdk.json configuration"],"output_types":["structured JSON mapping of CDK constructs to AWS services","service inventory with construct parameters","resource configuration metadata"],"categories":["data-processing-analysis","code-analysis"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"awesome-aws-cost-analysis__cap_1","uri":"capability://data.processing.analysis.aws.pricing.data.aggregation.from.multiple.sources","name":"aws pricing data aggregation from multiple sources","description":"Fetches and normalizes AWS pricing information from both AWS Pricing API (bulk JSON pricing data) and AWS pricing webpages (HTML scraping for real-time rates). Maintains a unified pricing schema that maps service names, instance types, regions, and pricing dimensions to current rates. Handles pricing updates and regional variations by querying authoritative AWS sources and caching results to minimize API calls.","intents":["Get current AWS pricing for specific services and instance types","Retrieve pricing across multiple AWS regions for cost comparison","Access on-demand, reserved instance, and spot pricing tiers"],"best_for":["Cost analysis tools that need real-time pricing accuracy","Teams building AWS cost estimation engines","Infrastructure teams comparing costs across regions and pricing models"],"limitations":["AWS Pricing API has rate limits and may require throttling for high-volume queries","HTML scraping of pricing pages is fragile to AWS website layout changes","Pricing data is eventually consistent — may lag actual AWS pricing by hours","Does not include custom pricing agreements or enterprise discounts","Regional pricing variations require separate queries per region, increasing latency"],"requires":["AWS account with permissions to call AWS Pricing API (pricing:GetProducts)","Network access to AWS pricing endpoints and pricing.aws.amazon.com","Optional: AWS credentials for authenticated API calls (some pricing data is public)"],"input_types":["service names (e.g., 'AmazonEC2', 'AmazonRDS')","instance types (e.g., 't3.medium', 'db.r5.large')","AWS regions (e.g., 'us-east-1', 'eu-west-1')","pricing dimensions (on-demand, reserved, spot)"],"output_types":["JSON pricing data with rates per unit","pricing dimension metadata (hourly, monthly, per-GB)","regional pricing variations","pricing tier information"],"categories":["data-processing-analysis","search-retrieval"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"awesome-aws-cost-analysis__cap_2","uri":"capability://data.processing.analysis.service.to.pricing.dimension.mapping.and.cost.calculation","name":"service-to-pricing-dimension mapping and cost calculation","description":"Maps extracted CDK services to their corresponding AWS pricing dimensions (compute hours, storage GB, data transfer, API calls, etc.) and calculates estimated monthly costs based on resource configurations. Implements service-specific pricing logic (e.g., Lambda pricing by invocations + memory-duration, EC2 by instance-hours + data transfer) and aggregates costs across all services in a stack. Handles regional pricing variations and pricing model selection (on-demand vs reserved vs spot).","intents":["Calculate total estimated monthly cost for my CDK infrastructure","Break down costs by service to identify expensive components","Compare costs across different instance types or regions","Estimate cost impact of scaling resources (e.g., adding more Lambda concurrency)"],"best_for":["DevOps engineers doing cost forecasting before deployment","Startup founders estimating AWS spend for budgeting","Teams optimizing infrastructure for cost efficiency"],"limitations":["Estimates assume average usage patterns — actual costs vary with real traffic and utilization","Does not account for AWS free tier, reserved instance commitments, or savings plans","Pricing calculations are simplified; complex services (SageMaker, Redshift) may have inaccurate estimates","Does not include data transfer costs between services or egress charges","Cannot estimate costs for services with usage-based pricing without traffic assumptions"],"requires":["Extracted service inventory from CDK analysis capability","Current AWS pricing data from pricing aggregation capability","Service-specific pricing dimension definitions (mapping file or database)"],"input_types":["CDK service inventory with resource configurations","AWS pricing data (rates per dimension)","region specification","pricing model preference (on-demand, reserved, spot)"],"output_types":["estimated monthly cost per service","total stack cost estimate","cost breakdown by pricing dimension","cost sensitivity analysis (cost per unit of resource)"],"categories":["data-processing-analysis","planning-reasoning"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"awesome-aws-cost-analysis__cap_3","uri":"capability://tool.use.integration.mcp.tool.interface.for.cost.analysis.queries","name":"mcp tool interface for cost analysis queries","description":"Exposes cost analysis capabilities as MCP tools (function definitions) that AI assistants can call via the Model Context Protocol. Defines tool schemas for analyzing CDK projects, retrieving pricing, and calculating costs, with structured input/output contracts. Handles tool invocation from MCP clients, executes analysis pipelines, and returns results in MCP-compliant JSON format. Enables bidirectional context flow where AI assistants can iteratively refine cost analysis based on conversation context.","intents":["I want to ask an AI assistant about the cost of my CDK infrastructure in natural language","Enable my AI coding assistant to analyze costs while I'm designing infrastructure","Get cost recommendations from an AI agent analyzing my CDK code"],"best_for":["AI assistant developers integrating AWS cost analysis into chat interfaces","Teams using Claude or other MCP-compatible AI models for infrastructure planning","Organizations building internal AI agents for cost governance"],"limitations":["MCP tool calling adds ~100-200ms latency per analysis request (network round-trip)","Tool schemas must be predefined; dynamic tool generation not supported by MCP spec","Context window limits may prevent analysis of very large CDK projects (1000+ resources)","No built-in caching of analysis results — repeated queries re-execute full analysis pipeline","Tool invocation errors are not automatically retried; client must implement retry logic"],"requires":["MCP-compatible client (Claude, Cursor, or custom MCP client)","MCP server running locally or remotely with network access","Tool schema definitions in MCP format (JSON with input/output specifications)"],"input_types":["CDK project path or code snippet","AWS region specification","pricing model preference","natural language queries (via AI assistant interpretation)"],"output_types":["MCP tool results (JSON-formatted cost analysis)","structured cost breakdowns","recommendations or insights"],"categories":["tool-use-integration","automation-workflow"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"awesome-aws-cost-analysis__cap_4","uri":"capability://data.processing.analysis.cdk.project.file.discovery.and.validation","name":"cdk project file discovery and validation","description":"Automatically discovers CDK project structure by scanning for cdk.json configuration files, tsconfig.json, and stack definition files. Validates project structure against CDK conventions (lib/ directory for constructs, bin/ for entry points) and checks for required dependencies (aws-cdk-lib, constructs). Provides error reporting for misconfigured projects and suggests fixes. Handles monorepo structures with multiple CDK projects.","intents":["Automatically detect and validate a CDK project before analyzing it","Get helpful error messages if my CDK project structure is invalid","Analyze multiple CDK projects in a monorepo"],"best_for":["Developers working with CDK for the first time","Teams with complex monorepo structures","CI/CD pipelines that need to validate CDK projects before cost analysis"],"limitations":["Only recognizes standard CDK project layouts; custom directory structures may not be detected","Does not validate CDK code correctness — only project structure and configuration","Monorepo support requires explicit project path specification; auto-discovery is limited","Cannot detect CDK projects using non-standard build tools (custom webpack configs, etc.)"],"requires":["Local filesystem access to CDK project directory","cdk.json file present in project root","Node.js 18+ for package.json parsing"],"input_types":["filesystem path to CDK project","optional: project configuration overrides"],"output_types":["project validation status (valid/invalid)","discovered stack definitions","error messages with remediation suggestions","project metadata (CDK version, dependencies)"],"categories":["data-processing-analysis","automation-workflow"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"awesome-aws-cost-analysis__cap_5","uri":"capability://automation.workflow.cost.analysis.result.caching.and.invalidation","name":"cost analysis result caching and invalidation","description":"Caches cost analysis results (service inventory, pricing data, cost calculations) with configurable TTL to avoid redundant computation and API calls. Implements cache invalidation strategies: TTL-based expiration for pricing data (updates hourly), file-based invalidation when CDK source files change, and manual cache clearing. Tracks cache hit/miss rates and provides cache statistics for performance monitoring.","intents":["Speed up repeated cost analysis queries by caching results","Ensure pricing data stays fresh without excessive API calls","Understand cache performance and hit rates"],"best_for":["Interactive AI assistants that analyze the same CDK project multiple times","Cost analysis tools with high query volume","Teams running cost analysis in CI/CD pipelines"],"limitations":["Cache invalidation based on file modification time may miss changes in imported modules","Pricing cache TTL is fixed; cannot dynamically adjust based on AWS pricing update frequency","No distributed cache support — caching is local to single MCP server instance","Cache size is unbounded; large projects may consume significant memory","Stale pricing data may be served if cache TTL is too long"],"requires":["In-memory or persistent cache storage (Redis optional, local storage default)","File system access for modification time tracking","Configuration for cache TTL values per data type"],"input_types":["cache key (CDK project path + region + pricing model)","cache TTL configuration","cache invalidation triggers (file changes, manual clear)"],"output_types":["cached analysis results","cache statistics (hit rate, size, age)","invalidation confirmations"],"categories":["automation-workflow","memory-knowledge"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"awesome-aws-cost-analysis__cap_6","uri":"capability://planning.reasoning.cost.sensitivity.analysis.and.what.if.scenarios","name":"cost sensitivity analysis and what-if scenarios","description":"Calculates cost sensitivity to resource parameter changes (e.g., 'what if I double the Lambda memory?' or 'what if I use reserved instances?'). Implements parameterized cost calculations that accept modified resource configurations and compute delta costs. Supports scenario comparison (on-demand vs reserved vs spot pricing) and identifies cost-driving resources. Enables AI assistants to reason about cost trade-offs during infrastructure design.","intents":["Understand how changing instance types or resource counts affects total cost","Compare costs across different pricing models (on-demand vs reserved)","Identify which resources are the biggest cost drivers","Explore cost optimization scenarios before making infrastructure changes"],"best_for":["Infrastructure teams optimizing for cost","Startups doing capacity planning with cost constraints","AI-assisted infrastructure design workflows"],"limitations":["Sensitivity analysis assumes linear cost relationships; some services have non-linear pricing (e.g., data transfer tiers)","Does not account for usage-based discounts or volume commitments","Scenario comparison is limited to predefined pricing models; custom pricing agreements not supported","Cost delta calculations may be inaccurate for services with complex pricing (e.g., SageMaker)","Does not model cost changes from architectural changes (e.g., switching from EC2 to Lambda)"],"requires":["Base cost analysis results (from cost calculation capability)","Resource parameter definitions and valid ranges","Pricing data for multiple pricing models"],"input_types":["base CDK configuration","parameter modifications (instance type, count, region, pricing model)","scenario definitions"],"output_types":["delta cost (change from base)","new total cost estimate","cost comparison matrix (multiple scenarios)","cost sensitivity metrics (cost per unit change)"],"categories":["planning-reasoning","data-processing-analysis"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"awesome-aws-cost-analysis__cap_7","uri":"capability://planning.reasoning.multi.region.cost.comparison.and.optimization.recommendations","name":"multi-region cost comparison and optimization recommendations","description":"Analyzes cost differences across AWS regions for the same CDK infrastructure by querying regional pricing variations. Identifies regions with lowest cost and highlights services with significant regional price differences. Generates optimization recommendations (e.g., 'move RDS to us-east-1 to save 15%'). Handles region-specific service availability (some services not available in all regions).","intents":["Find the cheapest AWS region for my infrastructure","Understand regional pricing variations for my services","Get recommendations for region selection based on cost"],"best_for":["Global applications choosing deployment regions","Cost-conscious teams optimizing region selection","Multi-region architectures balancing cost and latency"],"limitations":["Does not account for data residency requirements or compliance constraints","Regional pricing comparison ignores data transfer costs between regions","Does not consider latency or performance implications of region choice","Some services have different pricing models across regions (not just rate differences)","Recommendations are cost-only; do not factor in business requirements"],"requires":["Base cost analysis results","AWS pricing data for multiple regions","Service availability matrix (which services available in which regions)"],"input_types":["CDK service inventory","list of regions to compare (or 'all' for all AWS regions)","optional: region constraints or preferences"],"output_types":["cost breakdown by region","regional cost comparison matrix","lowest-cost region recommendation","per-service regional price differences","service availability warnings (service not available in region X)"],"categories":["planning-reasoning","data-processing-analysis"],"confidence":0.5,"matches":0,"success_rate":0},{"id":"awesome-aws-cost-analysis__cap_8","uri":"capability://text.generation.language.cost.analysis.report.generation.and.export","name":"cost analysis report generation and export","description":"Generates structured cost analysis reports in multiple formats (JSON, CSV, HTML, Markdown) containing cost breakdowns, service inventory, pricing details, and recommendations. Supports custom report templates and filtering (e.g., 'show only services over $100/month'). Exports reports for sharing with stakeholders, archiving, or integration with cost management tools. Includes metadata (analysis timestamp, CDK version, pricing data source).","intents":["Export cost analysis results for sharing with finance or management teams","Generate cost reports for documentation or compliance","Create cost estimates for customer proposals or budgeting"],"best_for":["Teams sharing cost analysis with non-technical stakeholders","Organizations requiring cost documentation for compliance","Consulting firms generating cost estimates for clients"],"limitations":["Report generation adds latency (100-500ms for large reports)","Custom report templates require template language knowledge (Handlebars, Jinja, etc.)","HTML reports may not render correctly in all email clients","CSV export loses hierarchical structure of cost breakdowns","Reports are static snapshots; do not update automatically when pricing changes"],"requires":["Completed cost analysis results","Report template definitions (for custom reports)","File system write access (for export)"],"input_types":["cost analysis results","report format (JSON, CSV, HTML, Markdown)","optional: custom template, filtering criteria"],"output_types":["formatted report (text, HTML, or structured data)","exported file (if file export requested)","report metadata (timestamp, sources, assumptions)"],"categories":["text-generation-language","data-processing-analysis"],"confidence":0.5,"matches":0,"success_rate":0}],"trust":{"score":30,"verified":false,"data_access_risk":"high","permissions":["AWS CDK project with TypeScript or JavaScript infrastructure code","Node.js 18+ for AST parsing and TypeScript compilation","Valid CDK project structure with cdk.json configuration file","AWS account with permissions to call AWS Pricing API (pricing:GetProducts)","Network access to AWS pricing endpoints and pricing.aws.amazon.com","Optional: AWS credentials for authenticated API calls (some pricing data is public)","Extracted service inventory from CDK analysis capability","Current AWS pricing data from pricing aggregation capability","Service-specific pricing dimension definitions (mapping file or database)","MCP-compatible client (Claude, Cursor, or custom MCP client)"],"failure_modes":["Cannot resolve dynamic service instantiation (services created in loops or conditionals with runtime-determined counts)","Requires valid TypeScript/JavaScript syntax — cannot parse partially-written or broken code","Does not execute CDK context values or custom logic, so parameterized resource counts are not resolved","Limited to CDK v2 construct patterns; custom L1 constructs may not be recognized","AWS Pricing API has rate limits and may require throttling for high-volume queries","HTML scraping of pricing pages is fragile to AWS website layout changes","Pricing data is eventually consistent — may lag actual AWS pricing by hours","Does not include custom pricing agreements or enterprise discounts","Regional pricing variations require separate queries per region, increasing latency","Estimates assume average usage patterns — actual costs vary with real traffic and utilization","builder identity is not verified yet","no observed match outcomes yet"],"rank_breakdown":{"adoption":0.05,"quality":0.43,"ecosystem":0.39999999999999997,"match_graph":0.25,"freshness":0.52,"weights":{"adoption":0.25,"quality":0.25,"ecosystem":0.15,"match_graph":0.23,"freshness":0.12}},"observed_outcomes":{"matches":0,"success_rate":0,"avg_confidence":0,"top_intents":[],"last_matched_at":null},"maintenance":{"status":"active","updated_at":"2026-06-17T09:51:02.371Z","last_scraped_at":"2026-05-03T14:00:15.503Z","last_commit":null},"community":{"stars":null,"forks":null,"weekly_downloads":null,"model_downloads":null,"model_likes":null}},"distribution":{"claim_url":"https://unfragile.ai/submit?claim=aws-cost-analysis","compare_url":"https://unfragile.ai/compare?artifact=aws-cost-analysis"}},"signature":"1S62MfrkMNaF8DveKjquIcLw4vlyHwOdx1bSymbS+YSQvZr1dtMNCSZy5ZEx9+HJQaCnqIW9oYUXl8n3xu4dDw==","signedAt":"2026-06-21T09:57:25.657Z","signedBy":"unfragile.ai","version":1},"_links":{"self":"https://unfragile.ai/api/v1/passport/aws-cost-analysis","artifact":"https://unfragile.ai/aws-cost-analysis","verify":"https://unfragile.ai/api/v1/verify?slug=aws-cost-analysis","publicKey":"https://unfragile.ai/api/v1/trust-passport-public-key","spec":"https://unfragile.ai/trust","schema":"https://unfragile.ai/schema.json","docs":"https://unfragile.ai/docs"}}