A side-by-side look at the Grasp — Codebase Analysis & Architecture Intelligence and Repomix MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Grasp — Codebase Analysis & Architecture Intelligence for developer tools work as a local process; choose Repomix for developer tools as a local process. You can also run both side by side in one mcpServers block.
GRASP_HTTP_MCP.grasp_analyze, grasp_sessions, grasp_diff.pack_codebase, directory, compress.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Developer Tools | Developer Tools |
| Quality signal | 57/100 · Good | 64/100 · Good |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | Not declared |
| Pricing | Not declared | Not declared |
| Required env vars | GRASP_HTTP_MCP | None listed |
| Verified owner | Community listing | Community listing |
| GitHub stars | 30 | 28,930 |
| Directory activity | 2 views 0 installs 0 upvotes | 3 views 0 installs 0 upvotes |
| Tools | 80 | 23 |
| Full listing | View Grasp — Codebase Analysis & Architecture Intelligence | View Repomix |
grasp_analyzeFull analysis of any repo or local path — returns `session_id` for follow-up queriesgrasp_sessionsList active sessions (persist 7 days, survive restarts)grasp_diffCompare two snapshots — what changed between analyses?grasp_watchRe-analyse a directory and diff against a prior rungrasp_rules_checkRun `grasp.yml` architecture rules and report violationsgrasp_config_checkValidate a session against architecture rules — returns violationsgrasp_file_depsWhat does this file depend on?grasp_dependentsWhat breaks if I change this file?grasp_cyclesAre there circular dependencies?grasp_architectureWhat layers does this codebase have?grasp_hotspotsWhich files are riskiest to touch?grasp_metricsLines, complexity, fan-in/fan-out per filepack_codebasePackage a local code directory into a consolidated XML file for AI analysisdirectoryAbsolute path to the directory to packcompress(Optional, default: false) Enable Tree-sitter compression to extract essential code signatures and structure while removing implementation details. Reduces token usage by ~70% while preserving semantic meaning. Generally not needed since grep_repomix_output allows incremental content retrieval. Use…includePatterns(Optional) Specify files to include using fast-glob patterns. Multiple patterns can be comma-separated (e.g., "**/*.{js,ts}", "src/**,docs/**"). Only matching files will be processed.ignorePatterns(Optional) Specify additional files to exclude using fast-glob patterns. Multiple patterns can be comma-separated (e.g., "test/**,*.spec.js", "node_modules/**,dist/**"). These patterns supplement .gitignore, .ignore, and built-in exclusions.outputPatterns(Optional) Per-file inclusion levels, mirroring the config-file `output.patterns` option. An array of `{ pattern, compress?, directoryStructureOnly? }` entries; the first matching pattern wins, `directoryStructureOnly` takes precedence over `compress`, and a match with neither flag forces full cont…topFilesLength(Optional, default: 10) Number of largest files by size to display in the metrics summary for codebase analysis.attach_packed_outputAttach an existing Repomix packed output file for AI analysispathPath to a directory containing repomix-output.xml or direct path to a packed repository XML filepack_remote_repositoryFetch, clone, and package a GitHub repository into a consolidated XML file for AI analysisremoteGitHub repository URL or user/repo format (e.g., "yamadashy/repomix", "https://github.com/user/repo", or "https://github.com/user/repo/tree/branch")read_repomix_outputRead the contents of a Repomix-generated output file. Supports partial reading with line range specification for large files.Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"grasp-codebase-analysis-architecture-intelligence": {
"command": "npx",
"args": [
"-y",
"grasp-mcp-server"
],
"env": {
"GRASP_HTTP_MCP": "YOUR_GRASP_HTTP_MCP_HERE"
}
}
}
}
{
"mcpServers": {
"repomix": {
"command": "npx",
"args": [
"-y",
"repomix@latest"
]
}
}
}