MCP.so
登录

GitHub Knowledge Graph MCP Server

@ItamarZand88

关于 GitHub Knowledge Graph MCP Server

MCP server for GitHub Knowledge Graph exploration and analysis

基本信息

分类

记忆与知识

运行时

node

传输方式

stdio

发布者

ItamarZand88

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "github-knowledge-graph-mcp": {
      "command": "npx",
      "args": [
        "github-knowledge-graph-mcp"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is GitHub Knowledge Graph MCP Server?

The GitHub Knowledge Graph MCP Server generates and interacts with knowledge graphs of GitHub repositories using the Model Context Protocol (MCP). It enables AI models to analyze and explore code repositories through a structured graph.

How to use GitHub Knowledge Graph MCP Server?

Install globally with npm install -g github-knowledge-graph-mcp, then run github-kg-mcp or npx github-knowledge-graph-mcp. Configure environment variables like MCP_PORT, MCP_HOST, MCP_DATA_DIR, and MCP_LOG_LEVEL. To integrate with Claude Desktop, run npx github-knowledge-graph-mcp install-claude.

Key features of GitHub Knowledge Graph MCP Server

  • Generate knowledge graphs from GitHub repositories
  • Check status and retrieve analysis results
  • Navigate and explore knowledge graphs interactively
  • Search nodes and get detailed node information
  • Analyze dependencies and detect circular dependencies
  • Get overview statistics for a knowledge graph

Use cases of GitHub Knowledge Graph MCP Server

  • AI models exploring code structure and relationships in a repository
  • Detecting circular dependencies in a codebase
  • Analyzing dependencies and dependents of specific code nodes
  • Generating structured knowledge for repository documentation or refactoring

FAQ from GitHub Knowledge Graph MCP Server

What runtime or dependencies are required?

Node.js is required. The server is installed via npm and runs as a command-line tool.

Where are knowledge graphs stored?

By default, data is stored in $HOME/.github-knowledge-graph/data, configurable via MCP_DATA_DIR.

How do I integrate with Claude Desktop?

Run npx github-knowledge-graph-mcp install-claude to automatically add the server configuration to Claude Desktop.

What transport does the server use?

The server uses the Model Context Protocol (MCP) over HTTP, with configurable host and port via MCP_PORT and MCP_HOST.

Is authentication required?

The README does not mention any authentication mechanism. The server binds to localhost by default.

评论

记忆与知识 分类下的更多 MCP 服务器