Skip to content
MCP server
Registry

importprobe MCP Server

Look up a package's real API, vet packages before install, catch made-up imports.

importprobe scores 68 (Good), licensed MIT and written in JavaScript. It installs as a local process. It does not declare tools yet. Filed under Uncategorized. GitHub shows 1 stars. Package registries report about 101 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.

by kaankaya17MITJavaScript1 stars
Trust score
68Good
Trust score 68 of 100, Good

Good trust

68 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 68 comes from

22 + 20 + 5 + 10 + 4 + 7 = 68. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity5 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 5 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "kaankaya17-importprobe": {      "command": "npx",      "args": [        "-y",        "importprobe@0.1.1"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

importprobe

npm CI license

Catch what your AI coding agent made up — before it runs.

AI assistants write code that is almost right: an import from a package that doesn't exist, a function the package never exported, a method from a different library or an older major version, a typo'd package name that an attacker registered. importprobe checks every import and API call against the real package.

importprobe finding made-up imports and API calls

npx importprobe          # check the current project
npx importprobe init     # make your AI agent check its own code (Claude Code, Cursor, VS Code)

What it checks

ProblemExampleRule
Package doesn't existimport x from 'axios-retry-pro'unknown-package
Typosquat or brand-new / barely used packageexpresss, loadsh, a name registered last weeksuspicious-package
Deprecated packagerequestdeprecated-package
Real package, not in package.json, not installedimport { nanoid } from 'nanoid'missing-dependency
Works only by accident (transitive)import mime from 'mime-types'undeclared-dependency
Export doesn't existimport { formatRelative } from 'dayjs'unknown-export
Method doesn't exist — directly or in a chainaxios.fetch(), z.string().emailAddress(), express().listenAsync()unknown-member
Entry point doesn't existdayjs/plugin/relativeTimesunknown-subpath
Node built-insnode:paths, readJsonSync from node:fsunknown-builtin, unknown-export
Local filesmissing file, wrong export name, default import of a named-only modulemissing-file, unknown-export, no-default-export

Works on .js .jsx .ts .tsx .mjs .cjs and the scripts of .vue, .svelte and .astro files.

And it explains why, so the fix is obvious:

  • "was removed: it last existed in v5" / "was added in v8" — checks other majors of the package (or its @types).
  • "is exported by date-fns" — the AI mixed up two libraries (your dependencies, Node built-ins, and a built-in index of ~100 popular packages).
  • "did you mean" — closest real names. Suggested packages must themselves be established (≥ 1,000 downloads/week); deprecated ones are marked.

It checks the real package without installing it. When a package isn't installed, importprobe downloads the published tarball, keeps only declaration / JS / package.json files, and reads them with the TypeScript checker. Nothing from the package is ever executed — no install scripts, no require.

Chained-call checks only report members missing from types that a package's own declaration files define. Your project's types, augmentations (declare global, declare module) and tsconfig paths/types are respected.

Use it

npx importprobe                 # current folder
npx importprobe src/ app.tsx    # files or folders
npx importprobe --changed       # only files changed in git
npx importprobe --fast          # imports + direct members only, no network hints
npx importprobe --json          # for tools
npx importprobe --sarif > importprobe.sarif   # GitHub code scanning

Exit code 1 when errors are found (--strict: warnings too), 0 when clean. In a monorepo each file is checked against its own nearest package.json.

Let your AI agent check — and fix — its own code

npx importprobe init            # detects .claude / .cursor / .vscode
npx importprobe init claude cursor vscode --dry-run

init merges into your existing config files (it never drops your settings and leaves files with comments untouched, printing what to add instead):

AgentWhat it adds
Claude Codea PostToolUse hook in .claude/settings.json — after every file the agent writes, invented imports go straight back to the agent — plus the MCP server in .mcp.json
Cursorthe MCP server in .cursor/mcp.json
VS Codethe MCP server in .vscode/mcp.json

Claude Code hook (.claude/settings.json):

{
  "hooks": {
    "PostToolUse": [
      { "matcher": "Write|Edit|MultiEdit",
        "hooks": [{ "type": "command", "command": "npx -y importprobe hook" }] }
    ]
  }
}

MCP server, any client: command npx, args ["-y", "importprobe", "mcp"] (on native Windows: command cmd, args ["/c", "npx", "-y", "importprobe", "mcp"]).

claude mcp add importprobe -- npx -y importprobe mcp

MCP tools: look things up instead of guessing

ToolWhat the agent gets
list_exportsThe real API of a package or built-in, with signatures; or the members of one export (methods, what a call returns, class instance members). Installed version, or any version from npm.
check_packageDoes it exist? How old, how popular, deprecated? Similar real names if not.
check_filesEverything the CLI checks, as agent-ready feedback.

importprobe is listed in the MCP Registry as io.github.KaanKaya17/importprobe.

GitHub Action

Annotates the pull request on the exact lines, writes a job summary, and can produce SARIF:

- uses: KaanKaya17/importprobe@v0.1.1 # or pin the commit SHA
  with:
    path: src            # default: .
    fail-on: error       # error | warning | never
    sarif: importprobe.sarif   # optional
- uses: github/codeql-action/upload-sarif@v3   # optional: show in the Security tab
  if: always()
  with: { sarif_file: importprobe.sarif }

Outputs: errors, warnings. The action runs the importprobe code of the ref you pinned; it does not download anything else at run time (except registry lookups).

How it works

  1. Pre-scans files for module specifiers (static, dynamic import(), require, re-exports).
  2. For each package: is it declared? installed? on npm? how old, how popular, deprecated, a typo of a popular name?
  3. Fetches declarations for packages that aren't installed (+ matching-major @types/*).
  4. Builds one TypeScript program (with your project's .d.ts files and resolution settings) and asks the checker what each module really exports and what each value really has.
  5. For misses, looks at other major versions, your other dependencies and a built-in index to explain them.

Exports inferred from plain-JavaScript packages (no types) can be incomplete, so those findings are warnings, not errors.

Cache and privacy

Only public registry endpoints are called (registry.npmjs.org, api.npmjs.org), and only with package names — including names of the packages your code imports, so private package names are sent too unless you use --offline. Your code never leaves your machine.

Downloads and registry answers are cached in one folder (%LOCALAPPDATA%\importprobe\cache, $XDG_CACHE_HOME/importprobe or ~/.cache/importprobe; override with IMPORTPROBE_CACHE). It is kept under 200 MB (IMPORTPROBE_CACHE_MAX_MB): entries unused for 30 days, then the least recently used ones, are removed automatically.

npx importprobe cache          # where, how big
npx importprobe cache clean    # remove everything importprobe downloaded

Development

npm install
npm run demo:setup   # installs both sample apps' dependencies (scripts disabled)
npm run demo         # run against test/fixtures/ai-app
npm test
npm run smoke        # pack, install the tarball, run it
node scripts/build-index.mjs   # refresh the built-in export index
node scripts/render-demo.mjs   # refresh docs/demo.svg
IMPORTPROBE_DEBUG=1 npx importprobe   # phase timings (=files: biggest packages loaded)

Releasing: see RELEASING.md.

License

MIT

Frequently asked questions

What is importprobe MCP Server?

Look up a package's real API, vet packages before install, catch made-up imports.

How do I install importprobe MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. importprobe MCP Server runs locally from the npm package importprobe with the command npx -y importprobe@0.1.1.

Is importprobe MCP Server free and open source?

Yes. importprobe MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does importprobe MCP Server support remote (HTTP) connections?

No remote endpoint is listed for importprobe MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is importprobe MCP Server's trust score calculated?

importprobe MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server