Sample Cloud Spend MCP Server
S

Sample Cloud Spend MCP Server

A tool for querying AWS cloud spending through the MCP protocol, integrating the Claude model to provide a natural language interaction interface.
2.5 points
6.4K

What is the AWS Cost Analysis MCP Server?

This is a server based on the Anthropic MCP protocol that allows you to query AWS cost data through natural language. It can help you better understand the costs of EC2, Bedrock, and other AWS services.

How to use the AWS Cost Analysis MCP Server?

You can set it up and start querying your AWS cost data in just a few steps. You can use a local or remote server to run the tool.

Applicable Scenarios

Suitable for enterprises and individuals who need to regularly monitor and analyze AWS costs, especially those who want to optimize cloud spending.

Main Features

EC2 Cost Analysis
View the specific cost situation of EC2 within the most recent day.
Bedrock Usage Statistics
Analyze the daily usage of Bedrock models by region and user.
Service Overview Report
Generate a summary report of all AWS services in the past 30 days.
Advantages
Supports multiple query methods (natural language)
Provides detailed cost breakdown
Easy to integrate into existing systems
Limitations
Requires valid AWS credentials
May not be suitable for very large account sizes

How to Use

Install Dependencies
Ensure that Python 3.12 and the necessary libraries are installed.
Configure Environment Variables
Set necessary parameters such as AWS access keys and regions.
Start the Server
Run the script to start the MCP server.

Usage Examples

Query the Total Bill of Last Month
Ask the server for the total AWS bill of last month.
Analyze EC2 Spending
Analyze the EC2 spending within the most recent day.

Frequently Asked Questions

What permissions do I need to use this tool?
How to ensure data security?

Related Resources

Official Documentation
AWS official documentation.
GitHub Repository
Project source code repository.

Installation

Copy the following command to your Client for configuration
{
  "mcpServers": {
    "aws-cost-explorer": {
      "command": "docker",
      "args": [ "run", "-i", "--rm", "-e", "AWS_ACCESS_KEY_ID", "-e", "AWS_SECRET_ACCESS_KEY", "-e", "AWS_REGION", "-e", "BEDROCK_LOG_GROUP_NAME", "-e", "MCP_TRANSPORT", "aws-cost-explorer-mcp:latest" ],
      "env": {
        "AWS_ACCESS_KEY_ID": "YOUR_ACCESS_KEY_ID",
        "AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY",
        "AWS_REGION": "us-east-1",
        "BEDROCK_LOG_GROUP_NAME": "YOUR_CLOUDWATCH_BEDROCK_MODEL_INVOCATION_LOG_GROUP_NAME",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}

{
  "mcpServers": {
    "aws_cost_explorer": {
      "command": "uv",
      "args": [
          "--directory",
          "/path/to/aws-cost-explorer-mcp-server",
          "run",
          "server.py"
      ],
      "env": {
        "AWS_ACCESS_KEY_ID": "YOUR_ACCESS_KEY_ID",
        "AWS_SECRET_ACCESS_KEY": "YOUR_SECRET_ACCESS_KEY",
        "AWS_REGION": "us-east-1",
        "BEDROCK_LOG_GROUP_NAME": "YOUR_CLOUDWATCH_BEDROCK_MODEL_INVOCATION_LOG_GROUP_NAME",
        "MCP_TRANSPORT": "stdio"
      }
    }
  }
}
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

R
Rsdoctor
Rsdoctor is a build analysis tool specifically designed for the Rspack ecosystem, fully compatible with webpack. It provides visual build analysis, multi - dimensional performance diagnosis, and intelligent optimization suggestions to help developers improve build efficiency and engineering quality.
TypeScript
8.7K
5 points
T
Testkube
Testkube is a test orchestration and execution framework for cloud-native applications, providing a unified platform to define, run, and analyze tests. It supports existing testing tools and Kubernetes infrastructure.
Go
5.1K
5 points
N
Netdata
Netdata is an open-source real-time infrastructure monitoring platform that provides second-level metric collection, visualization, machine learning-driven anomaly detection, and automated alerts. It can achieve full-stack monitoring without complex configuration.
Go
8.6K
5 points
U
Uniprof
Uniprof is a tool that simplifies CPU performance analysis. It supports multiple programming languages and runtimes, does not require code modification or additional dependencies, and can perform one-click performance profiling and hotspot analysis through Docker containers or the host mode.
TypeScript
7.2K
4.5 points
M
MCP
A collection of official Microsoft MCP servers, providing AI assistant integration tools for various services such as Azure, GitHub, Microsoft 365, and Fabric. It supports local and remote deployment, helping developers connect AI models with various data sources and tools through a standardized protocol.
C#
7.4K
5 points
K
Kubernetes
An MCP server based on Kubernetes for managing and operating Kubernetes clusters
TypeScript
10.2K
5 points
E
Edgeone Pages MCP Server
EdgeOne Pages MCP is a service that quickly deploys HTML content to EdgeOne Pages via the MCP protocol and obtains a public URL
TypeScript
20.4K
4.8 points
A
Awslabs Cost Analysis MCP Server
The AWS MCP Servers are a set of dedicated servers based on the Model Context Protocol, offering various AWS-related functions, including document retrieval, knowledge base query, CDK best practices, cost analysis, image generation, etc., aiming to enhance the integration of AI applications with AWS services through a standardized protocol.
Python
14.7K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
17.8K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
30.9K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
21.6K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
61.5K
4.3 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
57.1K
4.5 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
27.8K
5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
18.8K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
42.0K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2026AIBase