1. Conduid
  2. Developer Tools
  3. io.github.yifancong/rsdoctor
MCP server · Developer Tools

io.github.yifancong/rsdoctor

An MCP server that provides build analysis and optimization recommendations for Rspack projects.

Unclaimed devtools
37Low

Scored 7 months ago · breakdown

About io.github.yifancong/rsdoctor

io.github.yifancong/rsdoctor is an MCP server published by web-infra-dev in the Developer Tools category: an MCP server that provides build analysis and optimization recommendations for Rspack projects.

The repository has 1.1K stars and 107 forks, with the last commit 4 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add io-github-yifancong-rsdoctor -- npx -y @rsdoctor/mcp-server
npx
npx -y @rsdoctor/mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about io.github.yifancong/rsdoctor

Powered by Claude · Grounded in docs

I know everything about io.github.yifancong/rsdoctor. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Rsdoctor

English | 简体中文

Rsdoctor is a build analyzer tailored for the Rspack ecosystem and fully compatible with the webpack ecosystem.

Rsdoctor is committed to being a one-stop, intelligent build analyzer that makes the build process transparent, predictable, and optimizable through visualization and smart analysis, helping development teams precisely identify bottlenecks, optimize performance, and improve engineering quality.

Rsdoctor supports all tools and frameworks based on Rspack or webpack, such as: Docusaurus, Rspeedy (Lynx), Storybook, Next.js, Nuxt, Re.Pack, Modern.js, Rsbuild, Rspress and Rslib.

https://github.com/user-attachments/assets/b8bb4ebf-b823-47bc-91ab-2d74f0057ef7

🔥 Features

  • Compilation Visualization: Rsdoctor visualizes the compilation behavior and time consumption, making it easy to view build issues.

  • Multiple Analysis Capabilities: Rsdoctor supports build artifact, build-time analysis, and anti-degradation capabilities:

    • Build artifact support for resource lists and module dependencies, etc.
    • Build-time analysis supports Loader, Plugin, and Resolver building process analysis
    • Build rules support duplicate package detection and ES Version Check, etc.
  • Support Custom Rules: In addition to built-in build scan rules, Rsdoctor also supports users adding custom component scan rules based on the build data of Rsdoctor.

  • Support MCP Server: Rsdoctor also provides an MCP server for build analysis through a question-based approach.

📚 Getting started

To get started with Rsdoctor, see the Quick Start.

🤝 Contribution

New contributors welcome!

Please read the Contributing Guide.

🧑‍💻 Community

Come and chat with us on Discord! The Rstack team and users are active there, and we're always looking for contributions.

🦀 Rstack

Rstack is a unified JavaScript toolchain centered on Rspack, with high performance and consistent architecture.

Name Description Version
Rspack Bundler
Rsbuild Build tool
Rslib Library development tool
Rspress Static site generator
Rsdoctor Build analyzer
Rstest Testing framework
Rslint Linter

🙌 Code of conduct

This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of Conduct for more details.

🙏 Credits

Some of the implementation of Rsdoctor refers to the excellent projects in the community, and we would like to thank them:

  • bundle-stats is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.
  • webpack-bundle-analyzer is a classic tool for analyzing Webpack, and Rsdoctor is inspired by it in terms of build artifact analysis. Rsdoctor also uses its classic treemap visualization.
  • Statoscope is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.
  • Webpack Team and Community have created an excellent bundling tool and a rich ecosystem.
  • vite-plugin-inspect has inspired Rsdoctor's exploration of build process analysis.

This Rsdoctor website is powered by Netlify.

📖 License

Rsdoctor is licensed under the MIT License.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About io.github.yifancong/rsdoctor

How do I install io.github.yifancong/rsdoctor?

Run claude mcp add io-github-yifancong-rsdoctor -- npx -y @rsdoctor/mcp-server, then add the server to your MCP client's configuration.

Is io.github.yifancong/rsdoctor safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.yifancong/rsdoctor still maintained?

Yes — the last commit was 4 days ago. The repository has 1.1K stars and 107 forks.