GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
作者による説明(英語の原文)
Codebase analysis: dependency graphs, security scanning, and refactor plans for GitHub and GitLab.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
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/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"grasp": {
"command": "npx",
"args": [
"-y",
"grasp-mcp-server"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"grasp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"grasp-mcp-server"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント ashfordeOU で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック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
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
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.*
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)*:
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).grasp_diff_symbols, grasp_exec_flow, grasp_skillmd, grasp_hooks, grasp_mro, grasp_communities, grasp_contracts); confidence scoring; wiki generator; registry tools.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/).
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.
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.
| Backend | Env |
|---|---|
| Ollama (local, default) | runs at localhost:11434 — nothing else needed |
| Anthropic / OpenAI / Gemini / DeepSeek / Kimi | ANTHROPIC_API_KEY / OPENAI_API_KEY / GEMINI_API_KEY / DEEPSEEK_API_KEY / MOONSHOT_API_KEY |
| Azure OpenAI / AWS Bedrock | AZURE_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.
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.
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 detectiontree-sitter/* — deterministic AST parsing across 19 languagescd mcp
npm install npm run build
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"] } } }
| Tool | Description |
|---|---|
grasp_analyze | Full analysis — run first, returns session_id |
grasp_file_deps | Outgoing deps for a file (what it imports) |
grasp_dependents | Incoming deps — blast radius if you change this file |
grasp_cycles | All circular dependency chains |
grasp_architecture | Files grouped by layer (services/data/utils/test…) |
grasp_hotspots | Most coupled + complex files, ranked |
grasp_metrics | Lines, functions, complexity, fan-in/fan-out per file |
grasp_find_path | Shortest dependency path between two files |
grasp_security | Hardcoded secrets, SQL injection risks, insecure patterns |
grasp_patterns | Detected design patterns and anti-patterns |
grasp_unused | Dead code — functions defined but never called |
grasp_sessions | List persisted analysis sessions — survive restarts, expire after 7 days |
grasp_config_check | Run grasp.yml architecture rules against a session — returns violations with severity |
| Tool | Description |
|---|---|
grasp_diff | Compare two session snapshots — files added/removed, health delta |
grasp_watch | Re-analyse a local directory and diff against a prior session |
grasp_timeline | Last N git commits with per-commit changed files and co-change matrix |
grasp_cross_repo | Compare two sessions — shared filenames, diverged functions, workspace info |
grasp_similarity | Ranked duplicate clusters, code clones, naming clashes, hottest files |
| Tool | Description |
|---|---|
grasp_suggest | Ranked refactoring suggestions from hotspot + issue data |
grasp_explain | Plain-English explanation of any file or function |
grasp_rules_check | Run architecture rules and report all violations |
grasp_refactor | Step-by-step refactor plan with metrics table for a file or session |
grasp_coverage | Test coverage overlay — files with no test counterpart |
grasp_vulnerabilities | OSV.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* |
| Tool | Description |
|---|---|
grasp_issues | Map GitHub Issues to the files they mention |
grasp_contributors | Per-file ownership, bus-factor score, top contributors |
grasp_bundle | Bundle size treemap — files ranked by size with category breakdown |
grasp_dep_impact | Impact of upgrading a dependency — which files import it |
grasp_pr_comment | Generate a PR health comment with blast radius for changed files |
grasp_embed | Generate iframe, README badge, and React snippet for sharing |
grasp_dead_packages | npm deps declared in package.json but never imported by any source file |
grasp_sarif | Export analysis as SARIF 2.1.0 for GitHub Code Scanning upload |
| Tool | Description |
|---|---|
grasp_runtime_calls | Merge 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
冒頭だけを表示しています。続きはリポジトリで読めます