codescan-mcp
Scans codebases for TODOs, FIXMEs, code complexity, file stats, and dependencies, generating a health report with a letter grade. Zero configuration required.
README
codescan-mcp
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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。