
deadcode-mcp
deadcode-mcp provides MCP access to dead code detection in JavaScript and TypeScript projects. It scans codebases for unused functions, variables, imports, and files using static analysis. Software developers and DevOps teams apply it in refactoring, CI/CD pipelines, and monorepo maintenance to reduce bloat and technical debt.
Start using this server
Connect deadcode-mcp
Pick where you'll use it. We'll show the one step you need.
Get access
Pro · $29/mo. Create an account and pick a plan to get your API key.
Add it to Claude
Opens Claude with this server filled in as a custom connector. Click Add, then Connect and sign in with MCPize. Works on claude.ai, Claude Desktop and mobile.
Unlocks once you have access above
On Claude Team and Enterprise, only organization Owners can add custom connectors.
Using Claude Code?
terminal claude mcp add --transport http --scope user deadcode-mcp https://deadcode-mcp.mcpize.run --header "Authorization: Bearer YOUR_API_KEY"Manual setup & config
Paste this JSON config
JSON { "mcpServers": { "deadcode-mcp": { "type": "http", "url": "https://deadcode-mcp.mcpize.run", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } }Config file: Claude Code: .mcp.json (project) or ~/.claude.json (user). claude.ai, Claude Desktop and mobile: use Add to Claude above.
Subscribe to get your API key
Config files for Claude, Cursor and VS Code
Replace the YOUR_ placeholder values with your own API key or credentials.
Claude Code
Run in your terminal.
claude mcp add --transport http --scope user deadcode-mcp https://deadcode-mcp.mcpize.run --header "Authorization: Bearer YOUR_API_KEY"Cursor
Add to ~/.cursor/mcp.json, or .cursor/mcp.json in your project.
{
"mcpServers": {
"deadcode-mcp": {
"url": "https://deadcode-mcp.mcpize.run",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}VS Code
Run in your terminal, or add the server to .vscode/mcp.json.
code --add-mcp '{"name":"deadcode-mcp","type":"http","url":"https://deadcode-mcp.mcpize.run","headers":{"Authorization":"Bearer YOUR_API_KEY"}}'Tools
- Try: "Detect circular deps in /home/user/myapp, ignore specs"
Finds circular import chains in the project that can cause runtime errors, initialization bugs, and make dead code harder to tree-shake.
- Try: "Find unreferenced files in /home/user/myapp from src/index.ts"
Identifies source files that are never imported or required by any other file in the project, making them orphaned and likely safe to delete.
- Try: "Find unused exports in /home/user/myapp, include types, ignore tests"
Scans the project for exported symbols (functions, classes, constants, types) that are never imported anywhere in the codebase. Helps identify dead exports safe to remove.
- Try: "Find unused functions in /home/user/myapp/src/utils.ts min 5 lines"
Detects functions and methods defined within files that are never called anywhere in the project, including unexported internal functions.
- Try: "Get dependencies for src/utils/format.ts in /home/user/myapp"
Returns the full import/export dependency graph for a specific file — what it imports and what imports it — to understand impact before deleting or refactoring.
- Try: "Scan https://github.com/facebook/react for all dead code issues"
Clone a GitHub repository and scan it for dead code (unused exports, unreferenced files, circular dependencies). Works in hosted/cloud environments where local filesystem access is unavailable.
- Try: "Summarize health of /home/user/myapp from src/index.ts ignore tests"
Produces a high-level dead code health report for the entire project — counts of unused exports, orphaned files, unused functions, and circular deps — suitable for an agent to prioritize cleanup work.
Loading reviews...
MCP servers related to deadcode-mcp
- SpectraFree tierGenerates high-quality unit tests for source code and proves it with a coverage before/after report on every run. Free tools: suggest_edge_cases, check_quota. Paid tools: generate_tests, analyze_coverage.
- DevArchitect ProFree tierDevArchitect Pro MCP server (devarchitect-pro-mcp) enables API access to professional software architecture functions for modeling systems, generating diagrams, and scaffolding code. Software architects and senior developers use it to manage designs in large-scale projects and ensure architectural consistency across teams.
- upwork-bidcraftFree tierGenerate personalized, high-converting Upwork proposals from any job post in seconds.
- Dep Upgrade AdvisorFree tierThe Dep Upgrade Advisor MCP server scans project dependencies, assesses upgrade paths, and generates reports on compatibility risks and migration steps. It processes lockfiles and manifests from package managers like npm, yarn, or pip. Developers and DevOps engineers use it to plan dependency updates without introducing regressions in production codebases.
- Deploy Readiness PostmortemFree tierProvides MCP access to functions for analyzing deployment readiness failures through structured postmortems. Captures incident details from CI/CD gates, performs root cause analysis, and generates reports. DevOps engineers and SREs use it to diagnose pre-deploy issues and refine pipelines.
- Developer Tools MCP ServerFree tierProvides an MCP server with APIs to retrieve and search GitHub repositories, npm and PyPI packages, and Stack Overflow content. Useful for developers needing programmatic access to code repositories, package metadata, and developer Q&A for integration or automation tasks.
- DevOps Change Risk CopilotFree tierAssesses DevOps changes by scoring release readiness based on risk factors and generates rollout guidance for safe deployments. DevOps engineers and SREs integrate it into CI/CD pipelines to evaluate changes before production. It identifies potential issues like configuration drifts or dependency conflicts to prevent outages.
- DevstoryFree tierScans developer projects and git history to generate LinkedIn posts summarizing code changes and milestones, then publishes them automatically. Developers using Claude or Cursor can share professional updates without manual writing or posting.
- Docker CI LintFree tierRuns docker-ci-lint to analyze Dockerfiles for syntax errors, best practices violations, and security issues within CI/CD pipelines. DevOps engineers and developers use it to validate configurations before building images, integrating via MCP for automated checks in GitHub Actions or Jenkins.
- Docker ForgeFree tierGenerate, audit, and tune Docker Compose stacks inside Claude Code — before you copy-paste anything. Pure logic, no API keys, $0 to run.