The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Should I Use listing page.
The MCP that tells your agent what NOT to install.
Most library docs MCP servers dump thousands of tokens of documentation into your context and let the model sort it out. This one answers the actual question: which library to pick, which to skip, and how to do the thing. Typical answers run 25 to 360 tokens. Every response is hard-clamped at 500.
992 libraries indexed. Last updated: 2026-08-16.
The index grows daily. Data comes from a curated set of npm and PyPI libraries with honest guides written to a fixed rubric and grounded in each library's own docs: what a library is actually like to set up, when you should not use it, verified alternatives, 4-axis scorecards, and version-correct code snippets. If a library is not indexed, the tools say so plainly instead of guessing.
If you want a Context7 alternative that treats context as a budget rather than a bucket, this is it.
No API key, no database. The index ships inside the package.
That writes the server entry into whichever agent configs already exist on your machine: Claude Code, Claude Desktop, Cursor, Windsurf, Cline, VS Code, Zed, Codex, Gemini CLI. Each file it touches is backed up as .bak first. Restart your agent afterwards.
For a repo-local config instead of your home directory:
That writes .mcp.json and .cursor/mcp.json in the current directory, so everyone who clones the repo gets the server.
If you would rather edit the JSON yourself, add this to your client's MCP config (~/.cursor/mcp.json for Cursor, ~/.codeium/windsurf/mcp_config.json for Windsurf, the Claude Desktop config on macOS or Windows, and so on):
Any other MCP client: command npx, args ["-y", "should-i-use-mcp"]. Running from a local checkout: command node, args ["/path/to/should-i-use/server.js"]. VS Code puts the same object under servers instead of mcpServers, and Zed under context_servers; the installer handles both.
A hosted streamable-HTTP endpoint is rolling out at https://mrkeyoor.com/mcp. It serves the live index, so it can be a day fresher than the npm snapshot. The npx install above is the stable path today.
| Tool | Example call | What you get back |
|---|---|---|
pick_library | pick_library("parse CSV files in node") | Top 1-3 picks with one-line reasoning, plus a skip warning for the winner |
should_i_use | should_i_use("moment") | Verdict, 4-axis scores with reasons, top skip-if items, last push and download signals |
audit_dependencies | audit_dependencies(<contents of package.json>) | Only the dependencies worth a decision: unmaintained, unstable, or worth swapping |
alternatives | alternatives("axios") | Curated alternatives with "prefer it when" lines and verdicts |
how_do_i | how_do_i("got", "retry a failed request") | The 1-2 best snippets for the task plus their gotchas, nothing else |
docs_link | docs_link("fastapi", "middleware") | Docs URL and repo link, one line each |
The pitch is "ask before you npm install". This is the tool for the codebase you did not write, where the installing already happened.
Pass it the contents of package.json, requirements.txt, pyproject.toml, or just a newline-separated list of names. It returns only the dependencies that need a human decision, sorted into REPLACE (unmaintained), WATCH (unstable API or thin maintenance), and WORTH RECONSIDERING (a documented reason to skip plus a named alternative). It stays quiet about the boring majority, and it says nothing at all about packages that are not in the index rather than inventing an opinion.
Real output, unedited:
Both of those are popular packages in current use. Download count is not a maintenance signal, and that is the gap this tool is for.
A good first prompt after installing: "audit my dependencies".
clamp.js. Long answers are cut at sentence boundaries with a pointer to docs_link.npm run smoke) spawns the server, calls every tool against the bundled data, and fails if any response breaks the cap. The budget is a test, not a promise.Measured against Context7 across 10 rounds of 20 queries on libraries sampled at random from this index, tokens estimated as chars/4. Ours is one how_do_i call; theirs is the two calls an agent actually makes, resolve-library-id plus the docs call at its default budget. Query text was authored from each library's description only, never from our stored answers.
| Median tokens per answer | |
|---|---|
| should-i-use | 238 |
| Context7 | 1154 |
| Ratio | 4.8x (round range 3.9x-6.2x) |
Of 200 rows, 199 were answered by both servers; Context7 had no usable entry for 1 library, this index for 0.
Every number there is a measured MCP response, not a vendor claim. See the limitations below for what that ratio does and does not prove.
Every entry is a guide written to a fixed rubric, grounded in the library's own docs and validator-gated, backed by registry and repo signals — not scraped docs:
The bundled snapshot (data/libraries.json) is exported daily from that index. Honest means the index will tell you to skip the popular option when the maintenance signals say so. No library has paid to be listed or to change a score.
Set SHOULD_I_USE_DATA=/path/to/libraries.json to point the server at your own snapshot (same shape: a JSON array of library docs).
Worth knowing before you rely on it:
audit_dependencies therefore stays quiet on anything unindexed, and a clean audit means "nothing flagged in what I know", not "your dependencies are fine".npm install through a check. To make the check near-automatic, run npx should-i-use-mcp install --with-policy inside a project: it appends a one-line dependency policy to your CLAUDE.md/AGENTS.md (creating AGENTS.md if neither exists), and agents that read project rules will then consult the index before adding any dependency.docs_link when the answer looks stale.pick_library ranks on keywords, not embeddings. Plain phrasing works well; unusual or metaphorical phrasing can miss entirely. If nothing matches, it says so instead of returning a shrug, but you may need to reword.server.js, tools.js, clamp.js, data.js, install.js). Keep responses inside the 500 token cap; npm run smoke enforces it.data/libraries.json is generated, so edits to it get overwritten by the next export. File an issue instead and the fix lands upstream.data/libraries.json): CC BY 4.0, attribution to mrkeyoor.com. See data/LICENSE.