DepScope
DepScope
面向 AI 代理的包智能服务。 阻止 AI 编码代理(Claude、ChatGPT、Cursor、Windsurf、Copilot、Cline)在 19 个生态系统中安装虚构的、已弃用的或恶意的包。
→ 访问 depscope.dev · 840 万+ 个包 · 4.2 万+ 个漏洞(99% 包含 EPSS 增强) · 无需身份验证 · 免费
快速入门 (MCP)
Claude Desktop / Cursor / Windsurf — 远程
{
"mcpServers": {
"depscope": {
"url": "https://mcp.depscope.dev/mcp"
}
}
}Claude Code / 本地 — stdio
{
"mcpServers": {
"depscope": {
"command": "npx",
"args": ["-y", "depscope-mcp"]
}
}
}MCP 服务器源码位于 cuttalo/depscope-mcp (AGPL-3.0)。
Related MCP server: mcp-dep-tools
功能介绍
涵盖 19 个包生态系统的 22 个 MCP 工具:
npm · pypi · cargo · go · composer · maven · nuget · rubygems · pub · hex · swift · cocoapods · cpan · hackage · cran · conda · homebrew · jsr · julia
工具 | 用途 |
| 全面安全检查:弃用情况 · 漏洞 · 健康度 · 推荐 |
| 恶意包检测器 |
| 针对流行名称的拼写劫持检测 |
| 虚构检测器 (404 = LLM 编造的) |
| 0–100 健康评分及详细分析 |
| 漏洞信息 + 严重程度评分 |
| 为已弃用/废弃的包提供替代建议 |
| 主版本迁移说明 |
| 包的已知问题 |
| 并排对比 |
| 堆栈级兼容性检查 |
| 错误信息 → 可能原因 + 修复方案 |
| 目标生态系统的验证安装命令 |
| 最新稳定版本 + 成熟度信号 |
| 建议的安全版本锁定 |
| 多信号信任评分 |
| 分步升级计划 |
| 依赖清单批量扫描 |
| 批处理的快速预检过滤器 |
| 各生态系统的热门包 |
| 简洁的 LLM 友好摘要 |
| 报告缺失的包或误报 |
REST API
相同数据,纯 HTTPS — 无需 MCP 客户端。
curl https://depscope.dev/api/check/npm/lodash
curl https://depscope.dev/api/check/pypi/requests
curl https://depscope.dev/api/check/cargo/serde为什么需要它
LLM 经常会编造看起来真实但并不存在的包名(例如 fastapi-turbo、lodahs、tokio-stream-extras)。当代理尝试安装这些包时,可能会落入攻击者的拼写劫持陷阱。DepScope 在安装前会验证每一个包。
阅读更多:depscope.dev/why
定价
免费。 无需身份验证。提供慷慨的速率限制。
如果您需要更高的配额、SLA 或本地部署,请通过 depscope@cuttalo.com 联系我们。
开源与专有
此仓库仅为包含文档的落地页。
MCP 服务器 (客户端 SDK) — 开源,AGPL-3.0: → cuttalo/depscope-mcp → npm: depscope-mcp
后端 (API + 智能层) — 专有,托管于
depscope.dev。
这种拆分方式使我们能够保持客户端免费、可审计且可由社区扩展,同时维持支撑其运行的基础设施。
链接
主页 · depscope.dev
API 文档 · depscope.dev/integrate
MCP 服务器源码 · cuttalo/depscope-mcp
npm · depscope-mcp
Glama 列表 · glama.ai/mcp/servers/cuttalo/depscope
Awesome MCP · punkpeye/awesome-mcp-servers
许可证
本 README 及随附的落地页文件:CC-BY-4.0。 MCP 客户端 SDK:AGPL-3.0 (参见 cuttalo/depscope-mcp)。 后端服务:专有。
由 Cuttalo srl 构建 · 意大利 🇮🇹
Available Tools
22 toolscheck_bulkARead-onlyIdempotentInspect
Fast pre-flight filter for a batch of (ecosystem, package) pairs. DB-only, <100ms for 100 items. USE WHEN: about to emit npm install a b c … or pip install a b c … — catches hallucinated names, stdlib, typos, and known-bad in ONE call. NOT a dep-tree audit (use scan_project for that). RETURNS: per-item {status: exists|stdlib|malicious|typosquat_suspect|historical_incident|unknown}.
Inputs: items (required).
check_compatibilityARead-onlyIdempotentInspect
Is this specific multi-package version combo verified to work together? USE WHEN: pinning a stack (next@15 + react@19 + node@22); before recommending a version matrix. RETURNS: {compatible, conflicts[], notes}.
Inputs: packages (required).
check_maliciousARead-onlyIdempotentInspect
Supply-chain malware check against OpenSSF/OSV. USE WHEN: about to suggest install of an unvetted/unfamiliar package; name came from a blog/tutorial. Call BEFORE check_package for untrusted pkgs. RETURNS: {is_malicious, threat_tier, source}.
Inputs: ecosystem (required), package (required).
check_packageARead-onlyIdempotentInspect
Full machine-readable JSON report (~2k tokens). USE WHEN: you need to programmatically parse specific fields (CI gating, UI, sub-field extraction). Otherwise prefer get_package_prompt. RETURNS: {package, health:{score}, vulnerabilities[], latest, deprecated, maintainers, recommendation}.
Inputs: ecosystem (required), package (required), version.
check_typosquatARead-onlyIdempotentInspect
Typosquat detector. USE WHEN: name differs from a well-known package by 1-2 chars (lodsh, reqeusts); copy-paste from unreliable source; downloads near zero but name looks familiar. RETURNS: {is_typosquat, likely_target, confidence}.
Inputs: ecosystem (required), package (required).
compare_packagesARead-onlyIdempotentInspect
Side-by-side comparison (health, vulns, downloads, maintainers, last release) of 2-10 packages in the same ecosystem. USE WHEN: 'X vs Y' / 'should I pick X or Y'. RETURNS: table-shaped JSON, one row per package.
Inputs: ecosystem (required), packages (required).
contact_depscopeAInspect
Inbound ticket: bug/listing/security/anomaly/partnership. USE WHEN: reporting wrong data (bug), requesting a new pkg/ecosystem index (listing), disclosing a DepScope security issue (security), flagging a concrete mismatch in another tool's output vs. authoritative source (anomaly — provide tool_called+observed+expected), or partnership/press (partnership). RETURNS: {ticket_id} or {anomaly_id}.
Inputs: kind, email, subject, body, +9 more.
find_alternativesARead-onlyIdempotentInspect
Curated replacements for deprecated/unhealthy packages, including stdlib built-ins (e.g. fs.rm for rimraf). USE WHEN: pkg flagged AVOID/URGENT; 'what to use instead of X'; before guessing a replacement name. RETURNS: {alternatives[]: {name, reason, is_stdlib}}.
Inputs: ecosystem (required), package (required).
get_breaking_changesARead-onlyIdempotentInspect
Breaking changes between two majors of the SAME package (next@14→15). USE WHEN: user is bumping a major; before recommending a major upgrade. Different from get_migration_path (same pkg vs. different pkg). RETURNS: {breaking_changes[]: {area, description, hint}}.
Inputs: ecosystem (required), package (required), from_version, to_version.
get_health_scoreARead-onlyIdempotentInspect
Single 0-100 health score — cheapest go/no-go gate (>=70 safe). USE WHEN: CI gating or pkg already screened for malware/typos. NOT a first screen — run check_malicious + check_typosquat first. For a verbal verdict use get_package_prompt. RETURNS: {score, verdict}.
Inputs: ecosystem (required), package (required).
get_known_bugsARead-onlyIdempotentInspect
Non-CVE known bugs for a specific package version. USE WHEN: unexpected behavior that is NOT a security issue; a pinned version misbehaves. RETURNS: {bugs[]: {title, fixed_in, workaround}}.
Inputs: ecosystem (required), package (required), version.
get_latest_versionARead-onlyIdempotentInspect
Latest published version + deprecation flag — the cheapest call. USE WHEN: only a version string matters (pinning a dep, answering 'what version of X'). If you also need health/vulns use check_package. RETURNS: {latest, deprecated, published_at}.
Inputs: ecosystem (required), package (required).
get_migration_pathARead-onlyIdempotentInspect
Prescriptive migration plan between DIFFERENT packages — rationale + literal code diff + breaking changes + effort minutes. USE WHEN: replacing request→axios, moment→dayjs, flask→fastapi, etc.; both endpoints known. RETURNS: {rationale, diff, breaking_changes[], estimated_minutes}.
Inputs: ecosystem (required), from_package (required), to_package (required).
get_package_promptARead-onlyIdempotentInspect
LLM-optimised package brief — plain text ~300 tokens (~75% cheaper than JSON). Verdict (SAFE/AVOID/URGENT/MALICIOUS) + health + vulns + alternatives + maintainer alerts. USE WHEN: you want to reason over a package and drop the output directly in context; 'is X safe'. PREFER THIS over check_package in 95% of LLM cases. RETURNS: plain-text brief.
Inputs: ecosystem (required), package (required).
get_trendingARead-onlyIdempotentInspect
Live trending packages with rank-delta and weekly growth %. USE WHEN: 'what is rising in npm/PyPI/Cargo right now'; recommendation not biased by training-data cutoff. RETURNS: {items[]: {name, rank, rank_delta, weekly_growth_pct}}.
Inputs: ecosystem, scope, limit.
get_trust_signalsARead-onlyIdempotentInspect
One-call aggregate of ALL non-CVE supply-chain trust signals: maintainer trust (bus factor, ownership changes), OpenSSF Scorecard, quality (criticality, release velocity, publish security), and SLSA/Sigstore provenance. USE WHEN: deep-vetting a package beyond CVEs (hardened/regulated env, SBOM/compliance, small-pkg ownership review, choosing between healthy candidates). Runs 4 backend endpoints in parallel. RETURNS: {maintainer, scorecard, quality, provenance} — each may be null if its backend call failed.
Inputs: ecosystem (required), package (required).
get_vulnerabilitiesARead-onlyIdempotentInspect
CVE/OSV advisories affecting the latest (or specified) version. USE WHEN: security-sensitive project; user asks 'any CVEs in X'; you already know the pkg exists. RETURNS: {vulnerability_count, vulnerabilities[]: {id, severity, cvss, fixed_in}}.
Inputs: ecosystem (required), package (required).
install_commandARead-onlyIdempotentInspect
Canonical install command(s) across every package manager of the ecosystem (npm/pnpm/yarn/bun, pip/uv/poetry, cargo, go, composer, maven+gradle, nuget, …). USE WHEN: emitting an install line and you want correct flags. RETURNS: {primary, variants[]}.
Inputs: ecosystem (required), package (required), version.
package_existsARead-onlyIdempotentInspect
Boolean registry existence check. USE WHEN: about to emit a package name in an install command but unsure it exists; verifying a name generated from training data. RETURNS: {exists}.
Inputs: ecosystem (required), package (required).
pin_safeARead-onlyIdempotentInspect
Highest version below the chosen CVE severity tier, respecting a semver constraint. USE WHEN: writing a package.json/requirements.txt line; resolving dependabot by lowest-risk patched version. RETURNS: {recommended_version, walk_log[]}.
Inputs: ecosystem (required), package (required), min_severity, constraint, +1 more.
resolve_errorARead-onlyIdempotentInspect
Map error OR free-text query to a verified fix. USE WHEN: user pastes a concrete error/stack (ENOENT, ImportError, build failure) — pass error. OR user describes a symptom ('webpack slow', 'pip stuck') — pass query. Always prefer this over guessing a fix. RETURNS: exact-match {status, solution, confidence, source_url} or search results [{title, summary, source_url}].
Inputs: error, query, context, limit.
scan_projectARead-onlyIdempotentInspect
Full dep-list audit with per-package health+vulns and prioritized actions (REMOVE NOW / URGENT / REPLACE / REVIEW). Accepts EITHER {ecosystem, packages:[name@ver, …]} (up to 100, returns JSON) OR {packages:[{ecosystem, package}, …]} (up to 50, mixed ecosystems, returns text brief). USE WHEN: user pastes package.json/requirements.txt; 'is my stack OK'. Unlike check_bulk this fetches full health/vulns. RETURNS: JSON or text per shape.
Inputs: packages (required), ecosystem.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Each tool has a clearly distinct purpose: checks for typosquatting, malware, compatibility, health, vulnerabilities, etc. Even similar tools like `check_package` and `get_package_prompt` are differentiated by output format (JSON vs text) and use case.
Most tools follow a verb_noun pattern (e.g., `check_malicious`, `get_latest_version`), but a few like `package_exists` (noun_verb) and `install_command` (verb_noun but combined) deviate slightly. The pattern is mostly consistent with lowercase underscores.
With 22 tools, the server covers a wide range of dependency analysis needs. While slightly above the typical 3-15 range, each tool serves a specific, non-redundant purpose, making the count appropriate for its comprehensive scope.
The tool set covers nearly the entire lifecycle of package evaluation: existence, health, security, compat, migration, alternatives, trending, error resolution, and project audit. No obvious gaps for the intended domain.
Maintenance
Related MCP Connectors
Free MCP security tools for AI coding agents. Check npm/PyPI package versions, identify known OSV vulnerabilities, compare with the latest releases, and review up to 3 dependencies before deployment.
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Package intelligence for AI agents across npm, PyPI, crates.io and deps.dev. No API keys.
Protects AI coding agents from installing malicious open source packages. Every npm and PyPI package is checked against SafeDep’s real-time threat intelligence before installation.
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP security server for AI coding agents. 12 tools: pre-install guardian, vulnerability audit, supply-chain attack detection via static code analysis, and CycloneDX 1.6 SBOM generation. Zero runtime dependencies.15120 npm15Apache 2.0
- AlicenseAqualityDmaintenanceMCP server providing dependency and package management tools for AI agents. Analyze licenses, find outdated packages, visualize dependency trees, estimate bundle sizes, and audit security vulnerabilities.542 npmMIT
- AlicenseNot gradedqualityCmaintenanceVet a package before your AI coding agent uses it — authoritative facts (CVEs, license, maintenance) via an MCP server + CLI. Local, no account.102 npm13Business Source 1.1
- AlicenseNot gradedqualityDmaintenanceValidates and checks packages across 19 ecosystems to prevent AI agents from installing hallucinated, deprecated, or malicious packages.60 npmAGPL 3.0