Add this to your MCP client config (e.g. Cursor: ~/.cursor/mcp.json):
Authentication is optional. You can use the MCP server without an API key for anonymous access. To log requests to your account, add your key to the config.
Laravel MCP Sanctum documentationTools your AI client can invoke to search and retrieve Code Weave data.
| Tool | Description |
|---|---|
search_packages |
Search for Laravel packages by semantic similarity and full-text. Use when finding, comparing, or discovering packages related to a topic.
query (required), limit (default: 10)
|
get_package_ranking |
Get top Laravel packages ranked by score, opportunity score, stars, or downloads.
sort, limit (default: 20)
|
search_vendors |
Search for Laravel package vendors (organizations or maintainers) by topic.
query (required), limit (default: 10)
|
search_persons |
Search for persons (contributors) by GitHub login or name.
query (required), limit (default: 10)
|
Resources are content your AI client can read by URI. Use the exact package name (vendor/package) when citing so links resolve.
| URI | Description |
|---|---|
weaver://packages/{vendor}/{package} |
Package details: summary, scores, readme excerpt, repo URL, vulnerability flag. |
weaver://vendors/{vendor} |
Vendor profile with package list (up to 50 packages). |
weaver://persons/{github_login} |
Person profile with contributed packages (up to 30). |
Pre-built prompt templates your AI client can use. Each expands into instructions that call the appropriate tools and resources.
| Prompt | Description |
|---|---|
compare_packages | Compare two packages for a use case. package_a, package_b, use_case |
find_packages_by_use_case | Find best packages for a use case. use_case |
discover_opportunity_packages | Packages where contributions would have high impact. limit |
vendor_overview | Summarize a vendor and their packages. vendor |
person_contributions | Packages a person contributes to. github_login |
package_deep_dive | Detailed analysis of a package. package |
alternatives | Find alternatives to a package. package |
trending_packages | Trending packages by stars or downloads. sort, limit |
security_check | Check packages for known vulnerabilities. packages |
laravel_version_compatibility | Packages compatible with a Laravel version. laravel_version |
How can I help you explore Laravel packages today?