Skip to content
MCP server
Registry

Laravel MCP Companion MCP Server

Laravel docs for every version from 6.x to 13.x, plus services and packages, kept local and offline.

Laravel MCP Companion scores 68 (Good), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Knowledge. GitHub shows 39 stars. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by brianirishMITPython39 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 5 + 10 + 4 + 7 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "brianirish-laravel-mcp-companion": {      "command": "docker",      "args": [        "run",        "-i",        "--rm",        "ghcr.io/brianirish/laravel-mcp-companion:v1.0.0-rc1"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Laravel MCP Companion

GitHub release (latest by date) Python Version License PyPI Docker Image GitHub Stars brianirish/laravel-mcp-companion MCP server

Every Laravel version since 6.x, its first-party services and popular packages, fully local.

Laravel MCP Companion is an MCP server that keeps Laravel's documentation on your machine and lets an AI assistant search and read it. It holds the framework docs for every version from 6.x to the newest, the first-party services, and widely used packages. No documentation is fetched while you work, so it answers without a network connection.

Status: pre-1.0. The tools listed below, with their arguments and results, are the ones 1.0 will promise not to break, apart from the two marked experimental. Upgrading from 0.14 or earlier? See MIGRATING.md.

What it is for

  • Every version, side by side. Laravel 6.x through 13.x are all held. Ask about the version an older application runs on, or compare two versions to see what an upgrade brings.
  • Fully local. The documentation ships inside the Docker image and the Python package. Your questions go nowhere but your assistant, and no documentation service is called, so it works offline and behind an air gap. Documentation is fetched only when you ask for an update. The one other request is at startup: if its list of Laravel versions is more than a day old, the server asks GitHub for it, and carries on with the list it has when there is no answer.
  • It needs no project. It works in a chat client with no code open.

Laravel Boost is the first-party tool for writing code inside a Laravel project: it is installed into the application and knows what the application uses. Use Boost while building. Use Companion to look something up in any Laravel version, in a client with no project open, or where the documentation has to stay on the machine.

Documentation held

  • The framework documentation for Laravel 6.x through 13.x.
  • First-party services: Forge, Vapor, Envoyer, Nova, Cloud, Nightwatch and Herd.
  • Package documentation: Livewire, Filament, Inertia, and Spatie's Permission, Media Library and Backup, each for the package's current major version, and the smaller docs of Debugbar and IDE Helper.
  • Learning material: the courses at laravel.com/learn and an index of Laracasts topics.
  • A package catalog. Separate from the documentation above: a hand-written list of 42 curated packages, saying what each is for, how to install it, what goes with it, and which ones have been superseded.

The project refetches the documentation every night and publishes it; Keeping the documentation current says how it reaches you. The catalog is revised by hand. Ask your assistant how current its documentation is, or call laravel_docs_info, to see the date of each Laravel version's documentation and the page count and sync date of every other source.

Installation

Run it with uvx or with Docker, whichever you already have. Both carry the documentation with them. The server is on PyPI and in the official MCP Registry as io.github.brianirish/laravel-mcp-companion.

Cursor and VS Code add it from a link, using uvx.

Add to Cursor Install in VS Code Install in VS Code Insiders

Claude Code:

# with uv
claude mcp add laravel-mcp-companion -- uvx laravel-mcp-companion

# with Docker
claude mcp add laravel-mcp-companion -- docker run --rm -i ghcr.io/brianirish/laravel-mcp-companion:latest

Claude Desktop, and most other MCP clients: add one of these to the client's MCP configuration, then restart it.

With uv:

{
  "mcpServers": {
    "laravel-mcp-companion": {
      "command": "uvx",
      "args": ["laravel-mcp-companion"]
    }
  }
}

With Docker:

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

pip install laravel-mcp-companion works too, on Python 3.12 or newer, and installs a laravel-mcp-companion command.

Then ask your assistant "how current are your Laravel docs?". It should answer with a date and a list of sources.

Features (v1.0.0-rc1)

Twelve tools. API.md documents every argument and result field.

ToolWhat it does
search_laravel_docsRanked search over the framework docs, services, packages and learning material; returns sections, each with a snippet
read_laravel_doc_sectionReads one section of a page
read_laravel_doc_contentReads a whole page, or lists its headings
list_laravel_docsLists what is held, or the files of one collection
laravel_docs_infoReports how current every source is
compare_laravel_versionsLists the pages one Laravel version has and another lacks
update_laravel_docsFetches newer documentation
get_laravel_packageLooks up a package, or a category, in the catalog
recommend_laravel_packagesSuggests packages for a described need
get_laravel_service_infoDescribes a first-party service and what is held for it
get_laravel_learning_pathReturns a reading order for a goal (experimental)
browse_docs_by_categoryLists pages by topic and difficulty (experimental)
  • Ranked sections, not files. Ask in plain language ("how do I retry a failed queue job") and get the sections that answer it. A section is usually under a thousand tokens; a whole page is usually several thousand, and the longest run past 30,000.
  • Unified search - One search covers the core framework docs, the services, the package docs and the learning resources, and labels each result with its source. sources narrows it.
  • Results a program can use. Every tool returns a JSON object matching a declared schema, as well as text for the model. A failure is an error with a code to branch on.
  • A stable surface. The tools are recorded in a contract file that a test enforces. VERSIONING.md says what 1.0 will promise; the two tools marked experimental are outside it.

By default a client is shown four tools, not twelve: the first two above, and two helpers that find and run the rest. That keeps tool descriptions out of the model's context. --transform-mode none lists all twelve; see Tool listing modes.

Keeping the documentation current

The project refetches every source each night.

  • Docker: each night the documentation changes, it is published as a new image. Pull it:

    docker pull ghcr.io/brianirish/laravel-mcp-companion:latest
    
  • uvx or pip: the package carries the documentation as it was on its release date, and the nightly documentation is not published to PyPI. Ask your assistant to update its Laravel docs and the server fetches them from their sources. The update is kept in a directory of your own, where a reinstall leaves it alone. Installing a version that ships newer documentation replaces it with that version's copy.

Asking the assistant works with Docker too, but a container started with --rm loses the update when it stops. OPERATIONS.md covers image tags, keeping fetched documentation in a Docker volume, and where a pip or uvx install stores it.

More

OPERATIONS.mdEvery option, tool listing modes, running over HTTP with authentication and rate limiting, health and metrics, the output format
API.mdEvery tool, argument, result field and error code
MIGRATING.mdUpgrading from 0.14 or earlier
VERSIONING.mdWhat a version number promises
ROADMAP.mdWhat is left before 1.0
CONTRIBUTING.mdDevelopment setup and tests
SECURITY.mdReporting a vulnerability

License

MIT. See LICENSE.

Acknowledgements

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

Frequently asked questions

What is Laravel MCP Companion MCP Server?

Laravel docs for every version from 6.x to 13.x, plus services and packages, kept local and offline.

How do I install Laravel MCP Companion MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Laravel MCP Companion MCP Server runs locally from the Docker image ghcr.io/brianirish/laravel-mcp-companion:v1.0.0-rc1 with the command docker run -i --rm ghcr.io/brianirish/laravel-mcp-companion:v1.0.0-rc1.

Is Laravel MCP Companion MCP Server free and open source?

Yes. Laravel MCP Companion MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does Laravel MCP Companion MCP Server support remote (HTTP) connections?

No remote endpoint is listed for Laravel MCP Companion MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is Laravel MCP Companion MCP Server's trust score calculated?

Laravel MCP Companion MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server