@createsomething/ground-mcp 0.2.2 → 0.2.4

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.
Files changed (3) hide show
  1. package/README.md +120 -5
  2. package/bin/ground-mcp +0 -0
  3. package/package.json +24 -2
package/README.md CHANGED
@@ -3,10 +3,23 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@createsomething/ground-mcp.svg)](https://www.npmjs.com/package/@createsomething/ground-mcp)
4
4
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5
5
 
6
- Grounded claims for code. An MCP server that prevents AI hallucination in code analysis.
6
+ **Grounded claims for code.** An MCP server that prevents AI hallucination in code analysis.
7
+
8
+ Works with Claude Code, Cursor, Windsurf, VS Code Copilot, Claude Desktop, and any MCP-compatible AI coding assistant.
7
9
 
8
10
  **[View Landing Page →](https://createsomething.agency/products/ground)**
9
11
 
12
+ ## Why Ground?
13
+
14
+ | Capability | Without Ground | With Ground |
15
+ |------------|---------------|-------------|
16
+ | Duplicate detection | "These look 95% similar" | Computed 87.3% similarity via AST + token analysis |
17
+ | Dead code claims | "This appears unused" | Verified: 0 imports, 0 type references |
18
+ | Orphan detection | "Nothing imports this" | Checked: not a Worker entry point, not framework-implicit |
19
+ | Design drift | "Colors look hardcoded" | Adoption ratio: 73% tokens, 27% violations |
20
+
21
+ **The difference**: Ground requires computation before claims. No hallucinated analysis.
22
+
10
23
  ## The Problem
11
24
 
12
25
  AI agents are confident. Too confident.
@@ -23,19 +36,69 @@ Ground is an MCP server that:
23
36
  - Finds duplicates, dead code, and orphaned modules
24
37
  - Requires verification before claims
25
38
  - Blocks hallucinated analysis
39
+ - Provides confidence scores with evidence
26
40
 
27
41
  ---
28
42
 
29
- ## Quick Install
43
+ ## Installation
44
+
45
+ Pick your tool. We've tested these so you don't have to discover config file locations through trial and error.
46
+
47
+ ### Claude Code (CLI)
48
+
49
+ This is the one everyone gets wrong. Claude Code doesn't read `.claude/mcp.json`. It reads `~/.claude.json` for user-scoped servers and `.mcp.json` at project root for project-scoped servers. Two different files. Two different places. Now you know.
50
+
51
+ **Option A: User scope (available everywhere)**
52
+
53
+ ```bash
54
+ npm install @createsomething/ground-mcp
55
+ claude mcp add --scope user --transport stdio ground -- npx @createsomething/ground-mcp
56
+ ```
57
+
58
+ Restart Claude Code, run `/mcp`, and you should see "ground" connected.
59
+
60
+ **Option B: Project scope (shared with team)**
61
+
62
+ Create `.mcp.json` in your project root:
63
+
64
+ ```json
65
+ {
66
+ "mcpServers": {
67
+ "ground": {
68
+ "command": "npx",
69
+ "args": ["@createsomething/ground-mcp"]
70
+ }
71
+ }
72
+ }
73
+ ```
74
+
75
+ Claude Code will prompt you to approve it on first use.
30
76
 
31
77
  ### Cursor (One-Click)
32
78
 
33
79
  [**Install in Cursor →**](cursor://anysphere.cursor-deeplink/mcp/install?name=ground&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyJAY3JlYXRlc29tZXRoaW5nL2dyb3VuZC1tY3AiXX0%3D)
34
80
 
81
+ Or add to `.mcp.json` at your project root:
82
+
83
+ ```json
84
+ {
85
+ "mcpServers": {
86
+ "ground": {
87
+ "command": "npx",
88
+ "args": ["@createsomething/ground-mcp"]
89
+ }
90
+ }
91
+ }
92
+ ```
93
+
35
94
  ### Claude Desktop
36
95
 
37
96
  Add to `claude_desktop_config.json`:
38
97
 
98
+ - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
99
+ - **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
100
+ - **Linux**: `~/.config/Claude/claude_desktop_config.json`
101
+
39
102
  ```json
40
103
  {
41
104
  "mcpServers": {
@@ -74,13 +137,13 @@ Settings → MCP → View raw config, add:
74
137
  codex mcp add ground --command "npx @createsomething/ground-mcp"
75
138
  ```
76
139
 
77
- ### npm (Global Install)
140
+ ### Global Install (When npx Isn't Your Thing)
78
141
 
79
142
  ```bash
80
143
  npm install -g @createsomething/ground-mcp
81
144
  ```
82
145
 
83
- Then add to your tool's MCP config:
146
+ Now `ground-mcp` is in your PATH. Use it in any config:
84
147
 
85
148
  ```json
86
149
  {
@@ -92,6 +155,43 @@ Then add to your tool's MCP config:
92
155
  }
93
156
  ```
94
157
 
158
+ ## Troubleshooting
159
+
160
+ **"Server not showing up"**
161
+
162
+ Run `/mcp` in your tool. If ground isn't listed, your config file is in the wrong place or has a typo. Claude Code in particular has... opinions about where configs live.
163
+
164
+ **"Connection closed" or "Download failed: HTTP 404"**
165
+
166
+ The npm package downloads a platform-specific binary on install. If that failed:
167
+
168
+ ```bash
169
+ # Check if the binary exists
170
+ ls node_modules/@createsomething/ground-mcp/bin/
171
+
172
+ # Re-install
173
+ npm install @createsomething/ground-mcp
174
+ ```
175
+
176
+ **"No files analyzed" or "0 results"**
177
+
178
+ Ground needs to know where your code is. For project-specific analysis, run it from your project directory, or pass `--workspace`:
179
+
180
+ ```json
181
+ {
182
+ "mcpServers": {
183
+ "ground": {
184
+ "command": "npx",
185
+ "args": ["@createsomething/ground-mcp", "--workspace", "/path/to/your/project"]
186
+ }
187
+ }
188
+ }
189
+ ```
190
+
191
+ **CSS/HTML analysis shows "100% adoption" or "0 drift"**
192
+
193
+ Ground's sweet spot is TypeScript/JavaScript projects with design tokens (CSS variables). If you're analyzing plain HTML with inline styles and no token system defined, there's nothing to measure drift against—it's a vacuous pass. For CSS-only linting, try Stylelint.
194
+
95
195
  ## Available Tools
96
196
 
97
197
  ### Core Analysis
@@ -186,7 +286,12 @@ What's the CSS token adoption ratio in packages/components?
186
286
  Find design drift in my CSS files only (use extensions: "css")
187
287
  ```
188
288
 
189
- ## What's New in 0.2.1
289
+ ## What's New in 0.2.2
290
+
291
+ - **Fixed npm installer** — Binary downloads now work correctly across all platforms
292
+ - **Improved documentation** — Claude Code setup instructions (because nobody should have to discover `~/.claude.json` vs `.mcp.json` the hard way)
293
+
294
+ ### 0.2.1
190
295
 
191
296
  - **`ground_explain`** — AI-native context traceability. Explains why files are excluded from violation checks (e.g., video-rendering contexts, third-party CSS)
192
297
  - **`ground_find_drift` extensions filter** — Analyze specific file types (e.g., `extensions: "css"` for CSS-only analysis)
@@ -221,3 +326,13 @@ See [Full Documentation](https://github.com/createsomethingtoday/create-somethin
221
326
  ## License
222
327
 
223
328
  MIT
329
+
330
+ ---
331
+
332
+ ## Related
333
+
334
+ Looking for task coordination? See [@createsomething/loom-mcp](https://www.npmjs.com/package/@createsomething/loom-mcp) — multi-agent coordination with crash recovery.
335
+
336
+ ## Keywords
337
+
338
+ MCP server, Model Context Protocol, AI code analysis, static analysis, duplicate detection, dead code detection, orphan detection, code quality, hallucination prevention, LLM tools, Claude Code, Cursor IDE, Windsurf, VS Code Copilot, Anthropic Claude, AI coding assistant, Rust, TypeScript, JavaScript, monorepo analysis, design tokens, CSS analysis, code verification.
package/bin/ground-mcp CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@createsomething/ground-mcp",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Grounded claims for code. MCP server that prevents AI hallucination in code analysis.",
5
5
  "author": "CREATE SOMETHING <hello@createsomething.io>",
6
6
  "license": "MIT",
@@ -15,15 +15,37 @@
15
15
  },
16
16
  "keywords": [
17
17
  "mcp",
18
+ "mcp-server",
18
19
  "model-context-protocol",
19
20
  "ai",
21
+ "ai-coding",
22
+ "ai-agent",
20
23
  "code-analysis",
24
+ "static-analysis",
21
25
  "duplicate-detection",
22
26
  "dead-code",
27
+ "dead-code-detection",
28
+ "orphan-detection",
29
+ "code-quality",
30
+ "hallucination-prevention",
23
31
  "grounding",
32
+ "verification",
24
33
  "llm",
34
+ "llm-tools",
25
35
  "claude",
26
- "cursor"
36
+ "claude-code",
37
+ "cursor",
38
+ "windsurf",
39
+ "copilot",
40
+ "codex",
41
+ "anthropic",
42
+ "openai",
43
+ "rust",
44
+ "typescript",
45
+ "javascript",
46
+ "monorepo",
47
+ "design-tokens",
48
+ "css-analysis"
27
49
  ],
28
50
  "bin": {
29
51
  "ground-mcp": "bin/ground-mcp"