Skip to content
mcp/skillhub

Rsdoctor MCP Server

by web-infra-devio.github.yifancong/rsdoctorv0.1.0

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

1.1kNode.jsstdioofficial registry

context tax

~2,420 tok/turn15 tools

security

100/100

cold start

0 ms

freshness

Active30d ago

Our reading of Rsdoctor, from the data

Rsdoctor is an MCP server from web-infra-dev, listed in the official MCP Registry.

Its 15 tools add about 2,420 tokens to every model turn (measured 2026-10-23).

Maintenance is active: the last public signal was 30 days ago (2026-10-16).

It runs locally on your machine over stdio.

Install Rsdoctor MCP server

Install in Claude Code

claude mcp add rsdoctor -- npx -y @rsdoctor/mcp-server

Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works

npx mcpskillhub test @rsdoctor/mcp-server

Context tax

Connecting this server adds ~2,420 tokens of tool definitions to every model turn (moderate, 15 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure

ModelPer 1,000 turnsWith prompt caching
Claude Opus 5.5$9.68$0.484
Claude Sonnet 5.5$4.84$0.484
Claude Haiku 5.5$0.242—

Input prices as of 2026-10-06. Excludes your own prompt and output.

Tools (15)

  • get_rule_info629 tok

    get rules info, the rules info is a Record<{id: number, name: string, description: string, severity: string, category: string, module: string, path: string, line: number, column: number, message: string, fix: string}>, where: - id: an incremental sequence mark - name: the name of the rule - description: the description of the rule - severity: the severity of the rule - category: the category of the rule - E1001 Duplicate Packages: #### Description there is a same name package which bundled more than one version in your application. it is not good to the bundle s

  • get_module_by_id344 tok

    get module detail by id (Rspack or Webpack module id): - id: the id of the module (corresponds to Rspack or Webpack's internal module id) - issuerPath: the referrer chain (array of module ids, from entry to this module) - dependencies: direct dependencies (array of module ids this module imports/requires) - allDependencies: all transitive dependencies (if user asks for detail) - chunks: array of chunk ids this module belongs to - imported: array of module ids that import this module - isEntry: whether this module is an entry point - size: { sourceSize, tran

  • get_packages_by_package_name335 tok

    get similar packages. Similar packages are categorized as follows, with each line representing a category of similar packages. The presence of packages below does not necessarily mean there are similar packages - replacement should only be considered when packages from the same category exist: 1. cannot exist simultaneously: lodash、lodash-es、string_decode:Consider migrating to lodash-es for better Tree Shaking support. /n 2. cannot exist simultaneously: dayjs, moment, date-fns, js-joda. Consider using dayjs to replace moment for smaller bundle size. /n 3. cannot exist simultaneousl

  • get_similar_packages322 tok

    get similar packages. Similar packages are categorized as follows, with each line representing a category of similar packages. The presence of packages below does not necessarily mean there are similar packages - replacement should only be considered when packages from the same category exist: 1. cannot exist simultaneously: lodash、lodash-es、string_decode:Consider migrating to lodash-es for better Tree Shaking support. /n 2. cannot exist simultaneously: dayjs, moment, date-fns, js-joda. Consider using dayjs to replace moment for smaller bundle size. /n 3. cannot exist simultaneousl

  • get_module_by_path170 tok

    get module detail by module name or path (absolute or relative, as in Rspack or Webpack stats) - If multiple modules match, return all matched module paths and stop, let user select. - Otherwise, return the same fields as getModuleById. - Always include bailoutReason if present. - If user asks for "why is this module in the bundle", show the full issuerPath chain. - If user asks for "why not tree-shaken", show bailoutReason and explain.

  • get_module_issuer_path127 tok

    get module issuer path (who imported this module, recursively) - Return as a dependency chain (array of module ids from entry to this module) - If possible, render as a tree or graph for clarity. - For each module in the chain, show its path and (if present) bailoutReason.

  • get_bundle_optimize116 tok

    getBundleOptimize calls multiple functions to provide conclusions to users: - getRuleInfo for duplicate packages - GetSimilarPackages to check if there are similar packages that need optimization - getMediaAssetPrompt to check if media assets need optimization - GetAllChunks to check if there are oversized resources and provide splitChunk suggestions

  • get_chunk_by_id58 tok

    get chunk by id

  • get_loader_time_all_files53 tok

    Get compilation time spent by each loader on individual files

  • get_port47 tok

    Get the port of the MCP server

  • get_loader_times46 tok

    Get compiled directories loader times

  • get_package_info44 tok

    get package info

  • get_package_dependency44 tok

    get package dependency

  • get_chunks43 tok

    get all chunks

  • get_duplicate_packages40 tok

Security signals

100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

No findings from the checks that ran.

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ✓Tool descriptions (prompt-injection and hidden-text heuristics)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules

Freshness

Active — last maintenance signal 30d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-16 · 30d ago · GitHub

  2. Latest release

    2026-10-15 · 31d ago · GitHub · v2.0.0

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2025-09-22 · 14mo ago · official registry · v0.1.0

FAQ

›How do I install the Rsdoctor MCP server in Claude Code?

Run: claude mcp add rsdoctor -- npx -y @rsdoctor/mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Rsdoctor require an API key?

No required environment variables are declared in its published metadata.

›Can I use Rsdoctor as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Rsdoctor in the official MCP registry?

Yes, as io.github.yifancong/rsdoctor.

›How many tokens does Rsdoctor add to my context?

Its tool definitions total about 2,420 tokens, resent on every turn.

Sources and method

Official MCP Registry entry
updated 2025-09-22
GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.