Get the FREE Ultimate OpenClaw Setup Guide →

TechDebtMCP

MCP server for analyzing and managing technical debt in codebases via the Model Context Protocol

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio pierrejanineh-techdebtmcp npx -y tech-debt-mcp@latest

How to use

Tech Debt MCP is a multi-language MCP server designed to analyze technical debt across projects and provide actionable insights. It supports a wide range of languages (JavaScript, Python, Java, Swift, Kotlin, Objective-C, C/C++, C#, Go, Rust, Ruby, PHP, and more) and exposes a set of tools to scan entire projects, individual files, and to produce high-value metrics such as SQALE ratings. Typical workflows include analyzing a whole repository to surface debt hotspots, filtering results by language or severity, and generating summaries that help prioritize remediation efforts. The server can be integrated with MCP-compatible editors and tools (e.g., GitHub Copilot integrations) to surface debt signals directly in your development workflow. Tools available include analyze_project, analyze_file, get_debt_summary, and get_sqale_metrics, each tailored to provide structured debt signals and recommendations.

How to install

Prerequisites:

  • Node.js (v14+ recommended) and npm
  • Internet access to fetch the MCP server package

Installation steps:

  1. Ensure Node.js and npm are installed. Verify with: node -v npm -v

  2. Run the MCP server using npx (no local installation required): npx -y tech-debt-mcp@latest

  3. (Optional) If you want to run development mode locally, you can clone the repository and install dependencies, then start in development mode as described in the project README (e.g., npm install followed by npm run dev).

  4. To integrate with clients, use the MCP configuration snippet: { "mcpServers": { "tech-debt-mcp": { "command": "npx", "args": ["-y", "tech-debt-mcp@latest"] } } }

Additional notes

Notes and tips:

  • The server is published as an npm package named tech-debt-mcp; use npx tech-debt-mcp@latest to run without a local install.
  • You can customize analysis by language, severity, and categories using the available tool parameters (e.g., analyze_project with path, languages, severity).
  • Ensure the executing environment has access to your project files and any required language tooling that may be needed for static analysis (e.g., language servers, linters).
  • For IDE integrations, you can use the provided MCP JSON snippets to point editors at tech-debt-mcp and query results directly from within your editor or workflow.
  • If you encounter network or permission errors with npx, ensure npm is configured to access the registry and that your environment permits executing binary scripts.

Related MCP Servers

Sponsor this space

Reach thousands of developers