hound-mcp 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +210 -0
- package/dist/index.js +928 -0
- package/dist/index.js.map +1 -0
- package/package.json +80 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Tilak Dave
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
# Hound MCP
|
|
2
|
+
|
|
3
|
+
**The dependency bloodhound for AI coding agents.**
|
|
4
|
+
|
|
5
|
+
Hound is a free, open-source MCP server that gives AI coding agents a nose for supply chain security. It scans packages for vulnerabilities, checks licenses, inspects dependency trees, and detects typosquatting — with **zero API keys, zero config, and zero cost**.
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/hound-mcp)
|
|
8
|
+
[](https://github.com/tiluckdave/hound-mcp/actions/workflows/ci.yml)
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Why Hound?
|
|
14
|
+
|
|
15
|
+
Most security tools require accounts, API keys, or paid plans. Hound uses only two fully free, unauthenticated public APIs:
|
|
16
|
+
|
|
17
|
+
- **[deps.dev](https://deps.dev)** (Google Open Source Insights) — package metadata, dependency trees, licenses, OpenSSF Scorecard
|
|
18
|
+
- **[OSV](https://osv.dev)** (Google Open Source Vulnerabilities) — CVEs, GHSAs, fix versions
|
|
19
|
+
|
|
20
|
+
No sign-up. No config. Just install and go.
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
## Quickstart
|
|
25
|
+
|
|
26
|
+
### Claude Code
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
claude mcp add hound -- npx -y hound-mcp
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### Claude Desktop / Cursor / Windsurf
|
|
33
|
+
|
|
34
|
+
Add to your MCP config file:
|
|
35
|
+
|
|
36
|
+
```json
|
|
37
|
+
{
|
|
38
|
+
"mcpServers": {
|
|
39
|
+
"hound": {
|
|
40
|
+
"command": "npx",
|
|
41
|
+
"args": ["-y", "hound-mcp"]
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
**Config file locations:**
|
|
48
|
+
|
|
49
|
+
- Claude Desktop (macOS): `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
50
|
+
- Cursor: `~/.cursor/mcp.json`
|
|
51
|
+
- Windsurf: `~/.codeium/windsurf/mcp_config.json`
|
|
52
|
+
|
|
53
|
+
### VS Code (Copilot)
|
|
54
|
+
|
|
55
|
+
```json
|
|
56
|
+
{
|
|
57
|
+
"mcp": {
|
|
58
|
+
"servers": {
|
|
59
|
+
"hound": {
|
|
60
|
+
"type": "stdio",
|
|
61
|
+
"command": "npx",
|
|
62
|
+
"args": ["-y", "hound-mcp"]
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Tools
|
|
72
|
+
|
|
73
|
+
Hound registers 6 tools in your MCP client.
|
|
74
|
+
|
|
75
|
+
### `hound_vulns`
|
|
76
|
+
|
|
77
|
+
List all known vulnerabilities for a package version, grouped by severity with fix versions.
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
hound_vulns(name: "express", version: "4.18.2", ecosystem: "npm")
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### `hound_inspect`
|
|
84
|
+
|
|
85
|
+
Comprehensive package profile — licenses, vulnerabilities, OpenSSF Scorecard, GitHub stars, and dependency count in one call.
|
|
86
|
+
|
|
87
|
+
```text
|
|
88
|
+
hound_inspect(name: "lodash", version: "4.17.21", ecosystem: "npm")
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### `hound_tree`
|
|
92
|
+
|
|
93
|
+
Full resolved dependency tree including all transitive dependencies, with depth and relation type.
|
|
94
|
+
|
|
95
|
+
```text
|
|
96
|
+
hound_tree(name: "next", version: "14.2.0", ecosystem: "npm", maxDepth: 3)
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### `hound_advisories`
|
|
100
|
+
|
|
101
|
+
Full advisory details by ID — works with GHSA, CVE, and OSV IDs.
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
hound_advisories(id: "GHSA-rv95-896h-c2vc")
|
|
105
|
+
hound_advisories(id: "CVE-2024-29041")
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
### `hound_typosquat`
|
|
109
|
+
|
|
110
|
+
Generates likely typo variants of a package name and checks which ones exist in the registry — surfaces potential typosquatting attacks.
|
|
111
|
+
|
|
112
|
+
```text
|
|
113
|
+
hound_typosquat(name: "lodash", ecosystem: "npm")
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### `hound_popular`
|
|
117
|
+
|
|
118
|
+
Scan a list of popular (or user-specified) packages for known vulnerabilities. Great for a quick ecosystem health check.
|
|
119
|
+
|
|
120
|
+
```text
|
|
121
|
+
hound_popular(ecosystem: "npm")
|
|
122
|
+
hound_popular(ecosystem: "pypi", packages: ["requests", "flask", "django"])
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Supported Ecosystems
|
|
128
|
+
|
|
129
|
+
| Ecosystem | Value |
|
|
130
|
+
| ------------ | ---------- |
|
|
131
|
+
| npm | `npm` |
|
|
132
|
+
| PyPI | `pypi` |
|
|
133
|
+
| Go | `go` |
|
|
134
|
+
| Maven | `maven` |
|
|
135
|
+
| Cargo (Rust) | `cargo` |
|
|
136
|
+
| NuGet (.NET) | `nuget` |
|
|
137
|
+
| RubyGems | `rubygems` |
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## Built-in Prompts
|
|
142
|
+
|
|
143
|
+
Hound ships with 3 MCP prompts you can invoke directly from your AI client.
|
|
144
|
+
|
|
145
|
+
### `security_audit`
|
|
146
|
+
|
|
147
|
+
Full project security audit — scans for vulnerabilities, license issues, and typosquat risks.
|
|
148
|
+
|
|
149
|
+
```text
|
|
150
|
+
/security_audit ecosystem="npm"
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
### `package_evaluation`
|
|
154
|
+
|
|
155
|
+
Go/no-go recommendation before adding a new dependency.
|
|
156
|
+
|
|
157
|
+
```text
|
|
158
|
+
/package_evaluation package="axios" version="1.6.0" ecosystem="npm"
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### `pre_release_check`
|
|
162
|
+
|
|
163
|
+
Pre-ship dependency scan that flags release blockers.
|
|
164
|
+
|
|
165
|
+
```text
|
|
166
|
+
/pre_release_check version="1.2.0"
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## Local Development
|
|
172
|
+
|
|
173
|
+
```bash
|
|
174
|
+
# Clone
|
|
175
|
+
git clone https://github.com/tiluckdave/hound-mcp.git
|
|
176
|
+
cd hound-mcp
|
|
177
|
+
|
|
178
|
+
# Install
|
|
179
|
+
pnpm install
|
|
180
|
+
|
|
181
|
+
# Build
|
|
182
|
+
pnpm build
|
|
183
|
+
|
|
184
|
+
# Test
|
|
185
|
+
pnpm test
|
|
186
|
+
|
|
187
|
+
# Lint
|
|
188
|
+
pnpm lint
|
|
189
|
+
|
|
190
|
+
# Format
|
|
191
|
+
pnpm format
|
|
192
|
+
|
|
193
|
+
# Run all checks (typecheck + lint + test)
|
|
194
|
+
pnpm check
|
|
195
|
+
|
|
196
|
+
# Run locally as MCP server
|
|
197
|
+
node dist/index.js
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
---
|
|
201
|
+
|
|
202
|
+
## Contributing
|
|
203
|
+
|
|
204
|
+
Contributions are welcome. Read [CONTRIBUTING.md](CONTRIBUTING.md) first — the one rule is **zero API keys, forever**. Hound must always work without any account or authentication.
|
|
205
|
+
|
|
206
|
+
---
|
|
207
|
+
|
|
208
|
+
## License
|
|
209
|
+
|
|
210
|
+
[MIT](LICENSE) © 2026 Tilak Dave
|