Laravel Codebase MCP Server

[//]: # (![Packagist Downloads](https://img.shields.io/packagist/dt/mateffy/laravel-introspect))

Local serverstdio

What is the Laravel Codebase MCP MCP server?

Laravel codebase mcp mcp server lets Claude, Cursor and other MCP clients work with Laravel Codebase MCP directly. [//]: # (Packagist Downloads](

What Laravel Codebase MCP does

[//]: # (Packagist Downloads](

Tools it exposes

Once connected, the assistant can call these 4 tools directly:

  • 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

Installing the laravel codebase mcp mcp server

Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.

Where it fits

Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. Laravel Codebase MCP sits in that group, and the shape of its toolset — Query, Views, Routes among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This server runs locally, so it operates with whatever access your machine and its credentials already have. Scope that deliberately rather than by default.
  • Maintained by Capevace.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the laravel codebase mcp mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
QueryAvailable Filters
Viewsname, path, used by view, uses view, extends
Routesname, URI, controller + fn, methods, middleware
Classesname / namespace, extends parent, implements interfaces, uses traits

Example prompts to try

  • Use Laravel Codebase MCP to Query.
  • Use Laravel Codebase MCP to Views.
  • Use Laravel Codebase MCP to Routes.

Frequently asked questions

It connects Laravel Codebase MCP to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (Query, Views, Routes, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Laravel Codebase MCP directly.