drio
Open app

AWS Bedrock Logs MCP

Source

Catalog onlyCatalog onlySTDIO

Overview

AWS Bedrock Logs MCP is a command-line interface and API designed for analyzing AWS Bedrock usage and logs through Anthropic's Model Control Protocol (MCP). It allows users to interactively query and analyze their Bedrock usage data using natural language.

To use the tool, install the necessary dependencies, configure your AWS credentials, and run the server. You can then connect to the server using Claude and issue queries about your Bedrock usage.

  • Detailed model usage analysis and token consumption statistics - User-based analytics for tracking usage patterns and costs - Daily usage reports to monitor trends - Interactive querying through natural language with Claude
  1. Analyzing AWS Bedrock model invocation logs
  2. Monitoring token consumption across different models
  3. Generating daily usage reports for cost analysis

Add to your AI client

Use these steps to connect AWS Bedrock Logs MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "aws-bedrock-logs-mcp-server-dheerajoruganty": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-bedrock-logs-mcp-server-dheerajoruganty"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "aws-bedrock-logs-mcp-server-dheerajoruganty": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-bedrock-logs-mcp-server-dheerajoruganty"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "aws-bedrock-logs-mcp-server-dheerajoruganty": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-bedrock-logs-mcp-server-dheerajoruganty"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "aws-bedrock-logs-mcp-server-dheerajoruganty": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-bedrock-logs-mcp-server-dheerajoruganty"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "aws-bedrock-logs-mcp-server-dheerajoruganty": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-bedrock-logs-mcp-server-dheerajoruganty"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "aws-bedrock-logs-mcp-server-dheerajoruganty": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-aws-bedrock-logs-mcp-server-dheerajoruganty"
      ]
    }
  }
}

FAQ

What are the requirements to use this tool?

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

How do I start the server?

Run the command `python cloudwatch_mcp_server.py` to start the server.

Can I use this tool without Claude?

The tool is designed to work with Claude for natural language queries, but you can also access the API directly.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2543,"uuid":"cfa7acdb-6382-44f3-8c1c-6dbd92ec2efd","name":"aws-bedrock-logs-mcp-server","title":"AWS Bedrock Logs MCP","description":"","avatar_url":"https://avatars.githubusercontent.com/u/53569374?v=4","created_at":"2025-03-13T08:44:30.560Z","updated_at":"2025-03-20T01:55:48.928Z","status":"created","author_name":"dheerajoruganty","author_avatar_url":"https://avatars.githubusercontent.com/u/53569374?v=4","tags":"aws-bedrock,logs,mcp-server","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/dheerajoruganty/aws-bedrock-logs-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"Python\",\"is_official\":false,\"latest_commit_time\":\"2025-03-11 11:02:17\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]