npm hound-mcpstdioMITupdated 1mo ago
The dependency bloodhound for AI coding agents.
hound 能做什么?
Hound MCP
The dependency bloodhound for AI coding agents.
Why Hound?
AI coding agents recommend and install packages without knowing if they're safe — and most security tools require accounts, API keys, or paid plans to tell you. Hound fixes that: it scans for vulnerabilities, checks licenses, audits dependency trees, and detects typosquatting across 7 ecosystems — zero config, zero API keys, zero cost.
Hound is the only security tool built specifically for AI coding agents — works across npm, PyPI, Go, Cargo, Maven, NuGet, and RubyGems, and plugs into Claude Code, Cursor, VS Code, and any MCP client out of the box.
It uses two fully free, unauthenticated public APIs: deps.dev (Google Open Source Insights) and OSV (Google Open Source Vulnerabilities).
Quickstart
Claude Code
claude mcp add hound -- npx -y hound-mcp
Claude Desktop / Cursor / Windsurf
Add to your MCP config file:
{
"mcpServers": {
"hound": {
"command": "npx",
"args": ["-y", "hound-mcp"]
}
}
}
VS Code (Copilot)
{
"mcp": {
"servers": {
"hound": {
"type": "stdio",
"command": "npx",
"args": ["-y", "hound-mcp"]
}
}
}
}
Config file locations
| Client | Config path |
|---|---|
| Claude Desktop (macOS) | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Cursor | ~/.cursor/mcp.json |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
Tools
12 tools → Full reference with example outputs
| Tool | What it does |
|---|---|
hound_audit ⭐ |
Scan an entire lockfile for vulnerabilities across all dependencies |
hound_score |
0–100 Hound Score (vulns + scorecard + recency + license) with letter grade |
hound_compare |
Side-by-side comparison of two packages with a recommendation |
hound_preinstall |
GO / CAUTION / NO-GO verdict before installing a package |
hound_upgrade |
Find the minimum safe version upgrade that resolves all known vulns |
hound_license_check |
Scan a lockfile for license compliance against a policy |
hound_vulns |
All known vulnerabilities for a package version, grouped by severity |
hound_inspect |
Full package profile — license, vulns, scorecard, stars, dep count |
hound_tree |
Full resolved dependency tree with transitive deps |
hound_typosquat |
Detect typosquatting variants of a package name |
hound_advisories |
Full advisory details by GHSA, CVE, or OSV ID |
hound_popular |
Scan popular packages for known vulnerabilities |
Supported ecosystems: npm · pypi · go · maven · cargo · nuget · rubygems
Built-in Prompts
3 prompts you can invoke directly from your AI client. → Full prompt reference
| Prompt | What it does |
|---|---|
security_audit |
Full project security audit — vulns, licenses, typosquats |
package_evaluation |
Go/no-go recommendation before adding a new dependency |
pre_release_check |
Pre-ship dependency scan that flags release blockers |
Use Cases
→ See full examples with real lockfiles and expected output
- Before merging a PR — scan the lockfile diff to catch newly introduced vulnerabilities before they land in main
- Auditing an inherited codebase — run
hound_auditon an existing lockfile to get a full report in seconds - Checking a package before adding it — use
hound_preinstallto get a GO / CAUTION / NO-GO verdict - License compliance — run
hound_license_checkto ensure no GPL or AGPL packages sneak into a commercial project - CI security gate — ask your AI agent to run a security audit as part of every release check
Local Development
git clone https://github.com/tiluckdave/hound-mcp.git
cd hound-mcp
pnpm install
pnpm build
pnpm test # run tests
pnpm check # typecheck + lint + test
Roadmap
- Docker support — run Hound as a container for CI/CD pipelines
-
bun.lockbparser — Bun lockfile support -
gradle.lockfileparser — Gradle (Java/Android) ecosystem support -
hound_difftool — compare two lockfile snapshots to surface newly introduced risks - GitHub Action — run
hound_auditas a PR check without an AI agent
Contributing
Contributions are welcome. Read CONTRIBUTING.md to get started.
The one rule: Hound must stay zero-config and free forever. Don't add features that require API keys or accounts.
Good first issues are labeled and ready.
Community
💬 Questions or ideas? Open a Discussion
License
MIT © 2026 Tilak Dave
安装
把 hound 添加到你的客户端。选择你正在使用的那个。
claude mcp add hound-mcp -- npx -y hound-mcpcodex mcp add hound-mcp -- npx -y hound-mcpamp mcp add hound-mcp -- npx -y hound-mcp{
"mcpServers": {
"hound-mcp": {
"command": "npx",
"args": [
"-y",
"hound-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"hound-mcp": {
"command": "npx",
"args": [
"-y",
"hound-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"hound-mcp","command":"npx","args":["-y","hound-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"hound-mcp": {
"command": "npx",
"args": [
"-y",
"hound-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"hound-mcp": {
"command": "npx",
"args": [
"-y",
"hound-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"hound-mcp": {
"command": "npx",
"args": [
"-y",
"hound-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"hound-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"hound-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"hound-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"hound-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y hound-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
11 个工具
hound 向已连接的智能体提供 11 个工具。
- hound_score
- 0–100 Hound Score (vulns + scorecard + recency + license) with letter grade
- hound_compare
- Side-by-side comparison of two packages with a recommendation
- hound_preinstall
- GO / CAUTION / NO-GO verdict before installing a package
- hound_upgrade
- Find the minimum safe version upgrade that resolves all known vulns
- hound_license_check
- Scan a lockfile for license compliance against a policy
- hound_vulns
- All known vulnerabilities for a package version, grouped by severity
- hound_inspect
- Full package profile — license, vulns, scorecard, stars, dep count
- hound_tree
- Full resolved dependency tree with transitive deps
- hound_typosquat
- Detect typosquatting variants of a package name
- hound_advisories
- Full advisory details by GHSA, CVE, or OSV ID
- hound_popular
- Scan popular packages for known vulnerabilities
评分
77 / 100
良好
- 文档25/25
- 维护19/25
- 可信度13/20
- 能力8/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 27 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 11 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 0.2.1最新 | 2026年3月11日 |