Rsdoctor MCP server
An MCP server that provides build analysis and optimization recommendations for Rspack projects.
1.1k stars5.8k downloads/wk
Reviews
Write oneNobody has reviewed Rsdoctor yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Rsdoctor tools (15)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get_bundle_optimizeget_chunk_by_idget chunk by id
get_chunksget all chunks
get_duplicate_packagesget_loader_time_all_filesGet compilation time spent by each loader on individual files
get_loader_timesGet compiled directories loader times
get_module_by_idget_module_by_pathget_module_issuer_pathget_package_dependencyget_package_infoget_packages_by_package_nameget_portGet the port of the MCP server
get_rule_infoget_similar_packages
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned20/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 1 days ago15/15
- Maintainer identitynamespace and repository owner differ; GitHub account older than a year6/10
Findings (1)
- mediumeval / new Function used
exec.evaldist/index.js: … var makeValidate = new Function('self', 'RULES', 'formats', 'root', 'ref…
Install Rsdoctor in Claude Code, Cursor or VS Code
Runs npx -y @rsdoctor/mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add rsdoctor -- npx -y @rsdoctor/mcp-server
What the publisher says
From the Rsdoctor repository's README, as published. We do not edit it. Read it on GitHub
Rsdoctor
English | 简体中文
Rsdoctor is a build analyzer tailored for projects built with Rspack.
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.
For webpack projects, continue using Rsdoctor 1.x or migrate to Rspack. See the migration guide for details.
🔥 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.
📚 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
Rsdoctor is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Rsdoctor: common questions
- Is Rsdoctor MCP server safe?
- Mostly: it is graded B (82/100). Read the Rsdoctor safety report
- How do I install Rsdoctor?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Rsdoctor need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Rsdoctor maintained?
- The last commit was 12 days ago (2026-10-01). The latest release is v0.1.0.