DepCheck MCP: full guide
Everything you need to connect DepCheck to your AI assistant and check dependencies for known vulnerabilities before they land in your code. No account and no key needed.
Endpoint: https://mcp.cert-ix.com/depcheck
Connect your assistant
No key is needed. Add the endpoint to your assistant as a remote MCP server (Streamable HTTP, MCP protocol version 2025-06-18), and its agent can call the tools straight away. Requests without an Authorization header are served at up to 60 per minute per IP address.
Claude Code
claude mcp add --transport http depcheck https://mcp.cert-ix.com/depcheck
Config file (most MCP clients)
{
"mcpServers": {
"depcheck": {
"type": "http",
"url": "https://mcp.cert-ix.com/depcheck"
}
}
}
Step-by-step setup for ChatGPT, Claude, Claude Code, Cursor, VS Code, Windsurf, Cline, Continue, Zed, Codex and Gemini CLI, with a quick check for each, is in the Cert-IX documentation. Open the step-by-step guides
claude.ai, Claude Desktop and ChatGPT add DepCheck in their settings (a custom connector, or an app in ChatGPT's developer mode), not in a config file: follow the guide for your assistant. ChatGPT cannot send a key, so it always uses the no-key tier.
Optional: with a free key
A free key raises the limit to 20 requests per second per key. Request one with the form on the DepCheck page: it arrives by email, lasts 90 days and can be renewed. Send it in an Authorization: Bearer header. If you send a key, it must be valid: an invalid or expired key gets 401 and never falls back to the no-key tier.
claude mcp add --transport http depcheck https://mcp.cert-ix.com/depcheck \
--header "Authorization: Bearer <your-key>"
Official client (zero dependencies)
Skip writing your own MCP plumbing. The official single-file client for Node.js 18+ has no npm dependencies and handles what the protocol requires: the MCP session, JSON and SSE responses, request timeouts, retries with exponential backoff and jitter on 429/5xx (honoring Retry-After), a built-in throttle of 10 requests per second, typed errors, and redaction of your key, if you use one, from every error and log line. It works without a key.
Download cert-ix-depcheck-client.mjs
CLI: check a package or scan a manifest from your terminal
# No key needed. Optional, for higher limits (never hard-code or commit it):
# export DEPCHECK_KEY=cixmcp_...
node cert-ix-depcheck-client.mjs check_package npm lodash 4.17.20
node cert-ix-depcheck-client.mjs scan_dependencies ./package.json
node cert-ix-depcheck-client.mjs get_cve_intel CVE-2025-27152
Options: --full asks for the complete list instead of the capped one; --prerelease lets suggest_safe_version also consider pre-release versions.
Library: call the five tools from your own scripts
import { DepcheckClient, redact } from './cert-ix-depcheck-client.mjs';
const dc = new DepcheckClient(); // key from DEPCHECK_KEY, if set
const r = await dc.checkPackage({ ecosystem: 'npm', name: 'lodash', version: '4.17.20' });
console.log(redact(r.text)); // human verdict, controls stripped
console.log(r.data?.recommended_min_version); // structured result
await dc.close();
If you use a key
- Supply it via the DEPCHECK_KEY environment variable or your OS secret store (Windows DPAPI, macOS Keychain, Linux libsecret). Never hard-code it, commit it, or pass it as a command-line argument. Without DEPCHECK_KEY, the client uses DepCheck without a key.
- Keys expire after 90 days and are renewable. Requesting a new key automatically retires your previous one, so rotation is one step.
The five tools
check_package(Arguments: ecosystem, name, version): Check one package version before adding it. Returns a verdict (VULNERABLE, OK, NOT FOUND, VERSION NOT FOUND or CANNOT VERIFY), the advisories that affect exactly that version, and an upgrade target. Pass full=true to list every advisory instead of the first 15.scan_dependencies(Arguments: manifest_content, manifest_name): Scan a whole manifest or lockfile in one call: go.mod; package.json, package-lock.json, yarn.lock, pnpm-lock.yaml, bun.lock; requirements*.txt, pyproject.toml, poetry.lock, uv.lock, Pipfile.lock; Cargo.toml, Cargo.lock; pom.xml, gradle.lockfile, buildscript-gradle.lockfile; composer.json, composer.lock; Gemfile.lock, gems.locked; packages.lock.json. The hosted server takes the file's text, never a path, and checks up to 2,000 dependencies per scan. The answer lists at most 30 vulnerable packages, with up to 5 advisories each; pass full=true for all of them. If any dependency was not checked, the verdict starts with "X of Y dependencies NOT checked" and names each one with the reason.suggest_safe_version(Arguments: ecosystem, name): Get the newest published version of a package with no known advisories (npm, Go, PyPI, crates.io, Maven, RubyGems, NuGet).get_advisory(Arguments: id): Read the full detail of one advisory (GHSA-…, CVE-…, RUSTSEC-…, GO-…, PYSEC-…): description, CVSS, affected version ranges and references.get_cve_intel(Arguments: id): Exploitation intelligence for a CVE: CISA KEV status (known to be exploited in the wild), EPSS score (a prediction, not an observed attack), CVSS and CWE, with the date of the KEV and EPSS data. A KEV-listed or high-EPSS issue should jump the queue.
Reading a verdict
| Verdict or field | Meaning |
|---|---|
VULNERABLE | Advisories affect exactly the version checked, each with its id, severity and CVSS score. Those known or predicted to be exploited come first. |
OK | No known advisories, and the package and version are confirmed as published on the public registry (checked via deps.dev). |
NOT FOUND | The package does not exist on the registry: most likely a typo or an invented name. Do not install it. |
VERSION NOT FOUND | The package exists, but this version was never published. |
CANNOT VERIFY | No advisories, but existence could not be established (registry unreachable, or ecosystem not covered). Not a clean result. |
recommended_min_version / upgrade_to | The upgrade target: newer than the version checked, published, and clear of every advisory returned. Its status says how far that holds: verified, unverified (confirm it before you pin it), partial (it clears every advisory that has a fix; those that no published release fixes are listed as remaining) or no_fixed_version (no target). |
exploitation | kev: on CISA KEV, known to be exploited in the wild. high_epss: a high EPSS score, a prediction that it is likely to be exploited. Fix these first. |
kev_as_of / epss_as_of | The dates of the KEV catalogue and of the EPSS scores used. When that data is out of date, KEV status reads UNKNOWN, never "not exploited". |
How your data is handled
- Your files are not stored. A manifest you send is parsed in memory to extract package names and versions, then discarded.
- Only coordinates and identifiers are looked up: ecosystem, package name and version, or an advisory or CVE ID, never the contents of your files. Lookup results are cached in memory for one hour.
- Advisories come from Cert-IX's copy of the OSV database, hosted in the EU. When the mirror cannot answer a package with certainty, DepCheck queries the live osv.dev service instead of reporting a false all-clear.
What leaves Cert-IX: package coordinates (ecosystem, name, version) and advisory IDs, never file contents. Coordinates go to deps.dev, run by Google, to confirm that packages and versions exist and to list versions for upgrade targets; on the fallback path, coordinates and advisory IDs go to osv.dev, run by Google with the OpenSSF community. Exploitation data is downloaded from CISA (the KEV catalogue, checked about every hour) and from FIRST (EPSS scores, daily); nothing about you or your packages is sent. Avoid checking private or internal package names: they would reach deps.dev, and possibly osv.dev, and they usually read NOT FOUND, because only public registries are visible.
Fair use & limits
- Without a key, each IP address can make up to 60 requests per minute, with a burst allowance of 30. No-key traffic as a whole is also capped, so when DepCheck is busy a 429 can come sooner: wait and retry, or use a key. With a key, the limit is 20 requests per second per key, with a burst allowance of 40. Over a limit, you get 429 with a Retry-After header. A full manifest scan is a single request.
- ChatGPT and claude.ai call DepCheck from their vendor's servers, so the no-key limit is shared with other users of those addresses: if you see 429 there, wait a minute, or add a key where the client allows it. Keep a key private, one per team or user; requesting a new key retires the previous one.
Troubleshooting
| Response | What it means |
|---|---|
401 unauthorized | You sent a key that is invalid, expired or revoked. Fix it, or remove the Authorization header to use DepCheck without a key. |
429 too many requests | You hit a rate limit. Wait and retry with backoff (the official client does this for you), or use a free key for higher limits. |
NOT FOUND | For a package you know exists: check the name and the ecosystem. Private or internal packages also read NOT FOUND, because DepCheck only sees public registries. |
scan timed out | A very large or heavily affected manifest: split it into smaller pieces. |
Need help?
Ask a question or report an issue, and we will help. A key is optional: you only need one for higher limits.