mendapi — Claude Code MCP server: API change detection
mendapi checks your repository for code affected by breaking API changes and drafts a migration diff. Connect it to an agent to inspect upstream changes in your project.
claude mcp add mendapi -- npx -y mendapiWhat mendapi does
The MCP server connects API change data to a scan of your repository. It identifies providers through SDK imports, API hosts and environment variables, then reports affected files, lines and symbols. Findings receive confidence scores. An optional LLM review can examine pending results with medium confidence.
For migrations, mendapi applies rule packs and produces a diff for review. It leaves files untouched unless you pass --apply. The scanner, fixer and review tools run locally and do not send source code over the network. Node.js 22.13 or newer is required. The sync command fetches the change feed, so that is the step that needs network access.
What it helps with
- find breaking API changes that affect a repository
- locate files and symbols touched by a provider change
- review medium-confidence findings with an LLM
- draft an SDK migration diff for inspection
Example prompts for the agent
- Scan this repository for breaking API changes and show the affected lines.
- Review the medium-confidence findings in
impact.jsonwith an LLM pass. - Draft a migration diff from
impact.jsonwithout applying the changes.
How to install mendapi
Platform CLI
claude mcp add mendapi -- npx -y mendapiPlatform CLI
codex mcp add mendapi -- npx -y mendapiConfig file
{
"mcpServers": {
"mendapi": {
"command": "npx",
"args": [
"-y",
"mendapi"
]
}
}
}Config file
{
"servers": {
"mendapi": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mendapi"
]
}
}
}Platform CLI
gemini mcp add mendapi npx -y mendapiStep by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about mendapi
How do I install mendapi in Claude Code?
Run claude mcp add mendapi -- npx -y mendapi. The server requires Node.js 22.13 or newer.
What does mendapi do?
It matches API changes against your code, points to affected locations and drafts a migration diff for review.
Does scanning require network access?
No. Scanning uses the local change database; sync is the command that fetches the API change feed.