AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client
@MCP-Mirror
About AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client
Mirror of
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client?
This MCP server retrieves AWS spend data via Cost Explorer and Amazon Bedrock usage data from CloudWatch Model invocation logs. It integrates with Anthropic’s Model Context Protocol (MCP) so users can analyze cloud costs and Bedrock usage through natural language conversations with Claude.
How to use AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client?
Install uv, clone the repository, create a Python 3.12 virtual environment, and install dependencies. Set your AWS credentials, export MCP_TRANSPORT (use stdio for local or sse for remote) and BEDROCK_LOG_GROUP_NAME, then run python server.py. Configure Claude Desktop by adding a Docker or UV entry to claude_desktop_config.json. For a remote server, deploy on EC2 with MCP_TRANSPORT=sse and test using mcp_sse_client.py.
Key features of AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client
- Amazon EC2 spend analysis for the last day.
- Amazon Bedrock spend analysis by region, user, and model.
- Service spend reports across all AWS services.
- Detailed cost breakdown by day, region, service, and instance type.
- Interactive natural language interface via Claude.
Use cases of AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client
- Ask “What was my EC2 spend yesterday?” and get an instant breakdown.
- Generate a weekly Bedrock usage report per model and user.
- Identify top five AWS services by cost over the past month.
- Analyze spending by region for the last 14 days.
- Build a LangGraph agent that answers cost questions using remote MCP tools.
FAQ from AWS Cost Explorer and Amazon Bedrock Model Invocation Logs MCP Server & Client
What are the requirements to run this server?
Python 3.12, AWS credentials with read-only access to Cost Explorer and CloudWatch, and Anthropic API access for Claude integration. Optionally, Bedrock access for the LangGraph agent and EC2 for a remote server.
How do I configure Claude Desktop?
Add either a Docker entry (using the aws-cost-explorer-mcp:latest image) or a UV entry pointing to your local repository in the mcpServers section of claude_desktop_config.json. Include your AWS credentials and Bedrock log group name as environment variables.
What tools does the server expose to Claude?
Four tools: get_ec2_spend_last_day(), get_detailed_breakdown_by_day(days), get_bedrock_daily_usage_stats(days, region, log_group_name), and get_bedrock_hourly_usage_stats(days, region, log_group_name).
Does this server work with remote MCP clients?
Yes. Set MCP_TRANSPORT=sse to run the server on EC2. Claude Desktop does not currently support remote MCP servers, but you can test with the provided mcp_sse_client.py or use the Chainlit app with a LangGraph agent.
Is the MCP protocol authenticated or encrypted?
No. MCP uses JSON-RPC 2.0 without built-in authentication or authorization. Avoid sending sensitive data. For secure remote access, the README describes an optional nginx reverse proxy with HTTPS using an SSL certificate.
More Cloud & Infrastructure MCP servers
Firebase MCP
gannonh🔥 Model Context Protocol (MCP) server for Firebase.
K8s MCP Server
alexei-ledK8s-mcp-server is a Model Context Protocol (MCP) server that enables AI assistants like Claude to securely execute Kubernetes commands. It provides a bridge between language models and essential Kubernetes CLI tools including kubectl, helm, istioctl, and argocd, allowing AI syste
Supabase MCP Server
coleam00Supabase MCP server created in Python.
Kubernetes MCP Server
manusaModel Context Protocol (MCP) server for Kubernetes and OpenShift
aws-finops-mcp-server
ravikiranvmAn MCP (Model Context Protocol) server that brings powerful AWS FinOps capabilities directly into your AI assistant. Analyze cloud costs, audit for waste, and get budget insights using natural language, all while keeping your credentials secure on your local machine.
Comments