depcheck-mcp
v0.1.2
Published
MCP server for DepCheck — dependency auditor for AI coding agents
Downloads
449
Maintainers
Readme
depcheck-mcp
MCP server exposing DepCheck — a dependency auditor for AI coding agents — to Claude Code, Cursor, and any other MCP-compatible client.
DepCheck analyzes open-source packages (npm, PyPI, cargo, Go) for:
- Vulnerabilities (CVE/GHSA via OSV.dev)
- License compatibility (SPDX)
- Maintenance status (last release, downloads)
- Typosquatting (suspicious name detection)
Returns a verdict: GO, REVIEW, or BLOCK with reasoning.
Installation
Claude Code
claude mcp add depcheck npx -y depcheck-mcpThen in any Claude Code session:
Should I install the npm package
axiosversion 1.5.0?
Claude will automatically call DepCheck and give you a security-aware answer.
Cursor / Other MCP clients
Add to your MCP config:
{
"mcpServers": {
"depcheck": {
"command": "npx",
"args": ["-y", "depcheck-mcp"]
}
}
}Configuration
Override the API endpoint via environment variable (defaults to the public hosted instance):
DEPCHECK_API_URL=https://your-self-hosted.example.comHow it works
This MCP server is a thin client that exposes a single tool depcheck_check to MCP clients. It forwards requests to the DepCheck HTTP API which performs the actual analysis using public data sources (OSV.dev, deps.dev, npm/PyPI/crates registries).
- Hosted API: https://depcheck-production.up.railway.app
- API source code: https://github.com/mathisderrieux/depcheck
Example output
Package: [email protected] (npm)
Verdict: BLOCK | Score: 0/100
Summary: ⛔ Suspicious package name — possibly typosquatting react
License: non-standard
Last release: 3765 days ago
Weekly downloads: 9
⚠ TYPOSQUATTING SUSPECT — similar to: react
Suggested alternatives:
- react: Likely the legitimate package you meant (similar name)License
MIT
