Stalemap logo

Stalemap

by Umair

Helps coding agents detect post-cutoff npm API changes through notes, type checks, edit guards, and searchable change data.

Install Stalemap

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "umair-stalemap": {
      "command": "npx",
      "args": [
        "-y",
        "stalemap",
        "mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio umair-stalemap -- npx -y stalemap mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y stalemap mcp

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Umair/stalemap analyzes JavaScript and TypeScript projects to identify npm dependency changes published after an AI model's training cutoff. It compares dependency types, release notes, and optional upgrade guides, then supplies ranked notes, an edit-time guard, and MCP search tools. Use it when coding agents may rely on outdated library APIs or miss configuration and migration changes. It integrates with Claude Code, Cursor, Codex, OpenCode, and other MCP clients through stdio.

Use cases

  • Detect APIs that changed after a model's training cutoff
  • Generate dependency migration notes for coding agents
  • Check edited TypeScript code against changed package APIs
  • Search release notes and upgrade guides for a package change
  • Fail CI when dependency notes are missing or stale

Key features

  • Ranks post-cutoff dependency changes in AGENTS.md or CLAUDE.md
  • Compares TypeScript declarations across package versions
  • Runs a post-edit type-checking guard
  • Provides four MCP tools for project and package change searches
  • Reads npm, pnpm, Yarn, and Bun lockfiles
  • Supports a GitHub Action for CI checks and pull-request comments

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

18/18 checks healthy over the last 39d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 9d ago via OSV.dev · stalemap (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars106Stargazers on the source repository.
npm downloads451Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.

How Stalemap works

What Umair/stalemap does

Umair/stalemap helps coding agents account for dependency changes that occurred after the model's training data cutoff. It examines the versions a project uses, determines what the model was likely aware of, and produces concise migration notes for APIs that changed in between.

The output can be written between managed markers in AGENTS.md or CLAUDE.md, allowing an agent to see the relevant warnings at the start of a session. The project also provides an edit-time guard and an MCP interface for investigating changes on demand.

How it works

The tool identifies a model from its command-line option or supported agent configuration, then obtains a training cutoff from models.dev or a built-in fallback. A custom date can be supplied with --cutoff, and --margin controls how far before that date a release must have been published to count as known.

It scans imported direct dependencies and packages referenced by recognized configuration files. With --all, it checks every direct dependency. Pinned versions are read from installed packages or npm, pnpm, Yarn, and Bun lockfiles.

For each package, stalemap compares TypeScript declaration files using the compiler API. It detects removed, renamed, or relocated exports, changed parameters and options, and newly deprecated APIs. It can also inspect changelogs, GitHub Releases, upgrade guides, and optional verified examples. Notes about APIs and configuration used by the project are prioritized within a default token budget that can be adjusted with --budget.

After edits, the guard runs the project's own tsc check. It prioritizes dependency-related errors with matching migration notes, then reports changes that still compile, such as moved configuration keys or APIs whose behavior changed. It can also search relevant type changes, release notes, and upgrade-guide sections when no direct note explains an error.

Setup and configuration

Run npx stalemap setup --agent <agent> for supported agent setup. The command can configure cursor, codex, opencode, or claude; --dry-run prints the proposed changes without writing them. Setup registers the MCP server, adds project notes, and installs the post-edit guard while preserving configuration entries it did not create.

For Claude Code, install the plugin through its marketplace. The plugin adds session-start and post-edit hooks, the MCP server, and skills for synchronizing notes or checking package changes. The hooks invoke npx -y stalemap@latest.

Any MCP client can launch the server with npx -y stalemap@latest mcp. The command-line interface also supports previewing changes, synchronizing notes, checking for stale notes, and running the guard manually. A GitHub Action can fail CI when notes are missing or stale, or comment on pull requests that change dependencies.

Tools and capabilities

The MCP tools are:

  • search_changes: search changes using a natural-language request and return relevant sources.
  • package_changes: inspect changes for a package.
  • project_changes: analyze dependency changes for the project.
  • check_notes: check whether the project's notes are present and current.

Additional capabilities include ranked notes for AGENTS.md or CLAUDE.md, local scanning of JavaScript and TypeScript usage, type-diff analysis, release-note matching, optional upgrade-guide processing, and verified Before-to-After examples when enabled.

Limitations and notes

The project is early and maintained by one person. Cursor, Codex, and OpenCode setup has not been tested in real installations. Cursor does not currently pass post-tool-use hook context to the model, so its setup adds a stop-hook fallback for unreported findings. Claude Code reads CLAUDE.md; projects that keep notes in AGENTS.md can reference that file from CLAUDE.md or select another target.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Stalemap

Umair/stalemap is an MCP server that connects coding agents to project dependency change data from TypeScript declarations, release notes, and upgrade guides. Its main tools are search_changes, package_changes, project_changes, and check_notes, helping agents find post-cutoff API changes and verify whether project notes remain current.

Install it with `npx -y stalemap@latest mcp` in an MCP client's server configuration. For supported coding agents, run `npx stalemap setup --agent cursor`, `codex`, `opencode`, or `claude`; use `--dry-run` to preview project-file changes.

Yes, Cursor is a supported setup target and any MCP client can launch the server. Run `stalemap setup --agent cursor`; because Cursor does not pass post-tool-use hook context to the model, setup also adds a stop-hook fallback for findings that were not reported immediately.

It compares the pinned package version with the newest stable release that predates the model cutoff by the configured margin. It analyzes declaration files, release notes, optional upgrade guides, and project imports or configuration to identify removed, renamed, moved, deprecated, or otherwise changed APIs.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewStalemap AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/umair-stalemap?style=directory)](https://allmcps.com/mcp/umair-stalemap)
HTML Embed
<a href="https://allmcps.com/mcp/umair-stalemap"><img src="https://allmcps.com/api/badge/umair-stalemap?style=directory" alt="Stalemap on AllMCPs" /></a>