Codescan
FreeNot checkedScans codebases for TODOs, FIXMEs, code complexity, file stats, and dependencies, generating a health report with a letter grade. Zero configuration required.
About
Scans codebases for TODOs, FIXMEs, code complexity, file stats, and dependencies, generating a health report with a letter grade. Zero configuration required.
README
MCP server that scans your codebase for TODOs, FIXMEs, code complexity, file stats, dependency analysis, and generates a health report with a letter grade. Zero config, zero API keys.
Install
npx codescan-mcp
No config files. No API keys. Works on any local project directory.
Tools
scan_todos — Find all TODOs, FIXMEs, HACKs
"Find all TODOs in this project"
"Show me every FIXME and HACK in my codebase"
"What TODOs are in /path/to/project?"
Scans every code file, returns tag, file, line number, and text. Groups by tag type.
project_stats — Codebase statistics
"How many lines of code are in this project?"
"Show file count by language"
"What are the largest files?"
Files by extension, line counts, size, directory breakdown, largest files ranked.
find_complex_files — Complexity detector
"Find files over 300 lines"
"Which files have the deepest nesting?"
"Show me complex files that need refactoring"
Flags long files, deep nesting, and long functions. Configurable threshold.
check_dependencies — Dependency analysis
"How many dependencies does this project have?"
"Is there a lockfile?"
"List all npm packages this project uses"
Supports: package.json, requirements.txt, pyproject.toml, go.mod, Cargo.toml.
health_report — Full health report with letter grade
"Give me a health report for this project"
"Grade this codebase"
"How healthy is this project?"
Combines all analyses into a single report with an A-F grade, scores, and actionable recommendations.
Configuration
Claude Desktop / Claude Code
{
"mcpServers": {
"codescan": {
"command": "npx",
"args": ["codescan-mcp"]
}
}
}
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"codescan": {
"command": "npx",
"args": ["codescan-mcp"]
}
}
}
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"codescan": {
"command": "npx",
"args": ["codescan-mcp"]
}
}
}
What It Scans
- 35+ file types: TypeScript, JavaScript, Python, Go, Rust, Java, C/C++, Ruby, PHP, Swift, Kotlin, Vue, Svelte, and more
- Smart ignore: Skips node_modules, .git, dist, build, pycache, vendor, and other non-source directories
- Performance: Handles projects up to 5,000 files, skips files over 500KB
Token Cost
| Tool | Tokens |
|---|---|
| scan_todos | ~550 |
| project_stats | ~550 |
| find_complex_files | ~550 |
| check_dependencies | ~550 |
| health_report | ~550 |
| Total | ~2,750 |
Part of the MCP Toolkit
- webcheck-mcp — Website health analysis
- git-summary-mcp — Git repository intelligence
- mcp-checkup — MCP setup health analyzer
- dev-utils-mcp — Developer utilities
- codescan-mcp — Codebase health scanner
- deadlink-checker-mcp — Dead link detector
License
MIT
Install Codescan in Claude Desktop, Claude Code & Cursor
unyly install codescan-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add codescan-mcp -- npx -y codescan-mcpFAQ
Is Codescan MCP free?
Yes, Codescan MCP is free — one-click install via Unyly at no cost.
Does Codescan need an API key?
No, Codescan runs without API keys or environment variables.
Is Codescan hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Codescan in Claude Desktop, Claude Code or Cursor?
Open Codescan on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Codescan with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
