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

mcp-codemap

v1.0.0

Published

Intelligent project documentation engine for MCP: auto-analyze codebases, generate README, architecture diagrams, dependency tree, API docs

Downloads

130

Readme

mcp-codemap 🗺️

让 AI 真正"看懂"你的项目 — 自动分析代码库、生成 README、架构图、依赖图谱、API 文档

🔥 测试结果

在 Express.js 框架(201个文件、53个目录)上的实际测试:

| 工具 | 测试结果 | |------|---------| | project_scan | ✅ 正确检测 Node.js 项目,201 文件,53 目录,702KB | | project_tree | ✅ 生成完整目录树,支持深度控制 | | project_deps | ✅ 找到 44 个依赖,正确区分 prod/dev | | project_apis | ✅ 发现 13 个 API 端点 | | project_readme | ✅ 自动生成包含概览/安装/依赖/API 的 README(见下文示例) | | project_arch | ✅ 生成 Mermaid 架构图 | | project_summary | ✅ 生成适合 LLM 上下文的精简摘要 | | project_files | ✅ 按扩展名/名称模式搜索文件 |

生成 README 示例(对 Express.js 运行 project_readme 的输出)

# test-express
> Auto-generated by mcp-codemap

## 📋 Overview
- **Type:** Node.js  |  **Stack:** Node.js
- **Files:** 201  |  **Size:** 702.9 KB

## 🚀 Quick Start
npm install
npm run dev

## 📦 Dependencies (44)
- accepts: ^2.0.0
- body-parser: ^2.2.1
- ...42 more

## 🌐 API Endpoints (13)
| Method | Path | File |
| GET | env | test/app.js |
| GET | etag fn | test/config.js |
| ...11 more |

📦 安装

npm install -g mcp-codemap

然后配置到 Claude Code 的 claude.json:

{
  "mcpServers": {
    "mcp-codemap": {
      "command": "npx",
      "args": ["mcp-codemap"]
    }
  }
}

🛠️ 8 个工具

| 工具 | 说明 | |------|------| | project_scan | 扫描项目:技术栈、入口、文件分布 | | project_tree | 目录树可视化 | | project_deps | 依赖分析(支持 npm/pip/cargo) | | project_apis | API 端点自动发现 | | project_files | 按扩展名/模式搜索文件 | | project_readme | 一键生成 README 文档 | | project_arch | Mermaid 架构图 | | project_summary | LLM 上下文摘要 |

📄 License MIT

💝 爱发电 · ¥3.9