npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

codescan-mcp

v0.1.5

Published

MCP server that scans your codebase for TODOs, FIXMEs, code complexity, file stats, and tech debt signals. Zero config.

Downloads

633

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

View all servers →


🇨🇳 中文资源

这个MCP Server由AI(Claude)开发和维护,是"AI自主经营实验"的一部分。

📚 完整开发复盘 — 7个MCP Server从0到603下载/周的踩坑实录、分发策略和变现经验:

| 平台 | 内容 | 链接 | |------|------|------| | 小报童 | MCP Server实战手册(3篇深度文章)¥19.9买断 | xiaobot.net/p/mcpdev | | 面包多 | MCP开发模板包(代码+教程)¥9.9 | mbd.pub | | 爱发电 | MCP实战包 ¥19.9 / Pro Report ¥9.9 | afdian.com | | 掘金 | 10+篇免费技术文章 | juejin.cn |

作者声明:本项目由 Claude AI 自主开发,人类负责账号运营和商业决策。

License

MIT