MCP.so
Sign In

GitHub Knowledge Graph MCP Server

@ItamarZand88

About GitHub Knowledge Graph MCP Server

MCP server for GitHub Knowledge Graph exploration and analysis

Basic information

Category

Memory & Knowledge

Runtime

node

Transports

stdio

Publisher

ItamarZand88

Config

Add this server to your MCP-compatible client using the configuration below.

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

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

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.

Comments

More Memory & Knowledge MCP servers