MCP.so
ログイン

AWS Bedrock Logs MCP Server

@dheerajoruganty

基本情報

カテゴリ

開発者ツール

ライセンス

MIT license

トランスポート

stdio

作者

dheerajoruganty

AWS Bedrock Logs MCP Server について

概要はまだありません

AWS Bedrock Logs MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "aws_bedrock_logs": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/aws-bedrock-logs-mcp",
        "run",
        "cloudwatch_mcp_server.py"
      ]
    }
  }
}

AWS Bedrock Logs MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is AWS Bedrock Logs MCP?

A command-line interface and API for analyzing AWS Bedrock usage and logs through Anthropic's MCP (Model Control Protocol). It exposes AWS CloudWatch Logs API functionality to Claude, allowing you to query and analyze Bedrock usage data in natural language.

How to use AWS Bedrock Logs MCP?

Install via uv, configure AWS credentials, then start the server with python cloudwatch_mcp_server.py. For Claude Desktop, add the server configuration to your mcpServers JSON block with the uv command. Four tools are exposed: get_bedrock_logs_df, get_model_usage_stats, get_user_usage_stats, and get_daily_usage_stats.

Key features of AWS Bedrock Logs MCP

  • Model usage analysis with detailed statistics and token consumption
  • User-based analytics for usage patterns and cost breakdowns
  • Daily usage reports and trends tracking
  • Token consumption metrics (input, completion, total)
  • Interactive natural language interface via Claude

Use cases of AWS Bedrock Logs MCP

  • Query last 7 days of Bedrock usage stats in natural language
  • Identify average token consumption by model
  • Discover top users of Bedrock by total tokens
  • Obtain daily breakdown of model invocations

よくある質問

1

What does AWS Bedrock Logs MCP require to run?

Python 3.13+, AWS credentials with CloudWatch Logs access, and Anthropic API access for Claude integration.

2

How does AWS Bedrock Logs MCP communicate with clients?

By default, the server uses stdio transport for communication with MCP clients.

3

What kind of data does AWS Bedrock Logs MCP access?

It retrieves raw Bedrock invocation logs and aggregated statistics from AWS CloudWatch Logs via the CloudWatch Logs API. No Bedrock data is stored locally—it is queried on demand.

4

What are the key dependencies?

boto3, mcp[cli] (Anthropic’s Model Control Protocol library), pandas, and pydantic.

5

Is there a Dockerfile for containerized deployment?

Yes, a Dockerfile is included in the repository for container deployments.

コメント

「開発者ツール」の他のコンテンツ