Grasp MCP Server

🌐 Browser App  Β·  πŸ“¦ MCP Server  Β·  πŸ› Report Bug  Β·  ✨ Request Feature  Β·  πŸ”’ Privacy

Remote serverstreamable-httpPython

What is the Grasp MCP Server?

🌐 Browser App Β Β·Β  πŸ“¦ MCP Server Β Β·Β  πŸ› Report Bug Β Β·Β  ✨ Request Feature Β Β·Β  πŸ”’ Privacy

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
grasp_analyzeFull analysis of any repo or local path β€” returns session_id for follow-up queries
grasp_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 run
grasp_rules_checkRun grasp.yml architecture rules and report violations
grasp_config_checkValidate a session against architecture rules β€” returns violations
grasp_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 file
grasp_find_pathHow does file A connect to file B?
grasp_patternsWhat design patterns are in use?
grasp_unusedDead code β€” defined but never called
grasp_explainPlain-English explanation of any file or function
grasp_refactorStep-by-step refactor plan for a file or session
grasp_suggestRanked refactoring suggestions by effort-to-impact ratio
grasp_onboardOrdered reading path for new engineers entering a codebase area
grasp_typesType annotation coverage β€” prioritises high fan-in files lacking types
grasp_similarityRanked duplicate clusters and code-clone groups
grasp_staleActive but abandoned files β€” low churn, high fan-in, no test counterpart
grasp_change_riskRisk score 0–100 for a set of changed files
grasp_securityHardcoded secrets, injection risks, dangerous patterns
grasp_sbomSBOM in CycloneDX 1.4 or SPDX 2.3 JSON
grasp_sarifSARIF 2.1.0 export for GitHub Code Scanning
grasp_licenseDependency licenses β€” flags copyleft and unknown
grasp_pii_traceBFS trace from PII source files to all consumers
grasp_dutiesSeparation of duties β€” files that both initiate and approve
grasp_reg_impactRegulatory change blast radius (GDPR/HIPAA/SOX/PCI-DSS)
grasp_env_varsAll env var reads β€” flags undocumented and test-only vars
grasp_feature_flagsAll feature flag reads (LaunchDarkly, GrowthBook, env-var flags)
grasp_pr_commentGenerate PR health comment with blast radius for changed files
grasp_pr_reviewPost inline review comments on a GitHub PR at high-severity lines
grasp_commitsCommit counts for last 7d and 30d
grasp_ci_statusLatest GitHub Actions run β€” passing/failing/in-progress
grasp_doraDORA metrics β€” Deployment Frequency, Lead Time, CFR, MTTR
grasp_adrAI-powered MADR-format Architecture Decision Record
grasp_embedGenerate iframe, README badge, React snippet for sharing
grasp_timelineLast N commits with per-commit changed files + co-change matrix
grasp_contributorsPer-file ownership, bus-factor, top contributors
grasp_coverageTest coverage overlay β€” which files lack tests?
grasp_issuesMap GitHub Issues to the files they mention
grasp_jira_issuesMap Jira issues to source files via project key
grasp_service_graphService-level dependency graph from OTEL / custom trace JSON
grasp_deps_devEcosystem dependents via deps.dev β€” how many packages depend on this repo
grasp_brain_indexAnalyse and persist a repo to the local SQLite brain
grasp_brain_statusWhat's indexed in the brain and when?
grasp_contextRich file context β€” layer, complexity, coupling, security, dependents, dependencies
grasp_arch_diffCompare current state vs brain baseline β€” detect degradations
grasp_askAsk a natural language question about your architecture
graph_queryRun read-only Cypher queries against the persistent function/file call graph
call_chainTrace caller and callee chains for any function, up to configurable depth
type_propagationFind all functions sharing a return type and their call neighbors
function_graphRender a Mermaid / DOT / JSON subgraph centred on any named function
grasp_dead_packagesnpm deps in package.json but never imported
grasp_runtime_callsMerge a live runtime trace with static edges β€” actual hot paths
grasp_db_couplingORM/SQL-to-table coupling map β€” god tables, high-coupling files
grasp_migration_planPhased topologically-ordered plan for replacing a package/module
grasp_api_surfaceUnified API surface from OpenAPI, GraphQL, Express/FastAPI routes
grasp_eventsEvent emitters and subscribers β€” orphaned emits, ghost subscriptions
grasp_perfN+1 queries, synchronous I/O, JSON serialization in loops
grasp_bundleBundle size treemap β€” largest files by size category
grasp_dep_impactImpact of upgrading a dependency across all files
grasp_cross_repoCompare two sessions β€” shared files, diverged functions
grasp_diagramGenerate Mermaid flowchart or C4 diagrams from the dependency graph
grasp_req_traceRequirement traceability β€” scan @REQ-NNN tags against a CSV
grasp_anomalyAnomaly investigation β€” BFS blast radius, security in call chain, plain-English summary
grasp_reuseSoftware reuse assessor β€” Red/Amber/Green compatibility matrix
grasp_safety_traceSafety constraint tracer β€” finds paths that bypass all safety gates
grasp_multilangCross-language call graph (Ada→C, Python→C, JS→WASM)
grasp_heritageHeritage software genealogy β€” zero-delta certification shortcuts
grasp_icdICD mapper β€” match Interface Control Document entries to code
grasp_ecssECSS-E-ST-40C compliance checker (DI-01, DI-04, DI-07, DI-10, DI-15)
grasp_run_diffTraining run diff β€” changed hyperparameters and affected code
grasp_eval_coverageEval coverage map β€” safety gates with no eval coverage flagged critical
grasp_org_graphOrg-level multi-repo dependency graph with inter-repo edges
grasp_api_diffBreaking API change detector β€” removed/changed exported symbols
grasp_pluginsExtension-point map β€” plugin interfaces, hook points, strategy patterns
grasp_semverSemantic versioning enforcer β€” validate semver bump for the change set
grasp_abi_diffABI/API stability checker β€” stability score 0–100
grasp_subsystemsKernel/OS subsystem boundary map
grasp_kconfigKconfig/build-time conditional analysis β€” CONFIG_ usage map
grasp_irqIRQ/interrupt dependency graph β€” blocking calls, allocation in handlers
grasp_patch_impactPatch series impact analyzer β€” rank patches by blast radius + complexity
grasp_good_first_issuesGood first issue generator β€” isolated, low-complexity, untested files
grasp_api_stabilityAPI stability score (0–100) between two sessions
grasp_fork_diffFork divergence analysis β€” diverged/identical/fork-only files
grasp_latencyFinance/trading latency hotspot detection
grasp_model_riskFinancial model risk auditor
grasp_diff_symbolsMap git diff hunks to functions β€” blast radius of a PR before merge
grasp_exec_flowBFS execution flow from any entry point with STEP_IN_PROCESS edges + Mermaid chart
grasp_skillmdAuto-generate SKILL.md / CLAUDE.md snippet from the analysis session
grasp_hooksGenerate .claude/settings.json PostToolUse hook + .cursor/rules/grasp.mdc
grasp_mroMethod Resolution Order β€” C3 linearization (Python), MRO for Ruby/Java hierarchies
grasp_communitiesLeiden/Louvain community detection β€” identify bounded contexts and microservice candidates
grasp_contractsMulti-repo contract analysis β€” provider exports vs consumer usage, violations + coverage %
grasp_confidenceScore every cross-file connection 0–1 (explicit import=1.0, same-folder=0.8, cross-folder=0.6, low-freq=0.4)
grasp_wikiAuto-generate a markdown wiki: index.md + per-folder pages + api.md sorted by caller count
grasp_registry_listList all Brain-indexed repos with health grade, file/function counts, and active session IDs
grasp_registry_statusRegistry health: indexed count, session count, grade distribution
grasp_resolve_receiverResolve the concrete class for every class method β€” what self/this refers to across Python, JS, Java, Ruby
grasp_searchHybrid semantic search β€” BM25 FTS5 + 384D vector embeddings (Xenova/all-MiniLM-L6-v2) merged with Reciprocal Rank Fusion. Results include processes[] grouping b
grasp_renameGraph-aware whole-codebase symbol rename using brain store edges to find every reference. apply: false (default) returns a dry-run diff; apply: true writes chan
grasp_route_mapScan for HTTP route definitions (Express/Fastify/Hono, FastAPI/Flask, Gin) β€” maps each route to its handler function with file location
grasp_api_impactGiven a route or handler name, returns all callers, downstream services, and blast radius using brain graph edges
grasp_tool_mapScan for MCP tool definitions (server.tool / server.registerTool) and gRPC service definitions β€” returns a service contract map
grasp_shape_checkFor any function, traces parameter types and return types across all call sites from the brain index; flags call-site mismatches
grasp_group_addAdd a repo source to a named group in ~/.grasp/groups.json for multi-repo @groupName fan-out
grasp_group_listList all named groups and their member repos from ~/.grasp/groups.json
grasp_graph_schemaKuzu schema v3 introspection β€” node/edge table definitions (File, Function, Class, Interface, Method, Constructor, TestFile + 12 edge types including TESTS and
grasp_type_propagationCross-file type inference via Kahn topological sort over import graph; returns top inferred types with confidence 0–1
grasp_orm_mapORM query tracker β€” Prisma, TypeORM, Sequelize, SQLAlchemy; results grouped by model with call sites, operations, frequency
grasp_detect_changesGit diff β†’ symbol impact: changed files, affected functions, impacted process flows, risk level LOW/MEDIUM/HIGH/CRITICAL
grasp_generate_agents_mdGenerate rich AGENTS.md from brain session β€” functional communities, execution processes, health grade, top issues
grasp_generate_skillsPer-community .claude/skills/generated/ .md files β€” key files, entry points, cross-area deps
grasp_hub_nodesTop-N most connected files by fan-in + fan-out (degree centrality)
grasp_bridge_nodesBrandes betweenness centrality. Auto-samples 100 sources for repos > 500 nodes
grasp_surprising_connectionsRare cross-layer edges flagged by frequency-weighted rarity
grasp_knowledge_gapsIsolated files, untested hotspots, weak communities
grasp_suggested_questionsAuto-generated 5–10 review questions composing all of the above
grasp_minimal_contextSub-100-token repo orientation β€” the LLM's first call
grasp_traverseToken-budget-aware BFS from any starting node
grasp_semantic_searchCosine similarity over function signatures via @xenova/transformers
grasp_apply_refactorExecutes rename ops with dry_run preview default
grasp_architecture_overviewCombined community + hub + review-question report
grasp_export_graphmlyEd / Gephi-compatible GraphML XML export
grasp_export_cypherNeo4j CREATE statements that reproduce the graph
grasp_export_obsidian.canvas JSON for Obsidian Canvas with per-layer column layout
grasp_export_dotGraphviz DOT (digraph) β€” clusters per layer, edge counts, renders on GitHub
grasp_export_mermaidMermaid graph LR β€” inline-renders on GitHub, GitLab, Notion, Obsidian
grasp_export_d2Terrastruct D2 β€” direction: right with layer containers, render via d2 CLI
grasp_export_plantumlPlantUML class diagram β€” works in Confluence, Jira, IntelliJ, VS Code
grasp_export_dgmlVisual Studio Directed Graph XML β€” opens natively in VS Architecture window
grasp_export_gexfGephi-native GEXF 1.3 with layer/lines/complexity/churn node attributes
grasp_export_drawiodraw.io / diagrams.net XML β€” grid layout, editable in app.diagrams.net
grasp_export_csvThree-sheet CSV bundle: files, connections, issues β€” opens in any spreadsheet

How to install the Grasp MCP Server

{
  "mcpServers": {
    "grasp": {
      "command": "npx",
      "args": [
        "-y",
        "grasp-mcp-server"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • β€œUse Grasp to Supply.”
  • β€œUse Grasp to Capability.”
  • β€œUse Grasp to IDE.”

Frequently asked questions

🌐 Browser App  Β·  πŸ“¦ MCP Server  Β·  πŸ› Report Bug  Β·  ✨ Request Feature  Β·  πŸ”’ Privacy Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.