
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Laravel package implementing an MCP server that lets AI agents introspect a Laravel codebase for structured information about views, routes, classes and models.
Laravel Codebase MCP Server is cataloged as an MCP server attributed to capevace. A Laravel package implementing an MCP server that lets AI agents introspect a Laravel codebase for structured information about views, routes, classes and models. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Laravel Codebase MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, it supports any AI agent implementing the MCP protocol.
The MCP server uses the laravel-introspect package to introspect the codebase and get structured information.
README.md · 0d622295c819 · Fetched 2026-11-13 13:24:21 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
For AIs to make sense of your codebase, they need to be able to know what's in it. While vector search is a powerful tool for searching through code, it uses a lot of tokens and doesn't even give you the full picture of your codebase for things like views or routes. This package implements a Model Context Protocol (MCP) server for the mateffy/laravel-introspect package, which allows you to introspect your codebase and get structured information about it.
*) to match multiple views, routes, classes and models| Query | Available Filters |
|---|---|
| Views | name, path, used by view, uses view, extends |
| Routes | name, URI, controller + fn, methods, middleware |
| Classes | name / namespace, extends parent, implements interfaces, uses traits |
| ⤷ Models | ... relationships, properties, casts, fillable, hidden, read/writeable |
| ⤷ Commands | ... signature, description (coming soon) |
Name and a few other queries even support wildcard queries (e.g.
components.*.paragraph)
If you use AI tools like Aider, Cursor, Windsurf or Claude Code to help you build your app, this package is for you. Simply configure the MCP server in your agent and it can automatically query your codebase for views, routes, classes and models.
This is especially useful for large codebases where just searching through the code is less practical.
laravel-codebase-mcp vs. laravel-introspectThe MCP server uses the laravel-introspect package to introspect your codebase and get structured information about it.
If you want to write tests or run the same queries multiple times, you can also just use the package directly.
Install the package via composer:
composer require mateffy/laravel-codebase-mcp --dev
[!NOTE]
At the moment, there is a dependency issue with
php-mcp/server(#23) and ReactPHP (#542). You may temporarily need to use these patched forks if you run into issues when installinglaravel-codebase-mcpby adding the following to yourcomposer.json:{ "repositories": [ { "type": "vcs", "url": "https://github.com/leantime/php-mcp-server.git" }, { "type": "vcs", "url": "https://github.com/Leantime/reactphp-http.git" } ] }
And then add it to your AI agent's MCP configuration:
{
"mcpServers": {
"laravel-introspect": {
"command": "php",
"args": [
"/path/to/your/codebase/artisan",
"introspect:mcp"
]
}
}
}
[!IMPORTANT]
The MCP server is still in beta, there will probably be bugs!
If you want to see all available queries, please check the laravel-introspect package documentation.
The MCP server uses the php-mcp/server package to implement the MCP protocol.
The MIT License (MIT). Please see License File for more information.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Laravel Codebase MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/laravel-codebase-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.