Laravel Docs

Search and access Laravel documentation from version 6.x onwards, with automatic daily updates.

Laravel MCP Companion

formerly Laravel Docs MCP Server

GitHub release (latest by date) Python Version GitHub Workflow Status codecov License FOSSA Status Docker Image smithery badge GitHub Stars GitHub Forks

⚠️ BETA SOFTWARE - This project is in early development. Features may not work as expected and breaking changes may occur without notice.

Laravel MCP Companion is a comprehensive documentation aggregator and navigator for the Laravel ecosystem. Rather than generating content, it centralizes and organizes existing high-quality documentation from across the Laravel ecosystem, making it easily discoverable through your AI assistant.

Perfect for developers making the most of the Laravel ecosystem

What you get:

  • Multi-version Laravel documentation (6.x through latest) with enhanced search
  • Auto-discovery Laravel services - Forge, Vapor, Envoyer, Nova with 117+ sections
  • Curated package recommendations with detailed integration guides
  • Unified search across core Laravel docs and external services
  • Smart navigation - find exactly what you need for your use case
  • Future-proof updates - automatically adapts to Laravel service changes

Auto-Discovery & Update Frequency

This application features an intelligent auto-discovery system that automatically finds and indexes Laravel service documentation. Every day, it:

  • Auto-discovers new documentation sections across Laravel services (Forge, Vapor, Nova, Envoyer)
  • Retrieves the latest Laravel core documentation for all versions since 6.x
  • Adapts automatically to structural changes in Laravel service websites
  • Generates new patch releases automatically when updates are found

Current Coverage: 117+ documentation sections (vs 95 manually-configured) with intelligent fallback mechanisms.

Installation

Quick Install via Smithery

npx -y @smithery/cli install @brianirish/laravel-mcp-companion --client claude

Note: Smithery automatically configures your AI client. Skip to "First Run" below.

Docker

docker run ghcr.io/brianirish/laravel-mcp-companion:latest

Usage

Smithery Installation

No additional configuration needed - Smithery automatically sets up your AI client.

Docker Installation

Add this to your AI client's MCP configuration:

{
  "mcpServers": {
    "laravel-mcp-companion": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "ghcr.io/brianirish/laravel-mcp-companion:latest"]
    }
  }
}

Available Options

OptionDescriptionDefault
--version VERSIONLaravel version (e.g., "12.x", "11.x")Latest
--docs-path PATHDocumentation directory./docs
--log-level LEVELDEBUG, INFO, WARNING, ERROR, CRITICALINFO
--update-docsUpdate documentation on startupfalse
--force-updateForce documentation updatefalse
--external-onlyUpdate only external Laravel servicesfalse
--core-onlyUpdate only core Laravel documentationfalse
--services SERVICE1 SERVICE2Update specific services (forge, vapor, etc.)All
--list-servicesList available Laravel services-
--statusShow documentation status for all sources-

First Run

The server automatically downloads Laravel documentation on first use. This may take a few moments initially.

External Laravel Services (Auto-Discovery Enabled)

Laravel MCP Companion includes auto-discovery for official Laravel services with enhanced coverage:

  • Laravel Forge - Server management and deployment (53 sections auto-discovered)
  • Laravel Vapor - Serverless deployment platform (16 sections auto-discovered)
  • Laravel Nova - Administration panel (38 sections auto-discovered)
  • Laravel Envoyer - Zero-downtime deployment (10 sections with intelligent fallback)

Auto-Discovery Features:

  • 🔍 Smart Detection: Automatically finds new documentation sections
  • 🔄 Version Detection: Auto-detects latest Nova versions (currently v5)
  • 🛡️ Content Validation: Quality scoring ensures only useful documentation
  • 🔙 Graceful Fallback: Uses manual configuration when auto-discovery fails

Use update_external_laravel_docs() to trigger auto-discovery, or list_laravel_services() to see all available services.

Features and Roadmap

Current Features (v0.6.0)

  • Multi-version Laravel docs - All versions from 6.x to latest
  • Auto-discovery engine - Finds new docs across Forge, Vapor, Nova, Envoyer
  • Smart package recommendations - Curated Laravel ecosystem packages
  • Unified search - One search across all documentation sources
  • Daily updates - Automatic sync with latest documentation
  • Battle-tested - Comprehensive test suite ensures reliability

Upcoming Features

  • 🌟 v0.7.0: Community package documentation (Spatie, Livewire, Inertia, Filament)
  • 📚 v0.8.0: Community learning resources (Laravel News, tutorials, guides)
  • 🔍 v0.9.0: Advanced search and smart navigation across all sources
  • 🚀 v1.0.0: The complete Laravel documentation navigator

For detailed roadmap information, see ROADMAP.md.

License

This project is licensed under the MIT License - see the LICENSE file for details.

FOSSA Status

Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

Acknowledgements

  • Laravel for their excellent documentation
  • Laravel package authors for their contributions to the ecosystem

✅ Certified by MCP Review

Related Servers