How to Use the Laravel Excellence Prover MCP in Claude Code
Run strict Laravel architecture checks directly from your terminal using Claude Code and Laravel Excellence Prover.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Laravel Excellence Prover MCP to Claude Code
Create your Vinkius account to connect Laravel Excellence Prover to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Automate code reviews in your terminal
The `validate_laravel_excellence` tool analyzes your PHP files directly from the command line to catch architectural violations before you commit. It checks for fat controllers, raw queries, and missing validation layers, outputting structured feedback directly to your terminal session. Claude Code reads this output and allows you to run instant, headless refactoring commands without opening an IDE. You can pipe the tool's results to other CLI utilities or run it as a final check in your terminal workflow.
Secure your application against mass assignment holes
The `validate_laravel_excellence` tool inspects your Eloquent models to ensure they do not expose sensitive fields through unguarded inputs. It flags any instance of `Model::unguard()` or `$request->all()` and forces the implementation of strict `$fillable` arrays. By running this check via Claude Code, you can quickly secure legacy codebases in headless environments. The agent automatically generates the necessary FormRequests to sanitize incoming HTTP payloads before they reach your database.
Optimize database performance using this MCP Server
The `validate_laravel_excellence` tool identifies N+1 query loops, missing eager-loading statements, and unpaginated database queries in your application code. It scans your controllers and views to verify that relations are preloaded using the `with` method. This allows Claude Code to spot performance bottlenecks in your staging or production environments through an SSH session. The agent can then apply immediate fixes, like adding database transactions or caching heavy queries.
Set up Laravel Excellence Prover MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seelaravel-excellence-prover-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Laravel Excellence Prover transactions." It will automatically discover and invoke the available Laravel Excellence Prover tools.
claude mcp add --transport http laravel-excellence-prover-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Laravel Excellence Prover MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Laravel Excellence Prover MCP today
We host it, we monitor it, we maintain it. You just paste one token.