npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

context-ops-mcp

v2.1.0

Published

MCP server that gives your AI coding agent a bounded map of an unfamiliar TypeScript SaaS repo: structure, entry points, risk-flagged files, and SaaS-shaped smell observations, without burning the context window on full-file reads.

Downloads

68

Readme

context-ops-mcp

Gives your AI coding agent a bounded map of an unfamiliar TypeScript SaaS repo: where the code lives, what's risky to touch, and where the money / auth / user flows are. Without burning your context window on full-file reads.

TypeScript MCP npm

Built for the agency, fractional-CTO, or consultancy dev lead who just inherited a TypeScript SaaS codebase and needs to go from zero to a credible map in one afternoon, inside Cursor or Claude Code.

What it does

Eight MCP tools your agent calls locally. All heuristic. Regex over file heads, filename rules, and one whole-file streaming pass in the relevance ranker. No AST. No type checker. No call graph.

  • Orientation: structure, top-of-file symbol hints, entry points, config files
  • Task focus: ranked candidate files for a task string, plus a step-ordered plan
  • Risk: files that often deserve extra care before edits
  • SaaS smells: observation-only flags for billing, auth, security patterns, debt markers, and risky deps

MCP tools exposed

| Tool | What it returns | |------|------------------| | get_project_structure | Sorted POSIX paths of directories and files (skips node_modules, .git, dist, .next, .turbo, build, out, coverage, .svelte-kit, .vercel, .cache) | | get_semantic_summary | First 50 lines of every .ts and .json file: detected exports, key functions, JSON top-level keys | | get_entry_points | .ts files that look like bootstrap or route registration (filenames, folder hints, framework imports) | | get_relevant_files_for_task | Up to 10 .ts files ranked against a task string (path, exports, key functions, plus a whole-file keyword pass) | | get_execution_plan_for_task | Step-ordered list: inspect entries first, then a modify candidate, then supporting reads, plus an avoid list | | get_risky_files | .ts files matching risky path segments, process.env, DB/auth imports, or startup patterns | | get_likely_config_files | Manifests, tsconfig, .env, build/CI/tooling configs (filename pattern match, not content validation) | | get_saas_smells | Observation-only scan (up to 500 lines per code file): billing keywords, auth imports, security regex hits, TODO/FIXME/HACK/XXX, any/@ts-ignore, risky deps from package.json. No scores. No severity ranking. No hour estimates. |

What it will not claim

  • Not an audit, diagnosis, or analysis. The smell tool returns presence checks, not verdicts.
  • No /100 scores. No hour estimates on remediation.
  • No UI-layer claims. This reads code structure, not UX or conversion.
  • No AST, type-checker, or call-graph promises.
  • A determined engineer rebuilds the orientation core in an afternoon with grep and tree. The differentiator is MCP wiring, task-string ranking, and prose-narrated read order, not capability you cannot have.

Stack

TypeScript · MCP SDK · Node.js · stdio transport

Run locally

npm install
npm run build
npm run start

Wire it into Cursor or Claude Code as a local MCP server (stdio). No API keys required.

Built by

AboJad, Full Stack AI Engineer, Marrakesh