プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Grasp — Code Architecture & Dependency Analysis

作者:ashfordeOUバージョン 3.21.3i★ –iパソコンで動く
レジストリ名io.github.ashfordeOU/grasp

インストール

概要

作者による説明(英語の原文)

Codebase analysis: dependency graphs, security scanning, and refactor plans for GitHub and GitLab.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: 開発者ツール

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • レジストリには、入力が必要なキーは載っていません。

必要なもの

  • npmNode.jsのインストール(npxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

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

ターミナルでこれを実行します

claude mcp add grasp -- npx -y grasp-mcp-server

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

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

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "grasp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "grasp-mcp-server"
      ]
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント ashfordeOU で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

開発者ツールのほかのサーバーとの比較i

  • このカテゴリのほかの1395件のうち0%よりスターが多い
  • このカテゴリのほかの1395件のうち91%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの1395件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Grasp — Code Architecture & Dependency Analysisは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(3.21.3)がレジストリに届いたのは4 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:GitHub, Desktop Commander, Cloudflare MCP

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

GitHub

作者:github

Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.

パソコンでもクラウドでも★ 34,245MIT4 日前更新
インストール

Desktop Commander

作者:wonderwhy-er

MCP server for terminal commands, file operations, and process management

パソコンで動く★ 10,225MIT16 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

Grasp MCP Server

Expose Grasp's codebase analysis engine as MCP tools for Claude Code and other LLM agents.

Supports GitHub repositories and local directories. Analyzes dependency graphs, architecture layers, circular deps, security issues, design patterns, dead code, code metrics, git history, duplicate detection, cross-repo comparison, monorepo workspaces, runtime call graphs, database schema coupling, API surface maps, and migration planning.

*Force-directed dependency graph — the same data the MCP server exposes via grasp_analyze, grasp_dependents, graph_query, etc.*

Table of Contents

  • Setup
  • Configure in Claude Code
  • Tools
  • Example Usage
  • GitHub Token
  • GitLab Support
  • CLI
  • JetBrains Plugin
  • Claude Code Slash Commands
  • Privacy

Current version: 3.21.3 — 150 tools + 8 MCP Resources + 2 guided Prompts.

New in v3.21.0 — Multimodal Knowledge Graph: ingest any artifact (code, Markdown, PDF, Word .docx, Excel .xlsx, HTML, images via OCR, audio/video via local Whisper, YouTube) into a queryable semantic knowledge graph, then ask it in natural language. New tools: grasp_ingest, grasp_kg_ask, grasp_kg_trace, grasp_kg_explain, grasp_kg_stats, grasp_kg_export (Cypher/Neo4j/GraphML/JSON/Mermaid), grasp_llm_status. Pluggable LLM backends (Anthropic, OpenAI, Gemini, DeepSeek, Kimi, Azure, Bedrock, Ollama — local-first, cloud opt-in; extraction falls back to a deterministic local extractor with zero credentials). Optional MCP-over-HTTP transport for shared team access (GRASP_HTTP_MCP=1, optional API key). Three new AST languages (Bash, Elixir, Julia → 19 tree-sitter-backed). See ## Multimodal Knowledge Graph below.

v3.20.0 added: Full security scanning suite — grasp_vulnerabilities covers five threat vectors (OSV.dev dependency CVEs, NIST NVD container/runtime CVEs, local supply-chain integrity checks, Socket.dev behavioral analysis, and scheduled grasp_vuln_watch monitoring), plus skip_container / skip_socket / skip_integrity fast-scan flags.

v3.19.0 added: Team Dashboard visual parity with the Grasp app — teal brand sweep, Lucide SVG icon system, multi-provider auth (GitLab, GitHub Enterprise, Bitbucket, Azure DevOps, Gitea), mobile More menu, keyboard shortcut popover.

v3.18.0 added: 10 new MCP tools (grasp_hub_nodes, grasp_bridge_nodes, grasp_surprising_connections, grasp_knowledge_gaps, grasp_suggested_questions, grasp_minimal_context, grasp_traverse, grasp_semantic_search, grasp_apply_refactor, grasp_architecture_overview); 3 graph export formats (grasp_export_graphml, grasp_export_cypher, grasp_export_obsidian); TS-config path-alias and Jedi-style Python import resolvers; Claude Code slash commands; token-reduction eval harness (scripts/eval-token-reduction.mjs); localized READMEs (Hindi/Japanese/Korean/Simplified Chinese).

Recent additions *(see CHANGELOG.md for full history)*:

  • v3.17.1 — per-directory lockfile scoping in the OSV scanner; test-fixture manifests skipped; CWS-token rotation script.
  • v3.17.0 — OSV.dev SCA scanner (grasp_vulnerabilities + grasp vulns CLI); architecture drift detection (grasp_snapshot + grasp_diff_snapshots + grasp drift CLI); org-level dashboard (grasp_org_summary + grasp org CLI); test-coverage gap map; graph schema v3 (TestFile nodes, TESTS/COVERS edges).
  • v3.16.0 — PR Impact GitHub Action; Brain context tools (grasp_diff_symbols, grasp_exec_flow, grasp_skillmd, grasp_hooks, grasp_mro, grasp_communities, grasp_contracts); confidence scoring; wiki generator; registry tools.
  • v3.15.0 — Kuzu graph schema v2; cross-file type propagation; ORM tracker; grasp_detect_changes; 8 MCP Resources; 2 MCP Prompts; grasp setup one-command editor auto-config.

Verticals shipped before v3.15: aerospace/safety-critical (requirement traceability, MISRA, DO-178C, ECSS-E-ST-40C, Ada/SPARK), AI research (safety-constraint tracing, eval coverage, ML pipeline DAG, Jupyter notebooks), enterprise (SBOM CycloneDX/SPDX, DORA, AI-powered ADR, PII trace, separation of duties, finance latency / model risk), OS/kernel (subsystem boundaries, ABI stability, Kconfig, IRQ graph, patch series impact), open source (good-first-issues, fork divergence, OpenSSF scorecard, deps.dev), and a hosted SaaS API (saas/).

Verify Provenance

Every release is signed. Verify before installing:

npm package (SLSA provenance):

npm install -g @sigstore/verify  # one-time

sigstore verify npm grasp-mcp-server@3.21.1

Docker image (Cosign keyless signature):

cosign verify \

--certificate-identity-regexp="https://github.com/ashfordeOU/grasp/.github/workflows/publish.yml" \ --certificate-oidc-issuer="https://token.actions.githubusercontent.com" \ ghcr.io/ashfordeou/grasp:latest

Signatures are stored transparently in the Sigstore Rekor public ledger.


Multimodal Knowledge Graph

Beyond code analysis, Grasp can ingest any artifact into a queryable semantic knowledge graph and answer natural-language questions grounded with citations.

// Ingest a folder of docs, a PDF, or a URL (incl. YouTube)

grasp_ingest { "source": "./docs" } grasp_ingest { "source": "/papers/spec.pdf" } grasp_ingest { "source": "https://youtu.be/…" } // local Whisper transcription

// Ask it grasp_kg_ask { "question": "How does auth flow through the billing service?" } grasp_kg_trace { "from": "Auth", "to": "Postgres" } // shortest relationship path grasp_kg_explain { "name": "Billing Service" } // neighbourhood + sources grasp_kg_stats {} // counts + god-nodes grasp_kg_export { "format": "cypher", "out_path": "kg.cypher" } // Neo4j/FalkorDB

Local-first, cloud opt-in. Code parsing stays deterministic (tree-sitter AST). Semantic entity/relationship extraction uses whichever LLM you configure and auto-detects a local Ollama before any cloud key; with no LLM at all it falls back to a deterministic extractor so everything still works offline. Every edge is tagged EXTRACTED (stated in the source) vs INFERRED (derived), with a source locator.

BackendEnv
Ollama (local, default)runs at localhost:11434 — nothing else needed
Anthropic / OpenAI / Gemini / DeepSeek / KimiANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEY / DEEPSEEK_API_KEY / MOONSHOT_API_KEY
Azure OpenAI / AWS BedrockAZURE_OPENAI_* / AWS_*

Select explicitly with GRASP_LLM_PROVIDER + GRASP_LLM_MODEL, or per-call via the provider/model/api_key tool args. Run grasp_llm_status to see what's available.

Optional parsers (installed on demand, keeping the core install lean): npm i pdf-parse mammoth xlsx tesseract.js youtube-transcript. Audio/video transcription additionally needs ffmpeg on PATH.

Shared team access (MCP over HTTP)
GRASP_HTTP_MCP=1 GRASP_HTTP_API_KEY=… grasp-mcp   # serves Streamable HTTP on :7333/mcp

Point any MCP client at http://host:7333/mcp (send the key as Authorization: Bearer … or x-api-key). /health returns liveness. Grasp's tools are stateless, so one endpoint serves a team's agents.

Where it lives

The multimodal pipeline is MCP-server-side (Node) and does not run in the browser app — see the source layout under mcp/src/:

  • ingest/* — artifact parsers (PDF, Word .docx, Excel .xlsx, HTML, image OCR, audio/video, URL, YouTube; heavy parsers lazy-loaded on demand)
  • llm/provider.ts — pluggable multi-provider LLM layer (local-first Ollama auto-detect → cloud key → deterministic fallback)
  • semantic/* — SQLite knowledge-graph store, hybrid BM25 + vector retrieval, BFS path-tracing, hub/god-node detection
  • tree-sitter/* — deterministic AST parsing across 19 languages

Setup

cd mcp

npm install npm run build

Configure in Claude Code

Add to ~/.claude/claude_mcp_settings.json:

{

"mcpServers": { "grasp": { "command": "node", "args": ["/absolute/path/to/grasp/mcp/dist/index.js"] } } }

Or install globally via npm:

{

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

Tools

Core Analysis
ToolDescription
grasp_analyzeFull analysis — run first, returns session_id
grasp_file_depsOutgoing deps for a file (what it imports)
grasp_dependentsIncoming deps — blast radius if you change this file
grasp_cyclesAll circular dependency chains
grasp_architectureFiles grouped by layer (services/data/utils/test…)
grasp_hotspotsMost coupled + complex files, ranked
grasp_metricsLines, functions, complexity, fan-in/fan-out per file
grasp_find_pathShortest dependency path between two files
grasp_securityHardcoded secrets, SQL injection risks, insecure patterns
grasp_patternsDetected design patterns and anti-patterns
grasp_unusedDead code — functions defined but never called
grasp_sessionsList persisted analysis sessions — survive restarts, expire after 7 days
grasp_config_checkRun grasp.yml architecture rules against a session — returns violations with severity
History & Comparison
ToolDescription
grasp_diffCompare two session snapshots — files added/removed, health delta
grasp_watchRe-analyse a local directory and diff against a prior session
grasp_timelineLast N git commits with per-commit changed files and co-change matrix
grasp_cross_repoCompare two sessions — shared filenames, diverged functions, workspace info
grasp_similarityRanked duplicate clusters, code clones, naming clashes, hottest files
Code Quality
ToolDescription
grasp_suggestRanked refactoring suggestions from hotspot + issue data
grasp_explainPlain-English explanation of any file or function
grasp_rules_checkRun architecture rules and report all violations
grasp_refactorStep-by-step refactor plan with metrics table for a file or session
grasp_coverageTest coverage overlay — files with no test counterpart
grasp_vulnerabilitiesOSV.dev SCA scanner — known CVEs in declared dependencies (npm/PyPI/Go/Cargo/Maven). Severity-classified (CVSS), fix-version suggestions, severity filter (all/critical/high/medium/low). Pairs with grasp vulns CLI (exit 1 on critical/high) — *new in v3.17.0*
Ecosystem Integration
ToolDescription
grasp_issuesMap GitHub Issues to the files they mention
grasp_contributorsPer-file ownership, bus-factor score, top contributors
grasp_bundleBundle size treemap — files ranked by size with category breakdown
grasp_dep_impactImpact of upgrading a dependency — which files import it
grasp_pr_commentGenerate a PR health comment with blast radius for changed files
grasp_embedGenerate iframe, README badge, and React snippet for sharing
grasp_dead_packagesnpm deps declared in package.json but never imported by any source file
grasp_sarifExport analysis as SARIF 2.1.0 for GitHub Code Scanning upload
Runtime & Infrastructure Intelligence
ToolDescription
grasp_runtime_callsMerge a GraspTracer JSON trace with static edges — shows actual call paths and hot files

| grasp_db_coupling | ORM/SQL-to-table coupling map — god tables, hig

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く