Installing whatsdiff also installs whatsdiff-mcp, a Model Context Protocol server that lets an AI assistant query Packagist and npm directly.
How it differs from the CLI
The CLI looks at what changed in your project. The MCP server answers questions about packages you have not installed yet, which is what upgrade planning mostly consists of: what a package requires, which versions fit your constraints, and what you would be signing up for by moving to the next major.
Available tools
| Tool | Answers |
|---|---|
find_compatible_versions |
Which versions of a package work with a given dependency constraint |
get_release_notes |
What changed between two versions |
get_available_upgrades |
The latest patch, minor, and major releases from a current version |
get_dependency_constraints |
What a specific version of a package requires |
Ask your assistant which versions of Livewire are compatible with Laravel 11, and it calls find_compatible_versions and answers from real registry data rather than from memory.
Next steps
- Setup connects the server to Claude Code, VS Code, JetBrains, and Visual Studio
- Usage shows the kinds of questions each tool handles
- Tool reference documents parameters and return shapes