Log Analyzer with MCP
A Model Context Protocol (MCP) server that provides AI assistants access to AWS CloudWatch Logs for analysis, searching, and correlation.
🏗️ Architecture
🔌 Model Context Protocol (MCP)
As outlined by Anthropic:
MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.
This repository is an example client and server that allows an AI assistant like Claude to interact with CloudWatch logs in an AWS account. To learn more about MCP, read through the introduction.
✨ Features
- Browse and search CloudWatch Log Groups
- Search logs using CloudWatch Logs Insights query syntax
- Generate log summaries and identify error patterns
- Correlate logs across multiple AWS services
- AI-optimized tools for assistants like Claude
🚀 Installation
Prerequisites
- The uv Python package and project manager
- An AWS account with CloudWatch Logs
- Configured AWS credentials
Setup
🚦 Quick Start
- Make sure to have configured your AWS credentials as described here
- Update your
claude_desktop_config.json
file with the proper configuration outlined in the AI integration guide - Open Claude for Desktop and start chatting!
For more examples and advanced usage, see the detailed usage guide.
🤖 AI Integration
This project can be easily integrated with AI assistants like Claude for Desktop. See the AI integration guide for details.
📚 Documentation
🔒 Security
See CONTRIBUTING for more information.
📄 License
This project is licensed under the Apache-2.0 License.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that provides AI assistants access to AWS CloudWatch Logs, enabling browsing, searching, summarizing, and correlating logs across multiple AWS services.
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.Last updated -19TypeScript
- -securityFlicense-qualityA Model Context Protocol server that connects to Google Cloud services, allowing users to query logs, interact with Spanner databases, and analyze Cloud Monitoring metrics through natural language interaction.Last updated -162TypeScript
- -securityFlicense-qualityA Model Context Protocol server allowing Claude AI to interact with AWS resources through natural language, enabling users to query and manage AWS services without using the traditional AWS Console or CLI.Last updated -TypeScript
- -securityFlicense-qualityAn MCP server that allows AI assistants to access AWS CloudWatch logs by listing log groups and reading log entries.Last updated -4Python