# codebase-intelligence MCP server

> Analyzes TypeScript codebases to provide architectural metrics, dependency impact analysis, and dead code detection for AI agents and developers.

- Repository: https://github.com/bntvllnt/codebase-intelligence
- Page: https://hostedmcp.org/servers/bntvllnt/codebase-intelligence
- Transport: —
- Stars: 8
- License: MIT

## FAQ

### How can I use codebase-intelligence with Claude?

You can add it as an MCP server using the command: `claude mcp add -s user -t stdio codebase-intelligence -- npx -y codebase-intelligence@latest .`

### Does it support CI/CD pipelines?

Yes, it provides machine-readable JSON output and specific commands like `check` and `ci` designed to act as quality gates in CI environments.

### Can it help me find unused code?

Yes, it includes a `dead-exports` command specifically for detecting unused exports.

### How does it help AI agents work better with my code?

The `init` command writes instruction files for agents like Claude or Cursor, teaching them to query the tool for context instead of relying on simple grep/read commands.
