Calculate the real cost to run your JS app or lib to keep good performance. Show error in pull request if the cost exceeds the limit.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"size-limit": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-size-limit"
]
}
}
}