Laravel MCP and RAG Log Analysis Sample App. Uses Laravel MCP Server, Overpass for python bridge and Prism for LLMs
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"laravel-ai-log-analysis": {
"command": "<see-readme>",
"args": []
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
An AI-powered log analysis system that automatically monitors, vectorizes, and analyzes Laravel application logs to detect incidents and assess severity levels.
No automated test available for this server. Check the GitHub README for setup instructions.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
No package registry to scan.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in developer-tools / devops
A Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
XcodeBuildMCP provides tools for Xcode project management, simulator management, and app utilities.
Asynchronous coordination layer for AI coding agents: identities, inboxes, searchable threads, and advisory file leases over FastMCP + Git + SQLite
40+ production-ready SwiftUI recipes for building full-stack iOS apps via MCP.
MCP Security Weekly
Get CVE alerts and security updates for Laravel Ai Log Analysis and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
An AI-powered log analysis system that automatically monitors, vectorizes, and analyzes Laravel application logs to detect incidents and assess severity levels.

Clone the repository
git clone <repository-url>
cd LogAnalysisAi
Install PHP dependencies
composer install
Install Node dependencies
npm install
Set up environment file
cp .env.example .env
php artisan key:generate
Configure database
The default SQLite database is already configured in .env:
DB_CONNECTION=sqlite
DB_DATABASE=database/database.sqlite
Create the database file:
touch database/database.sqlite
Run migrations
php artisan migrate
Install Python dependencies for Overpass
cd overpass-ai
pip3 install -r requirements.txt
cd ..
Note: The first run will download the sentence-transformers model (~80MB).
Configure your preferred LLM provider in .env:
For Anthropic Claude:
LOG_ANALYSIS_PROVIDER=anthropic
LOG_ANALYSIS_MODEL=claude-3-haiku-20240307
ANTHROPIC_API_KEY=your_api_key_here
For OpenAI:
LOG_ANALYSIS_PROVIDER=openai
LOG_ANALYSIS_MODEL=gpt-4-turbo
OPENAI_API_KEY=your_api_key_here
Adjust AI analysis settings:
LOG_ANALYSIS_MAX_TOKENS=200
LOG_ANALYSIS_TEMPERATURE=0.3
Overpass is pre-configured to use the overpass-ai directory. Ensure Python 3.9+ is active:
python3 --version # Should show Python 3.9 or higher
Start all services at once with a single command:
composer run dev
This starts: web server, queue worker, log viewer (Pail), and Vite dev server.
Alternatively, run services separately:
1. Start the Development Server
php artisan serve
2. Start the Queue Worker In a separate terminal:
php artisan queue:work
3. Build Frontend Assets For development:
npm run dev
For production:
npm run build
4. MCP Server (Optional) The MCP server runs automatically with the web server. It's accessible at:
http://loganalysisai.test/mcp/log-watcher
To test it with MCP Inspector:
php artisan mcp:inspector
Visit http://loganalysisai.test (if using Laravel Herd) or `http://lo