aws-billing-mcp
aws-billing-mcp
MCPサーバー(stdio)——ローカルのAWS CLIを介して<対象AWSアカウント>のBilling and Cost Managementデータにアクセスし、Quick DesktopなどのMCPクライアントで消費・使用量分析を行うためのものです。
前提条件
Node.js ≥ 18(ローカルにはv24がインストール済み)
AWS CLI v2、かつdefault profile(または
AWS_PROFILEで指定されたprofile)の認証情報が<対象AWSアカウント>に属していることIAM権限:
ce:Get*、budgets:ViewBudget、sts:GetCallerIdentity
サーバーは最初のツール呼び出し時にsts get-caller-identityを使用して現在の認証情報が確かに<対象AWSアカウント>に属していることを検証し、一致しない場合は直接エラーを返し、誤って他のアカウントを参照するのを防ぎます。
Related MCP server: aws-cost-mcp
インストール
cd ~/aws-billing-mcp
npm installスモークテスト
node test-client.mjsすべてのツールを一覧表示し、今月のサービス別コストTop5を照会し、月末のコスト予測を1回行います。
Quick Desktopへの接続
Quick DesktopのMCPサーバー設定(Settings → 統合/MCP servers、またはそのJSON設定ファイル)に以下を追加します:
{
"mcpServers": {
"aws-billing": {
"command": "node",
"args": ["~/aws-billing-mcp/index.mjs"],
"env": {
"AWS_PROFILE": "default"
}
}
}
}注意:nodeはnvmでインストールされています(
~/.nvm/versions/node/v24.8.0/bin/node)。Quick Desktop 起動時にnodeまたはawsが見つからない場合は、commandをnodeの絶対パスに変更し、envに"PATH": "/usr/local/bin:/usr/bin:/bin:/opt/homebrew/bin"(awsが含まれるディレクトリ)を追加してください。
ツール一覧
ツール | 用途 |
| コアクエリ:任意の期間のコスト/使用量。SERVICE、USAGE_TYPE、REGION、TAGなどによるグループ化(最大2つ)をサポートし、Cost Explorerフィルター式をサポート、自動ページング |
| あるディメンションで実際に費用が発生した値を列挙(サービス名、リージョンなど)。正確なフィルター値を決定するために使用 |
| 将来の期間のコスト予測(80%信頼区間を含む) |
| Cost Anomaly Detectionで検出されたコスト異常と根本原因 |
| アカウントのBudgetsと実際/予測の実行状況 |
| 請求データのコスト配分タグのkey/value。TAGグループ化と併用 |
| Savings Plans / RI のutilizationとcoverage |
典型的な分析質問(Quick Desktop内)
「このアカウントの今月の費用はいくらですか?サービス別にTop 10を並べてください。」
「直近30日間の毎日のBedrock消費トレンドに異常なスパイクはありますか?」
「8月末の総請求額を予測してください。」
「EC2の費用をusage type別に分解して、どの部分が最も速く増加していますか?」
環境変数
変数 | デフォルト値 | 説明 |
|
| アクセスを許可するAWSアカウント。認証情報が一致しない場合は拒否 |
| (システムデフォルト) | 使用するAWS CLIプロファイル |
|
| AWS CLI実行ファイルのパス |
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAWS Cost Explorer + Anomaly Detection exposed as MCP tools. Surface unusual spend by service/account/tag, pull cost breakdowns, forecasts, savings recommendations. Read-only IAM — refuses to start if the role can modify resources. Curated by Archimedes Market with a verified Trust Report.MIT
- AlicenseNot gradedqualityDmaintenanceEnables querying AWS Cost and Usage Report data via Amazon Athena for cost-effective and detailed cost analysis.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables management and analysis of AWS security groups, S3 buckets, and VPC connections via MCP.7MIT
- AlicenseNot gradedqualityCmaintenanceEnables analysis of AWS costs and usage through the AWS Cost Explorer API, supporting multi-account architectures with role assumption and cost comparison, forecasting, and anomaly detection.Apache 2.0
Related MCP Connectors
Remote MCP for Copilot CLI switch gate MCP, structured receipts, audit logs, and reviewer-ready evid
A paid remote MCP for AI SDK data query MCP, built to return verdicts, receipts, usage logs, and aud
Remote MCP for MCP tool deprecation receipt, structured receipts, audit logs, and reviewer-ready evi
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/symeta/aws-billing-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server