
StaleDocs
io.github.mr-min-maxPublished by GitHub account mr-min-maxv0.5.0-beta.2Updated Oct 30, 2026
Finds documentation that no longer matches your code. Deterministic AST check; no API key.
Overview
StaleDocs detects documentation that no longer matches your code, using deterministic AST analysis, and hands the assistant the exact sections to update.
- What you can do
- Find documentation drift: report public API changes in a pull request and the doc sections that still describe the old behavior.
- Inspect changed symbols: get before and after signatures for changed public symbols.
- Prepare documentation updates: supply the exact sections and signatures so the assistant can draft and apply approved Markdown.
- Audit a repository: list package scripts, paths and public class members that Markdown still mentions but the code no longer has, including agent instruction files.
- When to use it
- Useful when a repository's README, API docs or agent instruction files drift from the code, especially during pull request review or when you want an assistant to draft and validate documentation updates.
- Requirements
- Runs locally over stdio via npx from the npm package staledocs. Node.js 22.12.0 or newer and npm/npx are required for the plugin and CLI paths. No API key or authentication is needed for the core drift checks.
Installation
In SourceWeft
- Open StaleDocs in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
StaleDocs
Formerly aidoc.
StaleDocs reads your code, finds public API changes in a pull request, and tells you which documentation sections now describe the old behavior.
Website · GitHub Action setup · Codex plugin
Add to a repository in one file
[Example StaleDocs pull request review comment]
What the comment contains
- Changed symbols with before and after signatures.
- Sections that mention them and were not updated.
breaking-changeanddocs-stalelabels when applicable.
No model, no API key, no writes. It is deterministic AST analysis.
From the terminal
Install the command:
staledocs review reports documentation impact for a pull request.
staledocs plan prints the affected documentation targets.
staledocs check exits with code 1 when a section mentioning a changed public symbol was not updated, and exits 0 otherwise.
Audit a repository once
staledocs audit lists the package scripts, repository paths, and public
class members that your Markdown still mentions but the code no longer has,
including AGENTS.md, CLAUDE.md, and the copilot-instructions.md file
under .github, the files coding agents read first. It needs no pull request.
The command is new in 0.5.0-beta.1.
Output on a small fixture repository:
Fix the docs with your assistant
Codex plugin
Start Codex in your Git worktree, then run:
In a new session, type $ and pick staledocs:check, staledocs:review, or
staledocs:maintain-documentation (or open /skills). Requires
Node.js >=22.12.0 and npm/npx. This repository hosts its own plugin
marketplace; it is not a listing in OpenAI's plugin directory.
Claude Code plugin
Start Claude Code in your Git worktree, then run:
Use /staledocs:check for drift signals, /staledocs:review for the PR report,
or /staledocs:maintain-documentation for a validated draft. Requires
Node.js >=22.12.0 and npm/npx. This repository hosts its own plugin marketplace;
it is not an approved Anthropic directory listing.
Manual MCP
prepare_documentation_update gives the assistant the exact sections and before and after signatures.
StaleDocs validates the candidate, and the assistant applies the approved Markdown.
See the Codex guide and Claude guide.
Languages
TypeScript, JavaScript, and Python are supported. A public symbol is one reachable from the package entry; see LIMITATIONS.md for syntax and discovery caveats.
Legacy generators
readme, api, changelog, diagram, and annotate remain available for initial documentation. They need a provider key or Ollama and are not the focus of StaleDocs. See the CLI catalogue.
Status and links
StaleDocs 0.5.0-beta.2 is the current release. npm latest, npm beta, and the GitHub Action v0 tag point to the current release, and the official MCP Registry lists it as io.github.mr-min-max/staledocs.
[npm] [CI] [License: MIT] [Node.js] [GitHub Action Marketplace]
Source: README.md at commit 2eca54c
Tools
0Version history
2- v0.5.0-beta.2LatestOct 30, 2026
- v0.5.0-beta.1Oct 29, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts