Provides AI assistants with standardized access to AWS CloudWatch Logs for advanced analysis, searching, correlation, and error pattern detection using the Model Context Protocol (MCP).
Unlock the full potential of Log Analyzer with MCP through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
A Model Context Protocol (MCP) server that provides AI assistants access to AWS CloudWatch Logs for analysis, searching, and correlation.
!Architecture Diagram
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.
Detailed feature list
# Clone the repository git clone https://github.com/awslabs/Log-Analyzer-with-MCP.git cd Log-Analyzer-with-MCP # Create a virtual environment and install dependencies uv sync source .venv/bin/activate # On Windows, use `.venv\Scripts\activate`
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.
This project can be easily integrated with AI assistants like Claude for Desktop. See the AI integration guide for details.
See CONTRIBUTING for more information.
This project is licensed under the Apache-2.0 License.
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!