Skip to main content
Glama
symeta

aws-billing-mcp

by symeta

aws-billing-mcp

MCP server(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를 조회하며, 월말 비용 예측을 한 번 수행합니다.

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 시작 시 nodeaws를 찾지 못하면 command를 node의 절대 경로로 바꾸고, env"PATH": "/usr/local/bin:/usr/bin:/bin:/opt/homebrew/bin"(aws가 있는 디렉터리 포함)을 추가하세요.

도구 목록

工具

用途

get_cost_and_usage

핵심 조회: 임의 기간의 비용/사용량, SERVICE, USAGE_TYPE, REGION, TAG 등으로 그룹화(최대 2개) 지원, Cost Explorer filter 표현식 지원, 자동 페이지 넘김

get_dimension_values

특정 차원에서 실제로 비용이 발생한 값(서비스명, 리전 등)을 열거하여 정확한 필터 값을 결정하는 데 사용

get_cost_forecast

미래 기간의 비용 예측(80% 신뢰 구간 포함)

get_cost_anomalies

Cost Anomaly Detection이 감지한 비용 이상 및 근본 원인

describe_budgets

계정의 Budgets 및 실제/예측 실행 현황

get_cost_allocation_tags

청구 데이터의 비용 할당 태그 key/value, TAG 그룹화와 함께 사용

get_commitment_utilization

Savings Plans / RI의 utilization 및 coverage

일반적인 분석 질문(Quick Desktop에서)

  • “이 계정 이번 달에 얼마나 썼나요? 서비스별로 Top 10을 정렬해 주세요.”

  • “최근 30일간 일별 Bedrock 소비 추세에 이상 스파이크가 있나요?”

  • “8월 말 총 청구 금액을 예측해 주세요.”

  • “EC2 비용을 usage type별로 나눠 보면 어느 부분이 가장 빠르게 증가하나요?”

환경 변수

변수

기본값

설명

EXPECTED_ACCOUNT

<대상 AWS 계정>

접근이 허용된 AWS 계정, 자격 증명이 일치하지 않으면 거부

AWS_PROFILE

(시스템 기본값)

사용할 AWS CLI profile

AWS_CLI_BIN

aws

AWS CLI 실행 파일 경로

Install Server
F
license - not found
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • A
    license
    Not graded
    quality
    D
    maintenance
    AWS 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
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables querying AWS Cost and Usage Report data via Amazon Athena for cost-effective and detailed cost analysis.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables 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

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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